Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • Extra data within image (PPM/PAM/PNM)

    22 mai 2014, par Sean D

    Is it possible to store extra data in pixels of a binary PNM file in such a way that it can still be read as an image (hopefully by any decoder, but specifically by ffmpeg)?

    I have a simulation that saves its data as PPM currently and I'd like a way to record more than three values per pixel in the file, and yet still be able to use it as an image (obviously only the first three/four values will actually affect the image).

    In particle I think the TUPLTYPE of PAM should allow me to do this, but I don't know how make something that's also a readable image from that.

  • Avisynth processing source having multiaudio tracks

    22 mai 2014, par Tarun

    I wrote following avisynth script

    A1 = FFAudioSource("speed_2mins.mxf",track=1)
    A2 = FFAudioSource("speed_2mins.mxf",track=2)
    V = FFVideoSource("speed_2mins.mxf",width=200,height=100)
    AV1 = AudioDub(V,A1)
    AudioDub(AV1,A2)
    

    In hope of getting 2 audio tracks in the output, but i still got only one audio track when I processed the .avs file using ffmpeg

    How to get multi audio tracks output using avisynth?

  • Video ts watermark png with ffmpeg

    22 mai 2014, par fabian

    Is there any way to add watermark png file to ts video file with ffmpeg? (Windows)

    (I tried multiple commands lines from forums but no ones seems to be right.)

    Thanks

  • FFMPEG : av_open_input_stream in latest ffmpeg

    22 mai 2014, par user3663917

    I was trying to read data from a buffer(instead of reading from file) for the purpose of live streaming.In the old version of FFMPEG it was supported using the API "av_open_input_stream". But in the FFMPEG version 2.2.2 this API apppears to be missing. I found the API "avformat_open_input" for reading from a file. Which API shall i use for the purpose of live streaming? It would be very thankfull if you could show the steps for live streaming using the API .

  • writing custom codecs for android using FFmpeg

    22 mai 2014, par Aditya Kumar Praharaj

    I am doing a video compression project for Android and I am thinking of implementing it by designing a new video codec (by scratch , I have designed the algorithm) . I have already read the basics of video compression , related relevant algorithms and codec basics . I have also found that FFmpeg may serve as a quite good solution on Android.

    Now my questions come:

    1. How to write a new video codec as in FFmpeg? I am still a beginner at writing codecs , but how do I start ? I have a rough idea that that you have to write at least a demuxer first and then the specific encoder and decoder etc . (Asking for references here please.)

    2. Since my codec deosn't simply adjust video properties like fps , resolution , bit-rate etc. Is reading the MediaCodec API and MediaPlayer API in official Android SDK enough for writing new codecs ? (Because last time I saw it had only support for MPEG-4 SP , H.263 and H.264 . I was unable to find if you could directly write your own classes and functions).

    Thanks .