Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • issues with gas-preprocessor and ffmpeg4iphone

    4 janvier 2012, par Shoeb Amin

    I want to install gas pre-processor on my mac from gas pre-processor

    it is told that i have to install in usr/local/bin, But I didnt find my local folder in usr thats why I created a local/bin under usr then tried to install it from terminal...

    but It didnt work.. it says that "Unrecognized input filetype at gas-preprocessor.pl line 33."

    BTW my ultimate goal is to build ffmpeg4iphone in my xcode 4.2 and iOS5 sdk from ffmpeg4iphone

  • How to play audio file from URI using ffmpeg files in android

    3 janvier 2012, par Praveenb

    HI all,

    I am working on playing audio from URI using ffmpeg shared library in android.

    I configured android-ndk and added ffmpeg shared library to project and able to compile the project using cygwin.

    In ffmpeg library i see ffmpeg.c file, i donot know how i can use this file to implement audio player in my activity.

    Please help me on this issue.

    Thank you in advance

  • Multi-birate encoding with ffmpeg

    3 janvier 2012, par Nikolay

    How to generate multiple versions of the same video file at different bitrates that are properly key-frame aligned? Is it posible with ffmpeg?

    Here is an article with example http://www.wowza.com/forums/content.php?192-Encoding-Suggestions-for-Video-on-Demand

    The article says that "Multi-birate encoding has not worked using ffmpeg" is it right?

  • How many key frames have been encoded in my video ? ffmpeg was the encoder used

    3 janvier 2012, par user1127753

    I am attempting to add a keyframe every second using "-g 25" as an option with ffmpeg.

    I need a way however, to query the output video, and other videos on my server to see how many keyframes have been encoded.

    Is there an ffmpeg command line attribute which will tell me this information? Or any other tool? Please help!

  • Django Celery FFMPEG : convert video files

    3 janvier 2012, par sultan

    I'm trying to convert video files using FFMPEG via Celery tasks. The generated command to be executed looks like

    ffmpeg -i /path/to/flv -ar 22050 -ab 96k -r 24 -b 600k -f flv path/to/flv/transcoded/flv_movie.flv
    

    and when I call the task TranscodeVideoTask.delay(src=filepath, dst=destination_path) I get flv_movie.flv file but its size is only about 200Kb and debug output

    Press [q] to stop, [?] for help
    [h264 @ 0x10205a200] Reference 3 >= 3
    [h264 @ 0x10205a200] error while decoding MB 7 5, bytestream (690)
    [h264 @ 0x10205a200] concealing 762 DC, 762 AC, 762 MV errors
    frame=   40 fps=  0 q=2.0 Lsize=     136kB time=00:00:01.66 bitrate= 668.2kbits/s dup=0 drop=9    
    video:114kB audio:20kB global headers:0kB muxing overhead 1.814991%
    

    TranscodeVideoTask source

    @task(name="transcode.media")
    def TranscodeVideoTask(src, dst):
        command = commands.get("flv") % {"src": src, "dst": dst}
        os.system(src, dst)
        filename = os.path.join(dst, "flv_movie.flv")
        YamdiInjector.yamdi(filename, dst)
    

    When the same command executed manually in the console it works just fine.

    UPDATE So far I've composed the following ffmpeg instructions in my bash file and it converts almost every avi file I tested already

    #!/bin/sh
    INPUT=$1
    OUTPUT=$2/flv_movie.flv
    
    echo "Input file: ${INPUT}"
    echo "Output file: ${OUTPUT}"
    echo `ffmpeg -y -i $INPUT -ar 44100 -ab 128k -ac 2 -sameq -f flv $OUTPUT`
    

    What may cause this strange problem?

    Sultan