Encoding Standard Definition with H.264

Richard-hardy wrote on 2/8/2019, 11:21 PM

Is it at all possible that H.264 simply isn’t as good at encoding/compressing standard definition video compared to MPEG-2? The reason I ask is because when I encode a 720x576 VOB file in MPEG-4 H.264, the resulting quality ends up pretty rubbish and with a thin green line at the top of the frame. Whereas if I encode in MPEG-2, the resulting quality looks identical to the original.

Comments

emmrecs wrote on 2/9/2019, 3:21 AM

@Richard-hardy

Is it at all possible that H.264 simply isn’t as good at encoding/compressing standard definition video compared to MPEG-2? 

Yes, because H264 is intended for mp4 export, not mp2!! I have no idea why you have the green line but, given what I've just said, I'm honestly not surprised that you are seeing this unwanted artefact.

Jeff

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, AMD Radeon R7 360 and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, Photo Story Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Reaper, Adobe Audition CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D

Richard-hardy wrote on 2/10/2019, 11:41 AM

Hi there,

So the reason why the output quality is crap and jerky/un-smooth, is because I am encoding/re-encoding an MPEG-2 file in H.264, and MPEG-2 videos should not be touched by an H.264 encoder?

emmrecs wrote on 2/10/2019, 11:46 AM

@Richard-hardy

Never having even attempted to encode an MP2 file with H264, I suspect your answer is correct.

Win 10 Pro 64 bit, Intel i7 Quad Core 6700K @ 4GHz, 32 GB RAM, AMD Radeon R7 360 and Intel HD530 Graphics, MOTU 8-Pre f/w audio interface, VPX, MEP, Music Maker, Photo Story Deluxe, Photo Manager Deluxe, Xara 3D Maker 7, Reaper, Adobe Audition CS6 and CC, 2 x Canon HG10 cameras, 1 x Canon EOS 600D

johnebaker wrote on 2/10/2019, 12:31 PM

@Richard-hardy

Hi

. . . . the reason why the output quality is crap and jerky/un-smooth, is because I am encoding/re-encoding an MPEG-2 file in H.264, and MPEG-2 videos should not be touched by an H.264 encoder? . . . .

The first immediate difference is that you are going from Interlaced to Progressive video, this will show some reduction in quality, and jerky movements when there are pans or movement across the screen.

However - there are many other factors involved ie:

  1. What export settings are you using?
  2. Which codec settings are you changing
  3. Which encoder are you using Intel or MainConcept?
  4. What resolution screen are you viewing?
  5. Are you viewing at full screen?

John EB

 

Lateral thinking can get things done!

VPX, MEP Premium, MEP 2016, and earlier versions, Music Maker Premium, Music Maker 2016, 2015.

Running Windows 10 64bit on Intel i7-8700K 3.2 GHz, 16Gb RAM, 1Tb + 2 x 2Tb internal HDD + 60Gb internal SSD, + 6 x 2Tb ext HDDs, Sony FDR-AX53 Video camera, Contour HD 1080 and Sony HDR-AS30V Sports cams.

Richard-hardy wrote on 2/10/2019, 4:00 PM

Hello John,

Well the source video that I’m exporting is 720x576i 25fps 4:3, and I am selecting the 720x576 H.264 preset and not touching any of the advanced settings. The encoder I’m using is MainConcept, the resolution of the screen that I’d be watching on is 768x576. I wasn’t aware that you had to use progressive scan with H.264. I guess that would explain the judder, because the source is interlaced.