Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • ffmpeg-php make test failed

    29 janvier 2012, par Shawn Northrop

    I am trying to install ffmpeg and ffmpeg-php. After following the install docs I am running into some errors on make test

    I have used homebrew to install ffmpeg. I downloaded the latest version of ffmpeg-php and ran

    ./configure && make

    /ffmpeg-php-0.6.0/ffmpeg_movie.c:73: error: ‘MAX_STREAMS’ undeclared here (not in a function)

    /ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_video_stream’:

    ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)

    ffmpeg-php-0.6.0/ffmpeg_movie.c:152: error: (Each undeclared identifier is reported only once ....

    The list goes on. Has anyone run into this problem before? I have looked around a bunch but alas I am stuck and hoping stackoverflow will be my savior.

    Thanks!! Shawn

  • Compiling tutorial programs on FFMPEG

    29 janvier 2012, par iwant2learn

    How do i compile the sample programs given in FFMPEG. i am not able to compile as i get error as CODEC_TYPE_VIDEO undeclared. Can any one please suggest me how to compile the programs. I am using ubuntu 11.

    This is the first example:

    $ gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec -lz
    

    This is the output I got:

    tutorial01.c: In function ‘main’: tutorial01.c:77:3: warning: ‘dump_format’ is deprecated (declared at /usr/local/include/libavformat/avformat.h:1462)
    tutorial01.c:82:51: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
    tutorial01.c:82:51: note: each undeclared identifier is reported only once for each function it appears in
    

    Version info:

    ffmpeg version git-N-30430-ga52f598, Copyright (c) 2000-2011 the FFmpeg developers
      built on May 31 2011 14:21:08 with gcc 4.5.2
      configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
      libavutil    51.  3. 0 / 51.  3. 0
      libavcodec   53.  6. 1 / 53.  6. 1
      libavformat  53.  2. 0 / 53.  2. 0
      libavdevice  53.  1. 0 / 53.  1. 0
      libavfilter   2. 11. 0 /  2. 11. 0
      libswscale    0. 14. 0 /  0. 14. 0
      libpostproc  51.  2. 0 / 51.  2. 0
    
  • FFMPEG with hardware codec support

    28 janvier 2012, par mctma

    I have built a simple media player using ffmpeg on Android 2.2. Hardware is an arm cortex-a8 based 1GHz processor, 512 MB RAM. I am getting low performance, around 15 FPS for 800x600 mp4 video. I have a couple of questions on how I can improve the performance

    • How can I use the hardware codecs available on my target device. How can I configure ffmpeg to use the available hardware decoders? Does the GPU or graphics driver have to expose some standard API like OpenMax IL in order to this?

    • What are the options that should be enabled when building ffmpeg so that it can be optimized for my target hardware? Something like: --cpu=cortex=a8 --extra-cflags="-mfpu=neon" ...

    I have already looked around the net but I couldn't find the answers that I am looking for. I hope someone can advice me on this.

    Thanks in advance!

  • Xuggle or ffmpeg (newbie)

    28 janvier 2012, par umar

    I am pretty new to image capturing using java. Which is better and easy to implement Xuggle or ffmpeg for frames capturing and making a video having both audio and video. I have looked on xuggle and ffmpeg, but am unable to get a decent tutorial out of both. Any hint or tutorial will be appreciated. Thank you.

  • Live Stream Android Screen

    27 janvier 2012, par salamis

    I would like to stream Android Screen using FFMPEG and MonkeyRunners(MonkeyImage)

    I found a good Tutorial for streaming your webcam using FFMPEG and video4linux2.

    Is it possible to send the bytes from the Monkeyrunner.MonkeyImage to the FFMPEG to be converted to a live video stream?

    Actual code:

    $ffmpeg -f video4linux2 -i /dev/video0 http://78.47.18.19:8090/cam1.ffm
    

    Replace it with something similar to:

    $ffmpeg -f video4linux2 -i  http://78.47.18.19:8090/cam1.ffm
    

    Any suggestions?