Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (55)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • 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 (...)

Sur d’autres sites (10272)

  • FFMpeg generating screenshots drop frames

    6 octobre 2011, par Morgan

    I'm using FFMpeg to extract frames from a video file, and for most videos it works flawlessly. But certain videos it seems to have to seek to the position that I want to take the screenshot from, and drops all the frames on the way there taking quite a while if the position i'm generating a screenshot from is near the end of the video. Here is the command I'm using to extract my screenshot.

    ffmpeg -ss 60 -i input.mkv -vframes 1 -f image2 -an -r 1/5 output.jpg

    and the output I receive

    ffmpeg version 0.8.3, Copyright (c) 2000-2011 the FFmpeg developers
     built on Sep 20 2011 00:46:47 with clang 2.1 (tags/Apple/clang-163.7.1)
     configuration: --prefix=/Users/Morgan/Downloads/installed/ffmpeg --extra-libs=/Users/Morgan/Downloads/installed/lib/libfaac.a --enable-gpl --extra-cflags=-I/Users/Morgan/Downloads/installed/include --disable-ffplay --disable-ffserver --disable-shared --disable-debug --extra-ldflags=-L/Users/Morgan/Downloads/installed/lib --enable-libmp3lame --enable-libfaac --enable-libx264 --enable-nonfree --cc=clang
     libavutil    51.  9. 1 / 51.  9. 1
     libavcodec   53.  7. 0 / 53.  7. 0
     libavformat  53.  4. 0 / 53.  4. 0
     libavdevice  53.  1. 1 / 53.  1. 1
     libavfilter   2. 23. 0 /  2. 23. 0
     libswscale    2.  0. 0 /  2.  0. 0
     libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 0x7f9dd3007c00] Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 47.95 (500000/10427) -> 23.98 (24000/1001)
    Input #0, matroska,webm, from 'input.mkv':
     Duration: 01:01:36.16, start: 0.000000, bitrate: 576 kb/s
       Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
       Metadata:
         title           : Input Video
       Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s (default)
       Metadata:
         title           : English Dolby Digital 5.1 AC3
       Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
       Metadata:
         title           : Commentary
       Stream #0.3(eng): Subtitle: [0][0][0][0] / 0x0000 (default)
       Metadata:
         title           : English
    Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
    [buffer @ 0x106c10c00] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
    [buffersink @ 0x106c10e40] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
    [scale @ 0x106c11140] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:yuvj420p flags:0x4
    Output #0, image2, to 'output.jpg':
     Metadata:
       encoder         : Lavf53.4.0
       Stream #0.0(eng): Video: mjpeg, yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 0.20 tbc (default)
       Metadata:
         title           : Input Video
    Stream mapping:
     Stream #0.0 -> #0.0
    Press [q] to stop, [?] for help
    frame=    0 fps=  0 q=0.0 Lsize=      -0kB time=00:00:00.00 bitrate=   0.0kbits/s dup=0 drop=275    
    video:0kB audio:0kB global headers:0kB muxing overhead -inf%
  • split mp4-videos with ffmpeg as acurate as possible

    31 mai 2018, par atticus

    I’m trying to split a mp4-Video (Video-codec : h264 Audio-codec : mp3) with ffmpeg.
    I know there are many other Threads here with similar issues but in my case I’m trying to be as accurate as possible. My first command was ffmpeg -ss <starttime> -i  -to <duration> -c copy </duration></starttime>
    As I lernt about the issue with the Keyframes I created a command like this ffmpeg -ss <starttime> -i  -to <duration> -acodec copy -vcodec h264 </duration></starttime>
    As I’ve seen in some Forums it is possible to handle the keyframe-issue by inserting manually Keyframes but I’ve found nothing about how exactly this could be done and weather it really helps.?
    And how exact could it become if I re-encode the whole thing like in my second command and do I need to re-encode the audio Stream too ?

    EDIT : Or is it better to use the trim filter ?

    PS.:As I’m new to this network I hope not to have created a duplicate and to have it sorted into the right section. (And apologize my English skills)

  • FFmpeg concat creating corrupted video part (Media Info provided)

    6 mai 2022, par krv

    I am using concat to join a list of video files with the following command

    &#xA;

    ffmpeg -f concat -safe 0 -i filesList.txt -c copy output.mp4 &#xA;

    &#xA;

    The issue here is that there are a few files that were recorded in slow motion on my phone. The slow-motion files have the same frame rate as the other files.

    &#xA;

    But when concatenated the part where the slow-motion files are concatenated appears to be frozen / glitch (it does not play a single frame).

    &#xA;

    I am able to seek forward and backward the part that does not play. So the portion of the video that contained normal files plays and as soon as the slow-motion video comes, nothing plays, and when a normal file comes it starts playing again.

    &#xA;

    I am attaching the media Info of both files

    &#xA;

    Info of the slow motion file :

    &#xA;

    General&#xA;Complete name :     I:\concate Test\VID20210727114100.mp4&#xA;Format :    MPEG-4&#xA;Format profile :    Base Media / Version 2&#xA;Codec ID :  mp42 (isom/mp42)&#xA;File size :     27.6 MiB&#xA;Duration :  1 min 0 s&#xA;Overall bit rate :  3 825 kb/s&#xA;Encoded date :  UTC 2021-07-27 06:11:08&#xA;Tagged date :   UTC 2021-07-27 06:11:08&#xA;xyz :   &#x2B;21.6146&#x2B;071.2342/&#xA;com.android.version :   11&#xA;&#xA;Video&#xA;ID :    1&#xA;Format :    HEVC&#xA;Format/Info :   High Efficiency Video Coding&#xA;Format profile :    Main@L3.1@Main&#xA;Codec ID :  hvc1&#xA;Codec ID/Info :     High Efficiency Video Coding&#xA;Duration :  1 min 0 s&#xA;Source duration :   1 min 0 s&#xA;Bit rate :  3 771 kb/s&#xA;Width :     1 280 pixels&#xA;Height :    720 pixels&#xA;Display aspect ratio :  16:9&#xA;Frame rate mode :   Variable&#xA;Frame rate :    30.000 FPS&#xA;Minimum frame rate :    29.910 FPS&#xA;Maximum frame rate :    30.090 FPS&#xA;Real frame rate :   240.000 FPS&#xA;Color space :   YUV&#xA;Chroma subsampling :    4:2:0&#xA;Bit depth :     8 bits&#xA;Bits/(Pixel*Frame) :    0.136&#xA;Stream size :   27.2 MiB (99%)&#xA;Source stream size :    27.2 MiB (99%)&#xA;Title :     VideoHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:11:08&#xA;Tagged date :   UTC 2021-07-27 06:11:08&#xA;Color range :   Limited&#xA;Color primaries :   BT.709&#xA;Transfer characteristics :  BT.709&#xA;Matrix coefficients :   BT.709&#xA;mdhd_Duration :     60524&#xA;Codec configuration box :   hvcC&#xA;

    &#xA;

    Info of the regular video file

    &#xA;

    &#xA;General&#xA;Complete name :     I:\concate Test\VID20210727113901.mp4&#xA;Format :    MPEG-4&#xA;Format profile :    Base Media / Version 2&#xA;Codec ID :  mp42 (isom/mp42)&#xA;File size :     39.0 MiB&#xA;Duration :  37 s 930 ms&#xA;Overall bit rate :  8 615 kb/s&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;xyz :   &#x2B;21.6146&#x2B;071.2342/&#xA;com.android.version :   11&#xA;&#xA;Video&#xA;ID :    1&#xA;Format :    HEVC&#xA;Format/Info :   High Efficiency Video Coding&#xA;Format profile :    Main@L4@Main&#xA;Codec ID :  hvc1&#xA;Codec ID/Info :     High Efficiency Video Coding&#xA;Duration :  37 s 930 ms&#xA;Source duration :   37 s 900 ms&#xA;Bit rate :  8 408 kb/s&#xA;Width :     1 920 pixels&#xA;Height :    1 080 pixels&#xA;Display aspect ratio :  16:9&#xA;Frame rate mode :   Variable&#xA;Frame rate :    29.604 FPS&#xA;Minimum frame rate :    29.508 FPS&#xA;Maximum frame rate :    29.605 FPS&#xA;Real frame rate :   30.000 FPS&#xA;Color space :   YUV&#xA;Chroma subsampling :    4:2:0&#xA;Bit depth :     8 bits&#xA;Bits/(Pixel*Frame) :    0.137&#xA;Stream size :   38.0 MiB (98%)&#xA;Source stream size :    38.0 MiB (98%)&#xA;Title :     VideoHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;Color range :   Limited&#xA;Color primaries :   BT.709&#xA;Transfer characteristics :  BT.709&#xA;Matrix coefficients :   BT.709&#xA;mdhd_Duration :     37930&#xA;Codec configuration box :   hvcC&#xA;&#xA;Audio&#xA;ID :    2&#xA;Format :    AAC LC&#xA;Format/Info :   Advanced Audio Codec Low Complexity&#xA;Codec ID :  mp4a-40-2&#xA;Duration :  37 s 909 ms&#xA;Bit rate mode :     Constant&#xA;Bit rate :  128 kb/s&#xA;Channel(s) :    2 channels&#xA;Channel layout :    L R&#xA;Sampling rate :     48.0 kHz&#xA;Frame rate :    46.875 FPS (1024 SPF)&#xA;Compression mode :  Lossy&#xA;Stream size :   592 KiB (1%)&#xA;Title :     SoundHandle&#xA;Language :  English&#xA;Encoded date :  UTC 2021-07-27 06:09:40&#xA;Tagged date :   UTC 2021-07-27 06:09:40&#xA;&#xA;&#xA;

    &#xA;