Recherche avancée

Médias (1)

Mot : - Tags -/blender

Autres articles (91)

Sur d’autres sites (16689)

  • ffmpeg itsoffset doesn't work with pcm audio and raw 264 video

    28 janvier 2019, par Danny

    I need to create an MP4 container with data from a hardware encoder. The encoder outputs PCM 16-bit signed audio and raw H.264 ES video frames.

    This ffmpeg command line I’ve got works but the audio and video are not sync’d.

    From other posts I know that itsoffset only works with video and probably doesn’t work with -v copy

    I’ve confirmed that applying an itsoffset has no effect.

    Here’s the command line. Any suggestions ?

    One post suggested itsoffset works if you re-encode the video. But doing that needs CPU power and adds latency. (And what’s the point of a hardware encoder then ?)

    ffmpeg -f s16le -ar 44.1k -ac 2      -i Audio_20190110-165736.pcm
          -fflags +genpts -itsoffset -5 -i Video_20190110-165736.264
          -c:v copy -c:a aac -b:a 128k
          -f mp4 -movflags +faststart  output.mp4

    EDIT I

    Here is a link to the audio/video input files referenced in the above command.

  • Why menconder fps rate does not work ?

    2 mars 2016, par ACR

    I’m using mencoder to create a video out of some .png files. The problem is that the frame rate doesn’t change, regardless of the -fps flag. The output video has different time lengths (in their properties), but the video’s size and speed are always the same (regardless of the FPS chosen).

    I just want to create a shorted video by using higher FPS rates. In short, a "time-lapse" of my original set of images. What am I doing wrong with mencoder ? I’m using the following command :

    mencoder mf://./IMG/images*.png -mf w=800:h=600:fps=20:type=png -ovc copy -oac copy -o video.avi
  • Why does menconder fps rate does not work ?

    27 février 2016, par ACR

    I’m using mencoder to create a video out of some .png files. The problem is that the frame rate doesn’t change, regardless of the -fps flag. The output video has different time lengths (in their properties), but the video’s size and speed are always the same (regardless of the FPS chosen).

    I just want to create a shorted video by using higher FPS rates. In short, a "time-lapse" of my original set of images. What am I doing wrong with mencoder ? I’m using the following command :

    mencoder mf://./IMG/images*.png -mf w=800:h=600:fps=20:type=png -ovc copy -oac copy -o video.avi