Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Sending input to a command line program from PHP

    11 octobre 2011, par Karl Jóhann

    I'd like to be able to stop FFMPEG from PHP (on Windows).

    What I'm doing now is starting it as so:

    pclose(popen("start ffmpeg -i rtmp://livestream -o a_file.mp4", "r"));

    But as soon as I've done that I've lost all connection to the program (right?).

    I would like to send a 'q' to the process to stop it. Is there any way to do this?

    EDIT: I should probably explain that I use pclose because I need the PHP script to keep running and thus close the file pointer. Maybe the question should be: How can I keep the script running and the file pointer open?

  • Howto Merge .WAV files - with a repeating shorter wav file ?

    11 octobre 2011, par SeanNieuwoudt

    I need to take two WAV files (mysound.wav[10 seconds] and watermark.wav[1 second]) and merge the two together.

    The problem is that the new generated file needs to have watermark.wav repeating for the duration of mysound.wav.

    How do I do this via the CLI or script? I know about SoX and FFmpeg, but have not been successful at getting this work.

    Thanks in advance :)

  • FFMPEG in android

    11 octobre 2011, par Krishnendu

    Ii am trying to reduce the video size capture by default camera (it's generating high resolution video) in Android. Does FFMPEG have a property to encode a video with given resolution? I try to Google, but all examples are using command line mode for FFMPEG.

    My questions are:

    1. Can we use ffmpeg command line in Android?
    2. If not then how we will achieve it?
    3. Can we able record a video directly using ffmpeg in Android?
    4. Is there any other solution for this?
  • Feasibility of Decoupling DVB subtitle functionality from ffmpeg

    10 octobre 2011, par Als

    We are trying to implement a DVB subtitle decoder using ffmpeg, We only need to use this particular feature(subtitle-libav codec) of ffmpeg Since we already have our own implementations for the other features. We noticed that the code imlpementation which does this is limited to a few number of files, but we are not sure how easily this can be decoupled from the ffmpeg.
    So, the Q is:
    Is is it feasible to customize/refactor the ffmpeg so that we can decouple the DVB subtitle functionality for our use, And how advicable it is to do so?

  • Converting YUV420SP to YUV420P

    10 octobre 2011, par limitfan

    How do I to convert YUV420SP to YUV420P using ffmpeg sws_scale or another efficient method?