Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • How to capture the commadline output from an app

    25 février 2014, par poc

    When I ran the command ffmpeg -i rtsp://172.19.1.40/live.sdp -acodec copy -vcodec copy lala.avi

    The ffmpeg will be continuously printing(refresh) the information fps and bitrate everyone second.

    How could I save those information using Python?

    enter image description here enter image description here enter image description here

  • How to sample `audio/video bit rate and fps ` every second on ffmepg or vlc

    25 février 2014, par poc

    I can dump the rtsp streaming into video file by

    ffmpeg -y -t 5  -i rtsp://172.19.1.42/live.sdp -acodec copy -vcodec copy lala.avi 
    

    Now, I wanna sample the streaming's audio/video bit rate and fps every second and dumpinto a text file,

    I can write a script for helping the work ,How could I get it?

  • ffmpeg watermarking processing is very slow

    25 février 2014, par Hitesh Rohilla

    I am working on a video processing project and using ffmpeg for watermarking. I achieve exactly what i want but the problem is that the process is very very slow.

    I am using a Intel Smart 2nd gen family Core-i5 Processor with 4GB RAM on a 32 bit operating system Microsoft Windows-8 on a 64-bit CPU.

    I tried watermarking a video [mp4] of length 1:30 Min. size of file is 1.5GB

    Whole process accomplish in 3 Hrs to watermark my video file and what i noticed while process is that ffmpeg was processing 28 frames per sec first and then later it slow down up to 20 frames per second. a normal human watch video with frame rate of 30 frame per second and process was even slower then this that's why it took more time [3 Hrs] then the actual length of video itself [1:33]

    What i think to make process efficient is to use ffmpeg Watermarking Source Code and modify it somewhat...

    I want to ask if someone have achieve fast watermarking before by any other way or have modified this code to achieve faster process in order to save my time...

  • How to sample `audio/video bit rate and fps ` every second on ffmepg

    25 février 2014, par poc

    I can dump the rtsp streaming into video file by

    ffmpeg -y -t 5  -i rtsp://172.19.1.42/live.sdp -acodec copy -vcodec copy lala.avi 
    

    Now, I wanna sample the streaming's audio/video bit rate and fps every second and dumpinto a text file,

    I can write a script for helping the work ,How could I get it?

  • How to playback RAW video and audio in VLC ?

    24 février 2014, par Lane

    I have 2 files...

    • RAW H264 video
    • RAW PCM audio (uncompressed from PCM Mu Law)

    ...and I am looking to be able to play them in a Java application (using VLCJ possibly). I am able to run the ffmpeg command...

    • ffmpeg -i video -i audio -preset ultrafast movie.mp4

    ...to generate a mp4, but it takes 1/8 of the source length (it takes 1 min to generate a movie for 8 min of RAW data). My problem is that this is not fast enough for me, so I am trying to playback with the RAW sources. I can playback the video with the VLC command...

    • vlc video --demux=h264 (if I don't specify this flag, it doesn't work)

    ...and it plays correctly, but gives me the error...

    [0x10028bbe0] main interface error: no suitable interface module [0x10021d4a0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x10aa14950] h264 demux error: this doesn't look like a H264 ES stream, continuing anyway [0x1003ccb50] main input error: Invalid PCR value in ES_OUT_SET_(GROUP_)PCR ! shader program 1: WARNING: Output of vertex shader 'TexCoord1' not read by fragment shader WARNING: Output of vertex shader 'TexCoord2' not read by fragment shader

    ...similarly, I can play the RAW audio with the VLC command...

    • vlc audio (note that I do not need to specify the --demux flag)

    ...so, what I am looking for is...

    1. How to playback the RAW audio and video together using the VLC CLI?
    2. Recommendations for a Java Application solution?

    ...thanks!