Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th May 2011, 10:57   #1  |  Link
lucassp
Registered User
 
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
x264 encoded material playback issues

Hi guys,

I have the following MPEG file:

Code:
* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: May 7, 2011 12:44:58 PM GMT+03:00
Report for file: anim1_01.mpg

General / Container Stream #1
	Total Video Streams for this File.................1
	Total Audio Streams for this File.................1
	Video Codecs Used.................................MPEG-1 Video
	Audio Codecs Used.................................MPEG-1 Audio layer 2
	File Format.......................................MPEG-PS
	Play Time.........................................13s 167ms
	Total File Size...................................12.6 MiB
	Total Stream BitRate..............................8 057 Kbps
Video Stream #1
	Codec (Human Name)................................MPEG Video
	Frame Width.......................................640 pixels
	Frame Height......................................480 pixels
	Frame Rate........................................24.000 fps
	Total Frames......................................316
	Display Aspect Ratio..............................4:3
	Scan Type.........................................Progressive
	Color Space.......................................YUV
	QF (like Gordian Knot)............................1.042
	Codec Settings (Matrix)...........................Default
	Video Stream Length...............................13s 167ms
	Video Stream BitRate..............................7 680 Kbps
	Video Stream BitRate Mode.........................CBR
	Bit Depth.........................................8 bits
	Video Stream Size.................................12.1 MiB (96%)
Audio Stream #1
	Codec.............................................MPEG Audio
	Codec Profile.....................................Joint stereo
	Audio Stream Length...............................13s 166ms
	Audio Stream BitRate..............................192 Kbps
	Audio Stream BitRate Mode.........................CBR
	Number of Audio Channels..........................2
	Sampling Rate.....................................44.1 KHz
	Audio Stream Delay................................314ms
	Audio Stream Size.................................309 KiB (2%)
I've encoded it to x264 using two GUIs, MeGUI on Windows and with Avidemux on Mac.

This is the MeGUI encode:
Code:
* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: May 7, 2011 12:47:08 PM GMT+03:00
Report for file: anim1_01-megui.f4v

General / Container Stream #1
	Total Video Streams for this File.................1
	Total Audio Streams for this File.................1
	Video Codecs Used.................................AVC
	Audio Codecs Used.................................AAC LC
	File Format.......................................MPEG-4
	Play Time.........................................13s 166ms
	Total File Size...................................1 010 KiB
	Total Stream BitRate..............................628 Kbps
Video Stream #1
	Codec (Human Name)................................AVC
	Codec (FourCC)....................................avc1
	Codec Profile.....................................High@L3.1
	Frame Width.......................................640 pixels
	Frame Height......................................480 pixels
	Frame Rate........................................24.000 fps
	Total Frames......................................316
	Display Aspect Ratio..............................4:3
	Scan Type.........................................Progressive
	Color Space.......................................YUV
	Codec Settings (Summary)..........................CABAC / 8 Ref Frames
	QF (like Gordian Knot)............................0.068
	Codec Settings (CABAC)............................Yes
	Codec Settings (Reference Frames).................8
	Video Stream Length...............................13s 166ms
	Video Stream BitRate..............................500 Kbps
	Video Stream BitRate Mode.........................VBR
	Bit Depth.........................................8 bits
	Video Stream Size.................................796 KiB (79%)
	Video Encoder.....................................x264 - core 114 r1924 08d04a4
	Video Encoder (Settings)..........................cabac=1 / ref=8 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=500 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=17500 / vbv_bufsize=14000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
	Date of Original Encoding.........................UTC 2011-05-07 08:20:14
Audio Stream #1
	Codec.............................................AAC
	Codec (FourCC)....................................40
	Audio Stream Length...............................13s 165ms
	Audio Stream BitRate..............................128 Kbps
	Audio Stream BitRate Mode.........................VBR
	Number of Audio Channels..........................2
	Audio Channel's Positions.........................Front: L R
	Sampling Rate.....................................44.1 KHz
	Audio Stream Size.................................206 KiB (20%)
	Date of Original Encoding.........................UTC 2011-05-07 08:22:35
...and here is the Avidemux encode:

Quote:
* * * MediaInfo Mac 0.7.36.0 file analysis report.
* * * MediaInfo Mac is ©2010 by Diego Massanti - http://mediainfo.massanti.com
* * * MediaInfoLib by Jerome Martinez - http://mediainfo.sourceforge.net
Created on: May 7, 2011 12:52:40 PM GMT+03:00
Report for file: anim1_01.mp4

General / Container Stream #1
Total Video Streams for this File.................1
Total Audio Streams for this File.................1
Video Codecs Used.................................AVC
Audio Codecs Used.................................AAC LC
File Format.......................................MPEG-4
Play Time.........................................13s 83ms
Total File Size...................................1 003 KiB
Total Stream BitRate..............................628 Kbps
Title (Tag).......................................anim1_01.mp4
Encoded with......................................Lavf52.78.3
Video Stream #1
Codec (Human Name)................................AVC
Codec (FourCC)....................................avc1
Codec Profile.....................................High@L3.0
Frame Width.......................................640 pixels
Frame Height......................................480 pixels
Frame Rate........................................24.000 fps
Total Frames......................................314
Display Aspect Ratio..............................4:3
Scan Type.........................................Progressive
Color Space.......................................YUV
Codec Settings (Summary)..........................CABAC / 4 Ref Frames
QF (like Gordian Knot)............................0.068
Codec Settings (CABAC)............................Yes
Codec Settings (Reference Frames).................4
Video Stream Length...............................13s 83ms
Video Stream BitRate..............................500 Kbps
Video Stream BitRate Mode.........................VBR
Bit Depth.........................................8 bits
Video Stream Size.................................789 KiB (79%)
Video Encoder.....................................x264 - core 98
Video Encoder (Settings)..........................cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Audio Stream #1
Codec.............................................AAC
Codec (FourCC)....................................40
Audio Stream Length...............................12s 956ms
Audio Stream BitRate..............................129 Kbps
Audio Stream BitRate Mode.........................VBR
Number of Audio Channels..........................2
Audio Channel's Positions.........................Front: L R
Sampling Rate.....................................44.1 KHz
Audio Stream Size.................................204 KiB (20%)
The problem is that both encodes play fine using Quicktime and Adobe Media Player, but when playing with VLC and xuggler (in Java) the video and audio end earlier losing one second.

Does anybody have an idea why?

Thanks a bunch!!!
__________________
[Intel] Core i5 8500|[ASUS] ROG STRIX Z390-I GAMING|[Noctua] NH-U12S|[GSkill] DDR4 2400 2x16GB|[MSI] RTX2060 Super Gaming X|[Samsung] 970 Pro 512Gb|[Seasonic] Focus SGX 650|[NZXT] H400|[LG] 27GL850
lucassp is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.