Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Encoding to EAC3+H.264 inside mp4 container

    23 octobre 2013, par Tarun

    Turns out that ffmpeg 2.0 also doesnt supports muxing of eac3 & h.264 inside mp4 container. I have come to know from ffmpeg forums that -

    "FFmpeg's mov/isom muxer does not contain a function mov_write_eac3_tag() which is necessary to write compliant files."

    So, how do we do it? Is there any way single-step/multi-step process by which I can get mp4 file with EAC3 + h.264

    Note: Now I know we can get mkv mpg mov, conatiners with EAC3 using ffmpeg

    In case you wonder why I want so- 1) My target is to get Smooth Stream file, with h.264 + eac3(DD+) codec. 2) I am using MP4tosmooth DLL from Msft to convert mp4 file to smooth format.

    So in case there is a way to convert mov/mpg/mkv to smooth directly then that will also work for me.

  • Using ffmpeg to decode the video stream read from live555

    23 octobre 2013, par Bolton

    I am trying to use live555 + ffmpeg + GLES to implement my own RTSP client on Android, now I've got live555 compiled and can read RTSP via TCP, which I can see from the capture file from Wireshark. I've ever used ffmpeg to read and decode mms audio stream and know some ffmpeg development.

    My problem is how to use ffmpeg to read the stream got from live555. I am not familiar with live555.

    Any advices? Thanks in advance.

    Bolton

  • I've download ffmpeg source code,but I don't know how to use it on anroid

    23 octobre 2013, par Sravanthi Pasaragonda

    I've download ffmpeg source code,but I don't know how to use it on anroid.I need to remove audio from vedio file and i need to add other audio to vedio.This is my Task .I am using ubutu 10.04 ,And i have installed NDK-r9,ffmpeg and yasm 1-2.0 in my system. please any sample process to how to start ffmpeg example,i have downloaded lot of example from GITHUB Like

        https://github.com/appunite/AndroidFFmpeg
        http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
        https://github.com/mconf/android-ffmpeg
    
    
    
    But i dont no how to complie all projects using ffmpeg.
    

    Please give me step by step process for any ffmpeg example in ubutu.

    Thanks

  • Using only ffmpeg, is it possible to consume a source GIF image and output a video that is a set length > one loop through the input GIF ?

    23 octobre 2013, par Thomas Graft

    Let's say I have an 8 frame animated GIF that is 2 seconds long. I would like to build a video file (codec not important at this point) that is 30 seconds long that consists of the source GIF repeating over and over.

    Is it possible to do this using only ffmpeg? Answers that use convert or some other pre-processing utility do not count [The reason being that I would like to use this on PandaStream, which does not have that utility]. Let's also assume that shell scripts are out of the question as well, though it can be multiple ffmpeg commands.


    Things I have tried that did not work (though maybe I did them wrong, I'm not terribly familiar with ffmpeg):

    1. Using the -loop_input, -loop_output options present in the ffmpeg docs. Using both ffmpeg 1.2 and 2.0, I get a Unrecognized option 'loop_[input|output]' error message. I might be using this wrong though since the error is about not recognizing the option, though the docs say it is deprecated.

    2. -loop option. Does not seem to do anything with GIF -> Video. I think this flag and the above flag are related to generating animated GIFs as the output.

    3. Concat. Doing something like:

      ffmpeg -i "concat:image.gif|image.gif|image1.gif|image2.gif|image3.gif|image4.gif" image-long.gif

      Results in a 16 frame gif (so two gifs are concatenated) which is progress, though the output gif is of much lower quality.


    I'm a bit at my wits end here (I have tried many other permutations of the above concepts), I'm at the point now of 'poking it with a stick', hopefully someone out there has done this!

  • Finding audio peaks in video files

    23 octobre 2013, par Adam Langsner

    I have a bunch of video files that I want to process. I want to write a program that can find the audio peaks in each file and return the times where those peaks occurred.

    I've looked for a lot of different APIs in different languages but couldn't get any of them to work. I am partial to php and java, so if anyone knows any good audio processing libraries in those languages that would be great! But really I don't care too much about the language. I will need to run this program on a cron.

    Also, is it possible to use system calls to ffmpeg from within a script to accomplish this? Thanks in advance.