VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. 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.
    Quote Quote  
  2. 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...)
    Quote Quote  
  3. - 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...
    Quote Quote  
  4. 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
    Quote Quote  
  5. 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.
    Quote Quote  
  6. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!