Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • PHP - CMD Command will not execute

    10 décembre 2015, par TomSIR

    I am trying to execute a command that will generate a preview of a video but it will not work i know the command is right because i went to command prompt and i tried the command and it worked i am trying to use ffmpeg for the generation but the ffmpeg command works it is just the exec(); function the function does not seem to be working.

    CODE:

    exec("ffmpeg  -itsoffset -0  -i uploads/Sequence01.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 200x200 thumbs/thumb.jpg");
    

    Thank You

  • FFmpeg ubuntu script [on hold]

    9 décembre 2015, par Sambir

    Hi guys i want to create an ffmpeg script which picks up files from one folder transcodes them then deletes the source.

    So think of the following scenario:

    I place file A.mp4 and A.srt in folder input I also place file B.mp4 and B.srt in folder input

    In the night a script is executed which picks up these files places them in the folder "transcoding" then starts to transcode the movies one by one. So not parallel.

    When finished new files should be created in the output folder by the ffmpeg script. And the files in the folder "transcoding" should be deleted.

    Can anyone help me out here. It does not seem to be that complex but since I am not that good at coding any help is appreciated :)

  • How can we extract the RTP packet sequence number from AVPacket (ffmpeg)

    9 décembre 2015, par Nech

    We are trying to extract the "Sequence Number" from the RTP header of a packet. We use av_read_frame in order to read the packets into AVPacket structs.

    We tried using the AVPacket.data field, hoping it holds the original payload, but we didn't manage to find the right location of the header. So we assume that the data field does not hold the full payload - please correct if we are wrong.

    Is there a way to find the RTP header information?

  • Reading from IP Camera (RTSP) using FFmpeg results in 5xx Server Error

    9 décembre 2015, par bcop

    I have a scenario where I am trying to read from IP camera using RTSP method.

    On my development PC everything is working fine, the rtsp url is something like:

    rtsp://admin:12345@192.168.1.60:554
    

    but when I try to test it over a friend's place, he has different camera (Axis IP camera), and the url fails to open. The self generated log is something like:

    Error: avformat_open_input()
    error message: Server returned 5XX Server Error reply
    

    I tried opening it using HTTP tunneling, but this time I'm getting a different error:

    error message: Error number -5 occurred
    

    The latter error message even appears on my dev PC (just to mention that I tried this as well); so HTTP tunnel is no good.

    Any one knows how to fix 5XX Server Error?

    Thanks,

  • MP4 codec support in Chromium

    9 décembre 2015, par Staggan

    We have integrated Chromium Embedded Framework into our Windows game to allow us to render web pages from within our application, and everything works fine, except MP4 videos.

    I understand Chromium does not include this codec due to licensing issues, but can anyone provide details on how we can add support, even if we have to license a codec for it.

    All the information we can find seems to be old, and the functions referred to appear to be deprecated... so we are at a bit of a loss.

    All the video serving networks we have spoken to appear to serve MP4s.. so changing encoding does not seem to be an option.

    Any advice would be greatly appreciated.

    Thanks