Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • ffmpeg video streaming deep understanding

    14 novembre 2012, par Stefan Alexandru

    The main question is if it is possible to somehow go around the frame index checking that ffmpeg does when writing the frame to a file.

    Now I will explain my exact problem so you can understand better what I need or maybe think of an alternative solution.

    Problem n0.1: I am getting video stream from two independent cameras and for some reason I want to save it in the same video file. First the frames from the first camera and then the frames from the second. When writing the frames from the second camera av_write_frame would return the error code -22 and will fail to add the frame. That's because the writing context is expecting a frame index following the index of the previously written frame (the last frame from camera 1) but he receives a frame with the index 0, the first frame from the second camera.

    Problem no.2: Consider the following problem independently to the first one. I am trying to save a video stream to a file but the frame rate is double the real speed. So because I couldn't find any working solution to speed down the frame rate i thought to write every frame twice in the video file. But it won't make any difference to the frame rate. I also tried a different approach on the frame rate problem but it also failed(question here).

    Any kind of working solution would be highly appreciated.

    Also it's important that I can't use console commands, I need C code, as I need to integrate those functionalities in an Android application that is automated.

  • FFMPEG build error

    14 novembre 2012, par user1149520

    I've been trying to build a LGPL copy of ffmpeg and I have tried various different configure methods. I downloaded the latest source from the ffmpeg site and used the following simple configure

    ./configure --enable-memalign-hack --enable-pthreads --enable-shared --disable-static
    

    However every time I try to build it I only end up with "avdevice-53.dll" and the error message like this

    install: cannot stat 'libavdevice/avdevice.lib' : No such file or directory
    make: *** [install-libavdevice-shared] Error 1
    

    What am I doing wrong?

  • Recoding in ffmpeg by size

    14 novembre 2012, par debuti

    Is there any way to recode in ffmpeg by setting the desired output size? I mean something like this

    ffmpeg -i in.mp4 -size 650MB out.mp4
    

    So ffmpeg (or a wrapper) calculates the size of the picture, codec, bitrate, and so..

  • centos convert avi to mp4 [closed]

    14 novembre 2012, par Rares Daniel

    i need some help, please. Im strugling for a time now, with ffmpeg/mencoder/mp4box.

    i need to convert videos from avi to mp4, to maintain same quality, and IF possible, to reduce size.

    Im using centos 6.3 64bit

    ffmpeg -i input.avi -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 output.mp4 NO work

    qscale 1 no work samehq no work

    Can you please give me a command to do this? Also, if its possbile to use 2-3 core of server and 2-3 gb ram so the process would be faster.

    Thank you

  • About FFMPEG Install and Used

    14 novembre 2012, par Allan.Chen

    My client need me to dev a ios video player and suppor flv,avi format video . i search some info on google and know about "FFMPEG".

    i know what is it and know i can use it to dev the video player . but i have a question , how to install and use it ?? have any doc and demo ? i have no idea how to use it on xcode .

    i have already see ffmpeg website and that havent say how to build it on ios or macox , any one can help me ???

    And i know about MobileVLC, and i try to install on my xcode project . but is doesnt work for me , the error is MediaLibraryKit/MLFile.h was not found actually i dont konw MobileVLC can play flv and avi or not ?? can anyone give me some idea or send me some link ?