![]() installed versions of ffmpeg and x264 sudo apt-get remove ffmpeg x264 libx264-dev 4. ffmpeg -f v4l2 -i /dev/video0 -vcodec libx264 -f mpegts - ffmpeg -f mpegts -i -c copy. To test the output file you can just drag it to a browser window and it should playback just. Thus, I conclude that the built-in defaults (stored inside the binary executable or the library) are broken. FFmpeg, gstreamer, x264 and v4l to enable video viewing, recording. Video and audio from different files ffmpeg -i video. Use the libx264 encoder to produce the proper video with H.264/AAC. That setting makes ffmpeg look for a preset at ~/.ffmpeg/ and /usr/share/ffmpeg, and those preset files are ok. Frame-type options: g Keyframe interval, also known as GOP length.![]() FFmpeg developer superdump has implemented x264 presets to FFmpeg. It's work noticing that adding "-vpre hq" or even "-vpre default" right after "-vcodec libx264" is enough to make ffmpeg work again. This guide maps most of libx264's options to FFmpeg's options along with detailed descriptions by x264 developer DarkShikari. Other command-lines from the above forum topics:įfmpeg -f image2 -r 20 -i 'frame%d.png' -vcodec libx264 movie.mp4įfmpeg -threads 2 -i inputfile.avi -vcodec libx264 -b 1100000 -acodec libmp3lame -ab 96000 outputfile.avi I know that either ffmpeg-0.5-r1 or ffmpeg-0.5_p19928 used to work, but the current ffmpeg-0.5_p20373 is broken.įfmpeg -threads 2 -i inputfile.avi -f mp4 -vcodec libx264 -b 250000 -sameq -s 320x240 -acodec copy -y outputfile.mp4 The same command-line that used to work last year stopped working a few months ago (not sure exactly when). This has been mentioned at the forums a few times:Īnd I know that it used to work previously, but got broken recently. Compiling FFmpeg with X264 on Windows 10 using MSVC. ![]() ![]() While trying to use ffmpeg with simple parameters, and using libx264 as vcodec, then ffmpeg usually fails to run, showing this message:īroken ffmpeg default settings detected
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |