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. |
15th August 2011, 15:45 | #1 | Link |
Registered User
Join Date: Jun 2003
Posts: 127
|
Trouble with Q0 in MeGui
Hello. I am not sure if this is an x264 issue or an MeGui issue.
If I encode the following script with q0 (I am trying for lossless) I get an outout ,264 file which is always recognized by TSMuxer as 23.976. If I switch it to 30fps or 29.97 the stream is unplayable. DirectShowSource("C:\Users\Brendan\Videos\Test\2011_8_8_15_11_43.M2TS.12.M2TS", fps=29.970, audio=false, convertfps=true).AssumeFPS(30000,1001) If I encode at q1 or higher, all is well. TSMuxer identifies frame rate correctly and muxed file is playable. Why is q0 framerate not detected properly? Thanks in advance for any help. |
15th August 2011, 19:17 | #3 | Link |
Registered User
Join Date: Jun 2003
Posts: 127
|
This is it
[Information] Log -[Information] Versions --[Information] [8/15/2011 2:01:36 PM] MeGUI Version : 2028 (svn) --[Information] [8/15/2011 2:01:36 PM] OS : Windows Seven x64 SP1 (6.1.65536.7601) --[Information] [8/15/2011 2:01:36 PM] Latest .Net Framework installed : 4.0 (4.0.30319) --[Information] [8/15/2011 2:01:36 PM] Avisynth Version : 2.5.8.5 (7/12/2009 2:46:36 AM) -[Information] Update detection --[Information] [8/15/2011 2:01:37 PM] Connecting to server: http://megui.xvidvideo.ru/auto/stable/ --[Information] [8/15/2011 2:01:38 PM] All files are up to date -[Information] Update detection --[Information] [8/15/2011 2:04:25 PM] Connecting to server: http://megui.org/auto/stable/ --[Information] [8/15/2011 2:04:25 PM] All files are up to date -[Information] Log for job1 (video, 2011_8_8_15_11_43.M2TS.12.avs -> 2011_8_8_15_11_43.M2TS.12.264) --[Information] [8/15/2011 2:06:19 PM] Started handling job --[Information] [8/15/2011 2:06:19 PM] Preprocessing --[Information] [8/15/2011 2:06:19 PM] Avisynth input script ---[NoImage] DirectShowSource("C:\Users\Brendan\Videos\Test\2011_8_8_15_11_43.M2TS.12.M2TS", fps=29.970, audio=false, convertfps=true).AssumeFPS(30000,1001) ---[NoImage] #deinterlace ---[NoImage] #crop ---[NoImage] #resize ---[NoImage] #denoise --[Information] [8/15/2011 2:06:20 PM] Job commandline: "C:\Users\Brendan\Downloads\MeGUI_2028_x86\tools\x264\vfw4x264.exe" --level 4.1 --tune film --crf 0 --sar 1:1 --output "C:\Users\Brendan\Videos\Test\2011_8_8_15_11_43.M2TS.12.264" "C:\Users\Brendan\Videos\Test\2011_8_8_15_11_43.M2TS.12.avs" --[Information] [8/15/2011 2:06:20 PM] Encoding started --[Information] [8/15/2011 2:07:56 PM] Standard output stream --[Information] [8/15/2011 2:07:56 PM] Standard error stream ---[NoImage] raw [info]: 1920x1080p 1:1 @ 30000/1001 fps (cfr) ---[NoImage] x264 [info]: using SAR=1/1 ---[NoImage] x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 ---[NoImage] x264 [info]: profile High 4:4:4 Predictive, level 4.1, bit depth 8 ---[NoImage] ---[NoImage] x264 [info]: frame I:22 Avg QP: 0.00 size:553465 ---[NoImage] x264 [info]: frame P:1577 Avg QP: 0.00 size:481435 ---[NoImage] x264 [info]: mb I I16..4: 62.3% 9.6% 28.1% ---[NoImage] x264 [info]: mb P I16..4: 20.3% 9.4% 4.0% P16..4: 29.4% 10.1% 9.4% 0.0% 0.0% skip:17.3% ---[NoImage] x264 [info]: 8x8 transform intra:27.3% inter:56.3% ---[NoImage] x264 [info]: coded y,uvDC,uvAC intra: 92.8% 93.8% 93.7% inter: 68.2% 65.9% 65.7% ---[NoImage] x264 [info]: i16 v,h,dc,p: 12% 87% 1% 0% ---[NoImage] x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 78% 6% 0% 1% 1% 0% 1% 0% ---[NoImage] x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 56% 6% 2% 3% 4% 2% 3% 1% ---[NoImage] x264 [info]: i8c dc,h,v,p: 7% 84% 8% 0% ---[NoImage] x264 [info]: Weighted P-Frames: Y:0.1% UV:0.1% ---[NoImage] x264 [info]: ref P L0: 73.0% 6.4% 14.7% 5.9% ---[NoImage] x264 [info]: kb/s:115666.62 ---[NoImage] encoded 1599 frames, 16.70 fps, 115666.61 kb/s --[Information] Final statistics ---[Information] [8/15/2011 2:07:57 PM] Constant Quality Mode: Quality 0 computed... ---[Information] [8/15/2011 2:07:57 PM] Video Bitrate Obtained (approximate): 115666 kbit/s --[Information] [8/15/2011 2:07:57 PM] Postprocessing ---[Information] Deleting intermediate files --[Information] [8/15/2011 2:07:57 PM] Job completed Again, the resulting h264 stream reads as 24000/1001 in tsmuxer gui. It cannot be changed to 24000/1001 or 30000/1001 and play correctly. Thanks for your help. |
15th August 2011, 19:57 | #5 | Link |
Registered User
Join Date: Jun 2003
Posts: 127
|
I will try this but I am on an 18 hour encode at the moment.
When I use q0 in Xvid4PSP Version 5.0.37.8, the files load in tsmuxer correctly. This software has a much older version of x264 though. It seem like a flag is not being set correctly. I will try your suggestions when I can. |
15th August 2011, 19:59 | #6 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
What does mediainfo say about the frame rate from the lossless megui export ?
Again, why do you want a transport stream (overhead is larger than mp4 or mkv, ~5-7%) , and lossless profile isn't supported by devices, blu-ray... |
15th August 2011, 20:54 | #7 | Link |
Registered User
Join Date: Jun 2003
Posts: 127
|
I am converting an 1080i source with logo inpainting, denoising and sharpening in seven different segments. I need to process segments separately because I lose audio sync with anything else I have tried. So I would like to do this in as high a quality as possible, preferrably lossless, before downsizing to single dvd-r bitrate, inthis case 5640 with audio.
Where is mediainfo located? |
15th August 2011, 21:15 | #8 | Link |
Registered User
Join Date: Jun 2003
Posts: 127
|
I downloaded media info and the analysis looks like this
General Complete name : C:\Users\Brendan\Videos\Test\2011_8_8_15_11_43.M2TS.12.264 Format : AVC Format/Info : Advanced Video Codec File size : 736 MiB Video Format : AVC Format/Info : Advanced Video Codec Format profile : High 4:4:4 Predictive@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Writing library : x264 core 115 r1995 c1e60b9 Encoding settings : cabac=1 / ref=3 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=7 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0 I appears as 29.70. The mkv and mp4 muxers of MeGui recognize as 29.70. The mkv version plays but the mp4 version crashes. q0 from xvid4PSP still works with TSMuxer and files do not crash. I'm using q1 which is damn fine quality but lossless m2ts would be optimal. If I load the working mkv file in TSMuxer, the video still registers as 24000/1001. |
Thread Tools | Search this Thread |
Display Modes | |
|
|