![]() I tried compiling ffmpeg with the option -enable-encoders=libx264 and it will give no error but it won't enable anything (I can't seem to find where I found that suggestion).Īnyways step-by-step, first you must compile libx264 yourself because repository version is outdated: wget Īnd then get and compile ffmpeg with libx264 enabled. When converting to an MP4, you want to use the h264 video codec and the aac audio codec because IE11 and earlier only support this combination. I believe that by now the above answers are outdated (or at least unclear) so here's my little go at it. How to use the ffmpeg options -vcodec and -formats? When I do ffmpeg -formats, I see many acronyms for the codecs supported, I see many acronyms before the codec name/type such as - D V D S E A, what do they stand for? How can I convert the video to a H264 encoded video (raw H264 video format) mp4 video file(MPEG4 video codec) and I am trying to convert this to a H264 video codec format(raw h.264 format) using ffmpeg on Linux(Version. ![]() ![]() When I checked the help, ffmpeg -formats, I see below information related to H264 file format and codec: File format :ĭ V D h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16Īnd then it prints out help on the formats which we get when we do ffmpeg -formats It still does not work, and gives - Seems stream 0 codec frame rate differs from container frame rate: 59.94 (5994/100) -> 29.97 (30000/1001) Then when i try this option: ffmpeg -i input. or first navigate to the directory that it is in and then run. Alternatively, you can move it wherever you want, but you'll have to provide the full path to the location, such as /Downloads/ffmpeg -i. mp4 output.h264īut I get an error saying - Unsupported codec for output stream #0.0 You can then just run the ffmpeg command from any directory. I have a *.mp4 video file(MPEG4 video codec) and I am trying to convert this to a H264 video codec format(raw h.264 format) using ffmpeg on Linux(Version - FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard,) using command line as shown below, ffmpeg -i input.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |