Recherche avancée

Médias (91)

Autres articles (99)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (8561)

  • libavcodec/sanm : clear codec47 diff buffers with specific color

    8 novembre 2024, par Manuel Lauss
    libavcodec/sanm : clear codec47 diff buffers with specific color
    

    The codec47 header provides colors to use to clear the
    2 difference buffers. This fixes artifacts (black hair, faces) in
    Curse of Monkey Island "CURSERNG.SAN" video.

    Signed-off-by : Manuel Lauss <manuel.lauss@gmail.com>
    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavcodec/sanm.c
  • Need help accessing the key when trying to decrypt .ts files via ffmpeg

    4 juillet 2024, par Diz

    I have downloaded all the individual .ts files and the corresponding m3u8 file from a VOD and I now want to merge them together into a single watchable file.&#xA;The problem is, that the .ts files are encrypted and don't understand how to access the key.

    &#xA;

    Here's the beginning of the m3u8 file :

    &#xA;

    #EXTM3U&#xA;#EXT-X-VERSION:3&#xA;#EXT-X-TARGETDURATION:4&#xA;#EXT-X-PLAYLIST-TYPE:EVENT&#xA;#EXT-X-MEDIA-SEQUENCE:6484&#xA;#EXT-X-KEY:METHOD=AES-128,URI="irvine://aes",KEYFORMATVERSIONS="1",IV=0x1E9ABA2B3C916D47D592D9B1E7674F4B&#xA;#EXT-X-PROGRAM-DATE-TIME:2024-05-25T07:24:59.682Z&#xA;#EXTINF:4.004,&#xA;index_1_6484.ts&#xA;#EXT-X-PROGRAM-DATE-TIME:2024-05-25T07:25:03.686Z&#xA;#EXTINF:4.004,&#xA;index_1_6485.ts&#xA;#EXT-X-PROGRAM-DATE-TIME:2024-05-25T07:25:07.690Z&#xA;#EXTINF:4.004,&#xA;index_1_6486.ts&#xA;#EXT-X-PROGRAM-DATE-TIME:2024-05-25T07:25:11.694Z&#xA;#EXTINF:4.004,&#xA;index_1_6487.ts&#xA;...&#xA;&#xA;

    &#xA;

    As far as I understood I only have the initialization vector and I need to access the URI to get the actual key.

    &#xA;

    I have tried to decrypt the playlist with the following command :

    &#xA;

    ffmpeg -i index_1.m3u8 -c copy output.ts&#xA;

    &#xA;

    But I would always get the following errors :

    &#xA;

    Unable to open key file irvine://aes&#xA;Error when loading first segment &#x27;index_1_6484.ts&#x27;&#xA;Error opening input: Invalid data found when processing input&#xA;Error opening input file index_1.m3u8.&#xA;Error opening input files: Invalid data found when processing input&#xA;

    &#xA;

    I have also tried just decrypting a single .ts file to start with, with similar results.

    &#xA;

    ffmpeg -decryption_key 1E9ABA2B3C916D47D592D9B1E7674F4B -i index_1_6484.ts -codec copy index_1_6484_out.ts&#xA;

    &#xA;

  • Muxing together a .ts file and a sub file causes playback issues in video and audio [closed]

    3 mai 2024, par Meta83

    So I have a .ts file and a converted .dvb sub file (.SRT TO .DVB) that I want to mux togheter using FFMPEG. The mux is a success and the file plays fine in VLC or other modern divce.However I have an older divce (around 10 yeras old) where playback has issues, whenever a line of subs is displayd the picture and and audio gets corrupted and frezzes up and as sson there are no lins everything looks good again and so on. Note that subs are displayd correctly and they are not affected by the issue, only picture and audio is.

    &#xA;

    I have tried using diffrent command without any luck but here is the most basic command that should work :

    &#xA;

    ffmpeg -i <video file="file"> -i <dvb file="file"> -f mpegts -c:v copy -c:a copy -c:s copy -copyts <output file="file">&#xA;</output></dvb></video>

    &#xA;

    Here is the output I get frome FFMPEG :

    &#xA;

    ffmpeg version 7.0-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      59.  8.100 / 59.  8.100&#xA;  libavcodec     61.  3.100 / 61.  3.100&#xA;  libavformat    61.  1.100 / 61.  1.100&#xA;  libavdevice    61.  1.100 / 61.  1.100&#xA;  libavfilter    10.  1.100 / 10.  1.100&#xA;  libswscale      8.  1.100 /  8.  1.100&#xA;  libswresample   5.  1.100 /  5.  1.100&#xA;  libpostproc    58.  1.100 / 58.  1.100&#xA;[mpegts @ 0000029209341000] stream 0 : no PTS found at end of file, duration not set&#xA;Input #0, mpegts, from &#x27;\Tests\video.ts&#x27;:&#xA;  Duration: 00:28:52.06, start: 0.980000, bitrate: 4992 kb/s&#xA;  Program 1&#xA;  Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn&#xA;  Stream #0:1[0x1e2](swe): Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s&#xA;Input #1, mpegts, from &#x27;ENG.dvb&#x27;:&#xA;  Duration: 00:28:09.88, start: 0.160000, bitrate: 8 kb/s&#xA;  Program 1&#xA;    Metadata:&#xA;      service_name    : Service01&#xA;      service_provider: FFmpeg&#xA;  Stream #1:0[0x100](eng): Subtitle: dvb_subtitle (dvbsub) ([6][0][0][0] / 0x0006)&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (copy)&#xA;  Stream #1:0 -> #0:2 (copy)&#xA;Output #0, mpegts, to &#x27;\Tests\20735799_muxed.ts&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf61.1.100&#xA;  Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn&#xA;  Stream #0:1(swe): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s&#xA;  Stream #0:2(swe): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)&#xA;Press [q] to stop, [?] for help&#xA;[out#0/mpegts @ 000002920a155380] video:951379KiB audio:40595KiB subtitle:1389KiB other streams:0KiB global headers:0KiB muxing overhead: 3.385295%&#xA;size= 1026992KiB time=00:27:25.74 bitrate=5112.1kbits/s speed=75.3x&#xA;

    &#xA;

    Can anyone help me out ? I'm I missing something that is needed for older divaces (divece in question is a Samsung SMT-S5140 STB).

    &#xA;