Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Generate a movie with ffmpeg from a changing still image url ?

    24 septembre 2012, par Wim Deblauwe

    I need to create a movie/stream with ffmpeg from a HTTP url that points to an image. This image gets updated 1 time per second.

    I already know how to convert from MPEG-4 to flv for example using the ffmpeg command line, but now I need to start from this still image that gets updated. I would like ffmpeg to 'GET' the url 1 time per second for example.

    regards,

    Wim

  • Converting .mp4 to .webm with FFMPEG

    24 septembre 2012, par DAVYM

    Any chance someone can help me make this a 2 or 3 pass command:

    Using "FFmpeg Win64 Static build by Kyle Schwarz, compiled on: Sep 19 2012 16:31:43" in the Command Prompt of Windows7(x64). I am a newbie to FFMPEG and trying to convert videos for my website from .mp4 to .webm (videos edited and mixed in AdobePremiereProCS6 where then encoded into .mp4 from .mts Canon HXG10 recordings). Original video file is 1080p quality.

    c:\ff/ffmpeg -i c:\ff/xxx.mp4 -codec:v libvpx -quality good -cpu-used 0 -b:v 7000k -qmin 10 -qmax 42 -maxrate 500k -bufsize 1500k -threads 8 -vf scale=-1:1080 -codec:a libvorbis -b:a 192k -f webm c:\ff/xxx.webm

  • Convert swf file to mp4 file using FFMPEG [migrated]

    24 septembre 2012, par user1624004

    I now want to show an html5 video on a html page.

    Now I have an sample.swf file, I want to convert it to .mp4 or .ogg or .webm file.

    I have tried: ffmpeg -i sample.swf sample.mp4

    But I got this error:

    [swf @ 0000000001feef40] Could not find codec parameters for stream 0 (Audio: pcm_s16le, 5512 Hz, 1 channels, 88 kb/s): unspecified sample format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    [swf @ 0000000001feef40] Estimating duration from bitrate, this may be inaccurate
    Guessed Channel Layout for  Input Stream #0.0 : mono
    Input #0, swf, from 'sample.swf':
      Duration: N/A, bitrate: N/A
        Stream #0:0: Audio: pcm_s16le, 5512 Hz, mono, 88 kb/s
        Stream #0:1: Video: mjpeg, yuvj444p, 1024x768 [SAR 100:100 DAR 4:3], 16 fps, 16 tbr, 16 tbn
    File 'sample.mp4' already exists. Overwrite ? [y/N] y
    Invalid sample format '(null)'
    Error opening filters!
    
  • "invalid, non monotonically increasing dts" error while writing streams to file with ffmpeg

    24 septembre 2012, par NoviceAndNovice

    I was finally able to write video stream packets to a file using the function

    av_interleaved_write_frame(outputContext, &packet);
    

    But after a short period of time I got this error:

    Application provided invalid, non monotonically increasing dts to muxer 
    in stream 0: *numberX* >= *numberY*
    

    Does anybody have any idea, what's causing this and how to fix it?

  • capturing video/audio on windows

    24 septembre 2012, par nasiajai

    I would like to capture video/audio on Windows.

    Someone says it's not supported to capture audio on Windows using FFmpeg.

    Please, give me some SDK options to capture video/audio on windows.

    If possible, It will be very appreciated if you would point me some of tutorials.

    Thank you.