Newest 'ffmpeg' Questions - Stack Overflow

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

Les articles publiés sur le site

  • ffmpeg- drawtext above specified coordinates

    27 mars 2017, par hack

    Is it possible to draw a text above the specified coordinates? Example i want to write "Hello" at coordinate (100,100). By default ffmpeg draws the text in top to bottom manner, i.e , Starting point would be 100,100 and will draw downwards. Can it be drawn in a bottom up manner? (Start upwards from 100,100). Thanks

  • FFMPEG not save logs when converting to audio format

    27 mars 2017, par PUXIII

    The command does not save or even create a file:

    ffmpeg -i "video.mp4" -f mp3 "audio.mp3" -vstats_file "log_file.log"

    And if you convert to a video file, everything normally creates and writes:

    ffmpeg -i "video.mp4" -f mp3 "video.avi" -vstats_file "log_file.log"

    Goal: to pull out the time from the log file and bind it to the process bar.

    There are no problems with video, everything works. But with the sound does not work.

    I tried the command:

    ffmpeg -i "video.mp4" -f mp3 "video.avi" >2 "log_file.txt" But there are other problems popping out. Since I run it all from the python using the subprocess

    ffmpegProc = subprocess.Popen(ffmpegCommand, startupinfo=startupinfo, shell=True) , I can not kill the running process, because it is started with the attribute shell=True, and only the shell is killed.and only the shell is killed.

  • Running error, [h264 @ 0x10af4a0] AVC : nal size [big number]

    27 mars 2017, par Beanocean

    I am using libavformat apis to get video frame from a MP4 video file. My code (c++) runs good in my personal computer, but when I try to deploy it into computing server, there are something strange happens. In the function 'av_read_frame()', some errors appear.

    [h264 @ 0x10af4a0] AVC: nal size 555453589
    [h264 @ 0x10af4a0] AVC: nal size 555453589
    [h264 @ 0x10af4a0] no frame!
    

    My code is like this:

    if (av_read_frame(_p_format_ctx, &_packet) < 0) {
        return false; 
    }
    

    But when this error occurs, the program doesn't exit. But the final results are wrong.

    The OS of computing server is Linux, the kernel is 2.6.32.
    The version of FFmpeg is 3.2.4. The version of gcc is 4.8.2.

  • Convert texture and depth into s3d video

    27 mars 2017, par user1816546

    I have two raw videos (.yuv extension). One contains the texture and the other contains the depth. Is it possible to create a 3D movie with the .s3d extension with ffmpeg?

    With regards to what I have tried so far: I converted the .yuv files to a .mp4 format (using ffmpeg and libx264) and I have displayed them side by side. However, the player I have only supports .s3d formats so it's back to the drawing board since ffmpeg does not convert videos to .s3d format.

    I cannot really find any information on the s3d format, so if anyone has any experience with this format I'd appreciate it greatly!

  • Add silence to wav file at specific time using ffmpeg [duplicate]

    27 mars 2017, par Syed Armaan Hussain

    This question already has an answer here:

    I have an audio (.wav) file . i want to add silence at specific time For example i have an audio (.wav) file of 60 sec duration i want to insert silence at 14th sec to 18th second which overlay the current audio not increase the duration. I am looking for a FFMPEG command for this .. but not any luck yet .