VideoHelp Forum




+ Reply to Thread
Results 1 to 16 of 16
  1. Right at the top center, no matter my settings or bitrate, whenever I try to encode to mp4 using x264, this scene blocks up.

    Is there any way to prevent these blocks? Size is not an issue, but I do need to convert it as it is VC-1 and the player requires H.264.

    The attachment is cut from the original Blu-Ray unconverted.

    Thank you
    Image Attached Files
    Quote Quote  
  2. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    You mean this rendition of "Blocky Night" right?

    Click image for larger version

Name:	blocks.png
Views:	341
Size:	353.5 KB
ID:	30775

    Those are definitely compression artifacts as the nearby i-frames are as clean as a whistle.
    Quote Quote  
  3. Yes, is this present in the original or did you convert? It seems to at least be worse once I convert it.
    Quote Quote  
  4. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by premiumcapture View Post
    Yes, is this present in the original or did you convert? It seems to at least be worse once I convert it.
    It's the original.
    Quote Quote  
  5. It's just a decoding error. The decoder you are using isn't decoding correctly
    Quote Quote  
  6. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by poisondeathray View Post
    It's just a decoding error. The decoder you are using isn't decoding correctly
    So, you do not see those blocks?

    Which encoder are you using?
    Quote Quote  
  7. If you decode with errors, the the errors will propogate into any encode. Bad decode => bad encode (regardless of what ENcoder you use)

    Any ffmpeg derivative will show those errors. So handbrake etc... ffms2 , lsmash for avisynth. One way to decode it correctly is to use windows' own DMO decoder. eg. through directshow
    Image Attached Thumbnails Click image for larger version

Name:	bad.png
Views:	367
Size:	1.94 MB
ID:	30777  

    Click image for larger version

Name:	good.png
Views:	317
Size:	1.88 MB
ID:	30778  

    Quote Quote  
  8. poisondeathray, is there a way to use the DMO decoder in a GUI based encoder like Handbrake?
    Quote Quote  
  9. Originally Posted by premiumcapture View Post
    poisondeathray, is there a way to use the DMO decoder in a GUI based encoder like Handbrake?
    Not possible for handbrake.

    The "easiest" way to access it IMO would be through avisynth and DirectShowSource() . But it can be tricky. You sometimes have to configure your system filters and merits (priority of system filters) ; or contruct a directshow graph with graphstudio / graphedit and you can be sure which filters you are using . One of the big faults of directshow is the inconsistencies (it can be configured completely differently across different computers)

    Some GUI's like megui, xvid4psp have the ability to create a script using directshowsource (although it's an easy 1 liner you can do it yourself easily)
    Quote Quote  
  10. Originally Posted by poisondeathray View Post
    the DMO decoder... The "easiest" way to access it IMO would be through avisynth and DirectShowSource() . But it can be tricky. You sometimes have to configure your system filters and merits
    If you use ffdshow as your video decoder you can configure it to use Microsofts WMV9 decoder, libavcodec, or Intel Quick Sync (requires a recent Intel CPU). libavcodec delivered the same block errors. The others didn't.
    Quote Quote  
  11. Thanks, I will try those and report back.

    Currently, the video plays without blocks, but the issue is encoding. While I would expect -blocks in, blocks out,- the tough part here is understanding why the video is decoding blockless in everything for playback while during encoding it is giving issues.

    I will play around with Avisynth but I have a bunch of VC-1 encodes I need to do. Looking for an easy fix but it looks like it may not be there.

    The attached photo is after Handbrake, will try MeGui with directshowsource and write back.
    Image Attached Thumbnails Click image for larger version

Name:	Blocks.png
Views:	334
Size:	1.19 MB
ID:	30780  

    Quote Quote  
  12. Originally Posted by premiumcapture View Post

    Currently, the video plays without blocks, but the issue is encoding. While I would expect -blocks in, blocks out,- the tough part here is understanding why the video is decoding blockless in everything for playback while during encoding it is giving issues.
    The video player you are using is decoding it properly, probably through MS decoder. What software player are you using ?

    The conversion software you are using is using a different decoder, probably libavcodec based (ffmpeg)


    will try MeGui with directshowsource and write back.
    That sounds like like gambling at the slots and seeing if you will win. It would be better to force a decoder so you are certain it will work
    Quote Quote  
  13. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    After demuxing Premiere Pro decodes it correctly.
    Quote Quote  
  14. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    Are you possibly going to contact ffmpeg developers with this sample, so that they might be able to improve their decoder?
    Quote Quote  
  15. They must be aware of it. I've seen it many times.
    Quote Quote  
  16. I found a funny work-around. I actually got Flip4Mac to play Windows video in Mac applications and use Compressor to encode with no issues.
    Quote Quote  



Similar Threads

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