ffmpeg throwing “Output file #0 does not contain any stream” when trying to make a slideshow out of images

Your present command doesn’t specify any input, so use phantomjs runner.js | ffmpeg -f image2pipe -i pipe:.png -c:a copy -c:v libx264 -f flv rtmp://localhost/mystream There’s no audio input, so setting an audio codec is pointless. If your output needs an audio stream, use phantomjs runner.js | ffmpeg -f image2pipe -i pipe:.png -f lavfi -i anullsrc … Read more

Merge video and audio with ffmpeg. Loop the video while audio is not over

If you want to merge new Audio with video repeat video until the audio finishes, you can try this: ffmpeg -stream_loop -1 -i input.mp4 -i input.mp3 -shortest -map 0:v:0 -map 1:a:0 -y out.mp4 Using -stream_loop -1 means infinite loop input.mp4, -shortest means finish encoding when the shortest input stream ends. Here the shortest input stream … Read more

How to encode a video from several images generated in a C++ program without writing the separate frame images to disk?

After some intense struggle, I finally managed to make it work after learning a bit how to use the FFmpeg and libx264 C APIs for my specific purpose, thanks to the useful information that some users provided in this site and some others, as well as some FFmpeg’s documentation examples. For the sake of illustration, … Read more

FFMpeg open a DVD VOB chain?

VOB format is a subset of mpeg, so you should be able to combine the VOBs you want to read in just as you would mpeg data: by concatenating them together. cat first.VOB second.VOB third.VOB | ffmpeg -i – outfile.mp4 Hoisting Matt Gallagher’s comment to increase longevity/visibility: Newer versions of ffmpeg support concatenation as an … Read more

ffmpeg concat produces DTS out of order errors

All videos for FFMPEG concatenate should have matching encoding, fps and so on, otherwise you’ll get unexpected results. I guess, it’s hard to get by without re-encoding if your videos come from different sources. I had to look though lots of solutions, the working ones would suggest converting your videos to the same intermediate format … Read more

Could not find tag for codec pcm_alaw in stream #1, codec not currently supported in container when concatenating 2 files using ffmpeg [closed]

codec not currently supported in container ffmpeg does not support PCM (pcm_alaw, pcm_s16le, etc) in the MP4 container. Encode the audio as AAC, or use a different output container format such as MOV or MKV. Encode the audio to AAC ffmpeg -i input.mov -c:v copy -c:a aac output.mp4 Or output to MOV or MKV ffmpeg … Read more

using FFMPEG with silencedetect to remove audio silence

Use the silenceremove filter. This removes silence from the audio track only – it will leave the video unedited, i.e., things will go out of sync Its arguments are a little cryptic. An example ffmpeg -i input.mp3 -af silenceremove=1:0:-50dB output.mp3 This removes silence at the beginning (indicated by the first argument 1) with minimum length … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)