Hi there,
I currently having some issues with converted h.264 files. The sources are raw h.264 ts files. After converting them to MPEG 2 I get some strange colour and interlacing issues. I actually made some screens to show you what is bothering me here:
After the conversion the interlaced areas get a rather unusual look (arrow)
The first image shows the converted MPEG2 file:
The second shows the raw h.264 elementary stream:
Uploaded with ImageShack.us
The biggest problem that occurs here is that after deinterlacing the MPEG 2 image looks horrible (grey areas around the glasses). The colours of the interlaced areas look washed out, especially when there are fast movements.
MPEG 2:
h.264:
You may also notice that the entire colourspace of the converted MPEG 2 file looks different to the original h.264 stream. The red tones are different, skin has a more yellow tint and so on.
I know it must have something to do with decoding/encoding/colourspace settings but I am completely lost here.
I hope you can help me with that.
+ Reply to Thread
Results 1 to 6 of 6
-
-
Hi - need more info
What did you use? For encoding, decoding, deinterlacing? What software or process?
The color issue looks like the difference between Bt.709 and Bt.601
What is your final format goal ? and what will you use to play it (e.g. blu-ray , pc, ipod etc...) -
- TSDoctor for preparing, patching and cutting of the h.264 ts file.
- TMPGenc 4.0 xpress for the conversion job.
Basically I just want to encode the h.264 file to DVD format (720*576) or to any other format.
Strangely enough I never have that sort of problem while using Xmedia Recode. The colours and interlacing is fine here, but this tool is just too slow as it doesn't support multithreading... -
try avs2dvd for dvd . You would normally leave it interlaced (50i) for DVD (with interlaced aware scaling) , 25p dvd has 1/2 the motion samples as 50i , and will look "choppy" in comparison - especially for things like sports
for other formats you can use other converters e.g. xvid4psp , handbrake, megui etc... dependin on what your goal was
deinterlacing algorithm can have big impact on qualilty. TMPG has very poor algorithm. Higher quality algorithms are very slow and not multithreaded very well -so they can impose a bottleneck . It's a tradeoff you have to choose -
The color change is a rec706 vs. rec601 problem. The HD video probably uses rec709 and TMPGEnc (and or your player) is assume rec601. You could fix this with AviSynth using ColorMatrix(mode="Rec.709->Rec.601").
Your probably also have a interlaced YV12 vs progressive YV12 problem. Try working in YUY2 instead of YV12. In AviSynth: ConvertToYUY2(interlaced=true). Or force your h.264 decoder to output YUY2 or RGB.
You shouldn't use JPG images to demonstrate these problems. JPG usually uses progressive YV12 internally and will screw up the chroma channels of interlaced video. Use lossless PNG.
And upload images directly to Videohelp.com. ImageShack is so annoying!Last edited by jagabo; 23rd Jan 2011 at 11:38.
-
Thank you very much for all your help.
I already tried AVStoDVD and that thing is amazing. It have to admit I never heard of it before.Thanks for the hint poisondeathray
Thank you for your explanation jagabo, it such a complex thing as I was working with PAL 720*576 SD MPEG 2 in the past.
Similar Threads
-
Lossless Conversion from AVI H.264 to MP4 H.264
By kenchen in forum Video ConversionReplies: 3Last Post: 22nd Oct 2010, 14:04 -
Looking for H.264 conversion help
By fordprefect138 in forum DVD RippingReplies: 9Last Post: 24th Nov 2009, 05:19 -
H.264 (MOV) to H.264 MPEG TS conversion
By svens in forum Video ConversionReplies: 0Last Post: 19th Feb 2009, 06:47 -
Good Video Explaining Interlacing and De-Interlacing
By Soopafresh in forum Newbie / General discussionsReplies: 3Last Post: 14th Aug 2008, 19:50 -
Interlacing artifacts on poor VHS conversion
By binister in forum Video ConversionReplies: 6Last Post: 2nd Jul 2008, 19:05