Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Ffmpeg images to video

    29 septembre 2013, par user1306579

    I merge images with ffmpeg. I use command

    ffmpeg -v -y -r 12.245451/1 -i /tmp/images/img%03d.jpg -i /tmp/sounds/sound.3gp -vcodec mpeg4 out.avi
    

    with -r I want to tell ffmpeg that I want to have 12.245451 images per second. It works only if I call ffmpeg with int values like -r 12/1. How can I tell ffmpeg -r 12.245451?

    The problem is that actual rate is 12.245451 if I pass -r 12/1, sound shifts. How can I deal with it?

  • FFmpeg command-line on Android

    29 septembre 2013, par Gonzalo Solera

    I´m trying to use this ffmpeg command line on Android:

    ffmpeg -i /sdcard/DCIM/video.mp4 -s 480x320 /sdcard/output.mp4
    

    I have the executable file of ffmpeg (on this path: /data/local/tmp/ffmpeg/ with chmod 751), and as I read, I´m trying to invoke it using:

    Runtime.getRuntime().exec("/data/local/tmp/ffmpeg -i /sdcard/DCIM/video.mp4 -s 480x320 /sdcard/output.mp4");
    

    But I´m not getting any result after this calling, so I tried the same command but using the android terminal and I´m sure ffmpeg works because I ´m getting many outputs like video data. But it doesn´t do the action I want, I´m getting this message:

    Unable to find a suitable output format for '/sdcard/output.mp4'
    

    I don´t have any idea about what it can be the issue... Thanks for help!!

  • avformat_open_input returns -2 (Android)

    29 septembre 2013, par Ivelius

    I'm using this FFMPEG port for Android. My Goal is to read RTSP stream eventually.

    I can open a stream from a local file (located at "/storage/emulated/0/bunny.mp4") , using *avformat_open_input* function.

    However when I try to open the same file from remote location like *"http_://192.168.1.183/bunny.mp4*" , it returns error -2 .

    The whole cpp code is here.

    Any ideas ?

  • ffmpeg-how to convert an .MTS file to a vob for dvd burning [on hold]

    29 septembre 2013, par scooter

    how do I convert an .MTS file using ffmpeg into a .vob file?

  • how to set up a streaming media server with the h.264 RTP packets as input-stream

    29 septembre 2013, par chenakira

    As beginning there may be some confusion,however the destination is setting up a RTP stream-sever to transfer the real-time monitoring video to other systems over internet.

    While my input is not a local file or some other URL input streams. My program just gets the RTP h.264 packets,and want to use my setting-up RTP server to transfer this video.

    I've considered about using the ffmpeg+ffserver ,but ffserver.config file need to use the local file to configure the input source. Hope some guys give me some hint or any other resolution to implement my streaming-media server.