Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • How to combine all flv files and images into a single video file using ffmpeg and PHP ?

    22 octobre 2012, par Kannan

    How to combine all flv files and images into a single video file using ffmpeg and PHP,

    Details: I have a list of images and videos. I already created video from images amoung list of files using the following command, but don't know how to combine other video files resides in the same directory together with this created video

    $command = "ffmpeg -r 0.3 -qscale 2 -i ".$imagesFolder.$vFolder."%d.jpg ".$imagesFolder.$vFolder."raw.flv";
    passthru($command. ' 2>&1');
    

    Note : my directory contains 01.jpg,02.jpg,03.jpg,04.flv,05.jpg,06.flv etc., I had created the video file from images, but dnt know how to combine other video files with this one.

    Update : I created the video file from images, am stuck on mixing other video files(flvs) with the generated one,and there are many video files,cannt say two or three, so i'm asking here that is any technique there for combining video files as well like images.

  • Install FFmpeg on OS X 10.8 [closed]

    22 octobre 2012, par Shuyinsama

    Is there a good place or bash script I can use (or at least a version I can build myself) for FFmpeg on OS X Mountain Lion (10.8)?

    I have Xcode installed as well as the CLI for Xcode (gcc etc).

    I have a version of FFmpeg currently installed, but somehow I get a segmentation error on libx264 as well as the libvpx (I can't convert to MP4 and WebM).

    All I want to do is batch convert video files to HTML5 compatible videos. All my source videos consist of .mov .mp4 and .wmv files. .ogv works fine by the way.

    So the real question:

    1. How to uninstall everything of FFmpeg on my Mac now
    2. Reinstall a FFmpeg version that can convert to .mp4, .webm, and .ogv

    I also tried the precompiled version of Miro video converter but somehow that doesn't work either.

  • How to write incoming frames to file without touching in ffmpeg ?

    22 octobre 2012, par frankish

    I am able to read frames from av_open_input_file and decode and reencode it with another codec and save to file.

    Now, I want the same thing, except i don't want to decode or reencode. I want to do av_interleaved_write_frame on the just read frame to file. To do this, i need to set AVOutputFormat

    AVOutputFormat *fmt; fmt = av_guess_format(NULL, filename, NULL);

    However, i can not supply a filename, because it is a remote stream. So, is there any way to generate AVOutputFormat from the current AVFormatContext which already reads input frames? So i can write the same frame to the output file from any part of it (not necessarily from the beginning) in the correct way.

    To summarize: I need to write the just read frame to the file without decoding and reencoding. (I will open that file another time to be able to play that file)

    Any ideas?

  • java.io.ioexception.Runtime.getRuntime().exec(). environment and working directory null error in android

    22 octobre 2012, par rams
    File dir = new File("/mnt/sdcard");
    Process process = Runtime.getRuntime().exec("ffmpeg -f image2 -i img%4d.png video.mp4", null, dir);
    

    when i try this line in android,i get environment and working directory null error in android. But when i try that line in java,it worked perfectly.but in android,it has some problem.

  • x264 [error] : main profile doesn't support 4:4:4 [closed]

    22 octobre 2012, par Haja Mohaideen

    Possible Duplicate:
    Playing videos using HTML5 Tag

    I have an open question here, Playing videos using HTML5 Tag.

    I am getting the above mentioned error when I try the following:

    ffmpeg -y -i file.mov -s 320x240 -c:v libx264 -profile:v baseline -preset slow -acodec aac -strict experimental -ac 2 -r 15 -ab 44100 -aspect 16:9 OUTPUT_VIDEO.mp4
    

    Hope someone can help me. I am trying to output for android and iOS.