Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Installing faad library for ffmpeg through Homebrew on mac OS X Lion

    14 décembre 2011, par alex

    Following up with my previous question, I decided to give Ffmpeg a try and installed it on my Mac with Homebrew.

    I am now trying to follow this tutorial and use the linked script. But can't make/install the script. I first corrected a small bug (replaced CODEC_TYPE_AUDIO, CODEC_TYPE_VIDEO and PKT_FLAG_KEY with AVMEDIA_TYPE_AUDIO, AVMEDIA_TYPE_VIDEO, and AV_PKT_FLAG_KEY respectively in live_segmenter.c). But now, when I run make in the unzipped folder, I get the following warning and error messages:

    gcc -Wall -g live_segmenter.c -o live_segmenter -lavformat -lavcodec -lavutil -lbz2 -lm -lz -lfaac -lmp3lame -lx264 -lfaad -lpthread
    live_segmenter.c: In function ‘main’:
    live_segmenter.c:149: warning: ‘av_open_input_file’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1093)
    live_segmenter.c:165: warning: implicit declaration of function ‘guess_format’
    live_segmenter.c:165: warning: initialization makes pointer from integer without a cast
    live_segmenter.c:208: warning: ‘av_set_parameters’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1407)
    live_segmenter.c:214: warning: ‘dump_format’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1535)
    live_segmenter.c:232: warning: ‘url_fopen’ is deprecated (declared at /usr/local/include/libavformat/avio.h:279)
    live_segmenter.c:238: warning: ‘av_write_header’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1465)
    live_segmenter.c:283: warning: ‘put_flush_packet’ is deprecated (declared at /usr/local/include/libavformat/avio.h:293)
    live_segmenter.c:284: warning: ‘url_fclose’ is deprecated (declared at /usr/local/include/libavformat/avio.h:280)
    live_segmenter.c:289: warning: ‘url_fopen’ is deprecated (declared at /usr/local/include/libavformat/avio.h:279)
    live_segmenter.c:326: warning: ‘url_fclose’ is deprecated (declared at /usr/local/include/libavformat/avio.h:280)
    ld: library not found for -lfaad
    collect2: ld returned 1 exit status
    make: *** [all] Error 1
    

    I also downloaded the faac/faad libraries from here. When I run make in faac, it says I have nothing to install, but I can't find out how to install faad...

    Would love any help you can offer!

  • ffmpeg watermarking error : video pixel format unknown, Parser not found for codec

    13 décembre 2011, par Sunil

    I am trying to watermark my video but I am getting pixel format and codec errors.

    I am using latest version of FFmpeg git-7d531e8 64-bit Static (Latest) (2011-12-12) from link http://ffmpeg.zeranoe.com/builds/

    I am using the below code to add watermark to my video.

    ffmpeg -i inputputfile.avi -target pal-vcd "movie=abc.png [Watermark]; [in][Watermark] overlay=10:10 [out]" outputfile.avi.

    But i am receiving the error of video pixel format unknown and parser not found for codec error.

    Later, I changed by code to add codec and pixel format.

    ffmpeg -i inputputfile.avi -vcodec wmv3 -pxl_fmt yuv420p -target pal-vcd "movie=abc.png [Watermark]; [in][Watermark] overlay=10:10 [out]" outputfile.avi.

    However I am still receiving the same error. Please help.

  • Installing ffmpeg into Python 2.7

    13 décembre 2011, par suffa

    I have been trying to install pyffmpeg in Python 2.7 unsuccessfully. I found a package for Python 2.6, but I can't get it to work. So, I have been mulling around with 2.7. I've seen previous post from others on this site, but they have not helped. Does anyone have experience with this. Ultimately, I want to develop an wxPython app that converts video formats. Thanks

  • wrong ffmpeg version for xuggler

    13 décembre 2011, par kerel

    I am trying to get Xuggle working on Ubuntu. This is however my first time using a Unix system.

    After installing Xuggle and correcting the PATH files I tried some very simple code from tutorials at the xuggle website. But once I attempt to debug my code, it stops and eclipse says

    Suspended (exeption IllegalArgumentException)
    

    and refers to line 488 of MediaReader.readPacket()

    After searching possible explanations I found that my FFMPEG version was not the version Xuggle needs. When I test my FFMPEG version from command line with $ ffmpeg /invalid/file/ it displays --extra-version='4:0.7.2-1ubuntu1' but according to the xuggle site the --extra-version= should include the word "xuggle". Following their installation procedures does not change anything.

    I downloaded the source code from SVN, which includes a ffmpeg folder. I assume this is the ffmpeg version I need. I have no clue however what to do with this folder.

    question is: how do I get my ffmpeg version to the xuggle compatible ffmpeg version?

  • Streaming audio with FFMPEG and NDK [closed]

    12 décembre 2011, par enfix

    I need to do a streaming audio by MMS protocol.
    I think FFMPEG is the only way.
    Any1 can help me how can i do this ?
    Any tutorial or other to use FFMPEG ?