Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • How to split multiple mp4 videos using ffmpeg ? current solution is too slow [duplicate]

    16 août 2018, par MUHAMMAD Saad Zaheer

    This question already has an answer here:

    I want to split multiple mp4 videos into smaller chunks of size 30-40 secs after many days I have found an answer which used ffmpeg i.e

    ffmpeg -i /home/msz/Downloads/CartoonVideos/1.mp4 -ss 180 -t 30 /home/msz/Downloads/NewCartoonVideos/1-7.mp4
    

    but this is single line command and it's taking too much, I have to change it every time.Can anybody tell me other methods or change this code in script/loop?

  • What is the difference between AVFormatContext, AVCodecContext and AVParserContext in ffmpeg libavcodec library ? [on hold]

    16 août 2018, par user7939031

    I am new to this ffmpeg c programming. I come across these 3 structures:

     AVFormatContext
     AVCodecContext 
     AVParserContext
    

    what is the use of these? Could anyone summarize them?

  • Segmentation fault while decoding the audio(mp3) file using C API

    16 août 2018, par user7939031

    I am executing decode_audio.c file. I compiled it successfully. I am getting segmentation fault when I execute. I included the avformat.h header file. I changed the codec logic according to mp3 format. I am using the following command to compile and execute.

    mycode$ gcc -o decode_audio decode_audio.c -lavutil -lavformat -lavcodec -lswresample -lz -lm
    mycode$ ./decode_audio audio.mp3 raw.bin 
    

    What is the reason for this segmentation fault in my program?

    You can see my modified program here.

    I am using Ubuntu 16.04 LTS and ffmpeg 3.4.4 versions. Please help me.

    Thanks in advance.

  • What is the algorithm to achieve audio decoding in C through ffmpeg ? [on hold]

    16 août 2018, par user8371461

    I want to decode the MP3 audio file, I want to know the algorithm in terms of C language API's. I have gone through dranger tutorials. But the API's they used are deprecated now. Could anyone tell me what are the API's I need to follow one by one?

  • ffmpeg h264_qsv Coded memory leak

    16 août 2018, par donghui.R

    I am developing in C++, using libx264 encoder to encode and push rtsp stream, I can see that the program memory will not rise in the task manager, but when I use the h264_qsv encoder, the program memory will slowly rise, this problem is bothered I have been here for a long time, please help me!