Newest 'ffmpeg' Questions - Stack Overflow

http://stackoverflow.com/questions/tagged/ffmpeg

Les articles publiés sur le site

  • FFMpeg : Take Certain Amount of Screenshots Between X and X ?

    4 mai 2014, par user1445975

    Is there any way to get ffmpeg to take X number of screenshots between X time and X time? The way I'm doing my command line code now is like this:

    ffmpeg -ss 79 -i 1.avi -r 1/2.15 -f image2 1_%%05d.jpg

    This method only starts taking screenshots starting at 79 seconds, but I can't figure out a way to set an ending time (before the video ends).

    Also, I will be displaying these video screenshots on a website and want there to be the same amount of screenshots per video file for consistency purposes. Is there a way to set how many screenshots I want from a video? As in, ffmpeg figures out how much time is between the two points I specify, then figures out how often to take a screenshot based on how many I want total from a video?

  • AIR to ffmpeg via argb frames transfer

    4 mai 2014, par mika

    Hey I'm running into a similar problem as: Converting RGB to YUV, + ffmpeg

    From AIR, I figured the encoding was too long to render frames at a reasonable rate - so I exported the argb ByteArray from bitmap.getPixels(rect) directly to a file.

    So for a 30sec flash animation, I'd export let's say 1500 frames to 1500 .argb files.

    This method works great. I was able to render HD video using the ffmpeg cmd:

    ffmpeg -f image2 -pix_fmt argb -vcodec rawvideo -s 640x380 -i frame_%d.argb -r 24 -qscale 1.1 -s 640x380 -i ./music.mp3 -shortest render-high.mpg
    

    So far so good! However, inbetween the two processes we need to store those ~3gb of data.

    I then tried to append all the argb to one single file and have ffmpeg consume it, but didn't get anything good out of it... Also tried messing tcp/udp but getting stuck...

    Does anyone know of a way to streamline that process and hopefully pipe both Air and ffmpeg together?

  • How to merge audio and video files with specific frame rate with ffmpeg ? [on hold]

    3 mai 2014, par Mulagala

    I want to merge to files, video file is 'one.webm',and audio file is 'def.wav'.I have successfully merged these to files to a avi format.But i am getting 1000 frames per second.How to reduce the frame rate.I used this command to merge

    ffmpeg -i def.wav -i abc.webm -acodec copy -vcodec copy output.avi
    

    i am using

    linux fedora19

    Thanks in advance!

  • ffmpeg no keyframes in flv

    3 mai 2014, par Никола Велев

    I use ffmpeg to convert avi to flv, but converted flv has no keyframes and cannot be seek in flash.

    Here is command line I used:

    ffmpeg -i out.avi -i mix.wav -c:v libx264 -c:a aac -strict -2 -g 10 -movflags +faststart -preset:v ultrafast output.flv

    Any ideas how to enable keyframes?

  • avconv beaglebone : loglevel debug and silencedetect doesn work

    3 mai 2014, par user3248865

    I´m using avconv under Linux beaglebone 3.8.13 and I have problem with log levels. Flag -loglevel debug doesn´t work. I also tried to add -debug debug. I also did not find silencedetect filter.

    A have the same issue with ffmpeg under the same OS.

    Are these flags for Linux supported?

    (FFmpeg was downloaded from here.)

    Thank you in advance