Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Possible to capture video and stream it to flash server on realtime in android ?

    26 octobre 2012, par gilush14

    I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. Is it possible to do??

    Tnx

  • Using ffmpeg (or similar) to print detailed h264 information

    26 octobre 2012, par gimmeamilk

    I have some h264 video in mpeg transport stream, and I suspect at certain points in the video it switches from 1080i/50Hz to 1080p/25Hz. I'd like to prove that using some video analysis tool. Can ffmpeg (or similar) print out such detailed decoding info? I've tried ffmpeg setting "-loglevel debug" but it prints no more info about the actual decoding.

  • calculate the real duration time of a broken movie with ffmpeg/ffprobe

    26 octobre 2012, par jAckOdE

    I have a broken video file that its ffprobe (ffprobe -i movie.mkv) say its duration is about 2 hours, but the file contains only video data for first 8minutes (check by VLC Player).

    How can i get the real duration (8minutes) using ffmpeg or ffprobe?

    here is the output:

    ffprobe version 0.7.13, Copyright (c) 2007-2011 the FFmpeg developers
      built on Aug  1 2012 21:08:35 with clang 3.1 (tags/Apple/clang-318.0.58)
      configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libvpx --enable-libspeex --disable-libopencore-amrnb --disable-libopencore-amrwb --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
      libavutil    50. 43. 0 / 50. 43. 0
      libavcodec   52.123. 0 / 52.123. 0
      libavformat  52.111. 0 / 52.111. 0
      libavdevice  52.  5. 0 / 52.  5. 0
      libavfilter   1. 80. 0 /  1. 80. 0
      libswscale    0. 14. 1 /  0. 14. 1
      libpostproc  51.  2. 0 / 51.  2. 0
    [matroska,webm @ 0x7f93dc01e600] Estimating duration from bitrate, this may be inaccurate
    Input #0, matroska,webm, from 'Mission.mkv':
      Duration: 02:12:56.21, start: 0.000000, bitrate: 448 kb/s
        Stream #0.0: Video: mpeg4, yuv420p, 1280x528 [PAR 1:1 DAR 80:33], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
        Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s (default)
    
  • Multi core theora encoding

    26 octobre 2012, par Jamie Taylor

    We convert uploaded video to MP4 and OGV, but while trying to speed up the process we've hit a wall. We found the bottleneck is the OGV encoding, While it might take 5 minutes to convert a 350mb AVI to MP4, it takes roughly 25-30 minutes to convert the same file to OGV.

    avconv supports multithreading/multiple cores but it seems that libtheora doesn't, does anyone have any way of encoding over multiple cores? I found an old mail group which discussed a patch but I can't find much else about it, or if it even still works 5 years on.

    So. Is multi-core theora processing possible and what should I use to do it?

    For Reference:

    avconv -y -i big_buck_bunny_720p_surround.avi -vcodec libtheora -qscale 10 -bufsize 20M -same_quant -acodec libvorbis -ac 2 -ar 44100 -ab 128k buck.ogv
    
  • RoR ffmpeg installed by brew

    26 octobre 2012, par Thomas Kobber Panum

    I'm developing a Ruby on Rails application that needs ffmpeg, to do some processing of the files I have.

    However, when trying to use ffmpeg, I get this error

    Failed encoding. Errors: no output file created. Full output: dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
    Referenced from: /usr/local/bin/ffmpeg
    Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0
    

    It's a basically a CarrierWave project, which can be seen here: http://www.freezzo.com/2010/12/23/create-ffmpeg-processor-for-carrierwave-in-rails-3/