Since I discovered that libxvid has a bug with 2 pass encoding (since 2014!) I'm trying (again) to use mpeg4 native encoder to make fully compatible XviD files. Also because it's much faster than libxvid, can do interlaced, and can control maximum bitrate peaks with the -bufsize and -maxrate options that seems doesn't exist in libxvid.
If I use B frames (with and without closed gop), it becomes unwatchable in PS3 (cutted frames), hangs in one LG DVD Player, and pixelates in the majority of devices I've tried (DVD Players, DVB Tuners, 4K TV). So I won't use B frames.
Ok, but even without B frames, there's only audio with an old DVD Player I've tried (where files made with libxvid are ok). I've tried lots of settings combinations with no luck in that player.
With simple commands like these (No Qpel, No GMC, No B frames, ...), it only works with libxvid library:
- Code: Select all
-c:v libxvid -b:v 1500k -s 720x416 -vtag XVID -c:a libmp3lame -b:a 128k
-c:v mpeg4 -b:v 1500k -s 720x416 -vtag XVID -c:a libmp3lame -b:a 128k
No matter wich "-vtag" I use (XVID seems the most compatible), not even with MOD 32 resolutions (I need MOD 16 not to see a green bootom line in PS3 when interlacing), neither with "-strict very" I just found or with "-me_range 1023" wich is supposed to make Divx Player Compatible files. I also changed User Data to 'XviD0065' with MPEG4Modifier as that is what libxvid writes, also specified Advanced Simple Profile 5 (AS@L5) with "-profile:v 15 -level 5", and any files shows the vídeo.
Maybe there is some default option I have to deactivate to make it fully DivX compatible??
In codec options https://ffmpeg.org/ffmpeg-codecs.html#Codec-Options there are lots of options (much more than in libxvid https://ffmpeg.org/ffmpeg-codecs.html#Options-27) and I don't know which could be the one it makes videos not fully compliant.
Is there any program, besides MediaInfo and Gspot, to compare two files to see every setting used by the encoder??