View Full Version : Transformers HD DVD backup not working
bluesk1d
10th November 2007, 20:07
At about 60% of the way through the encode the encoded video goes all herky jerky. I believe that is the scientific term for it. It almost looks like the video is going 3 steps forward and then 2 steps back over and over in a fashion that still maintains sync with the audio.I tried it twice and it did it again at the exact same spot. Nothing fails and the encode will actually finish. It has done this once before with another movie that also happened to come in h.264. VC-1 seems to have no issue which makes me wonder if its something to do with the ffdshow decoder since I use the windows media decoder to decode VC-1 EVOs.
My Process:
Rip with AnyDVD HD 6.1.9.3
Extract the DD+ Stream 0 with EVODemux .626b5
Construct graphs for the EVOs
Halli splitter 1.7.152.18 > ffdshow video decoder build 1589
Make avs file
DirectShowSource("evo1.grf",fps=23.976,framecount=103422,seekzero=false,seek=true,audio=false)+DirectShowSource("evo2.grf",fps=23.976,framecount=102946,seekzero=false,seek=true,audio=false)
Crop(0, 142, -0, -134)
Encode command
cscript.exe WMCmd.vbs -input trans.avs -output trans.wmv -v_bitrate 7242096 -v_peakbitrate 15000000 -v_codec WVC1 -videoonly -v_mode 4 -v_buffer 60000 -v_performance 80 -v_dquantoption 2 -v_mmatch 0 -v_lookahead 16 -v_loopfilter 1 -v_bframedist 1 -v_mslevel 4 -v_msrange 0 -v_keydist 30
Needless to say, it sucks discovering it broke about half way through after 40 hours of encoding. Anyone else have this problem?
setarip_old
10th November 2007, 20:44
Hi!
An obvious question, perhaps, but does the ORIGINAL HD-DVD exhibit the same behavior?
bluesk1d
10th November 2007, 20:46
Hi!
An obvious question, perhaps, but does the ORIGINAL HD-DVD exhibit the same behavior?
No fortunately it does not. Also simply playing back the avs file shows no sign of this.
saint-francis
11th November 2007, 00:16
Why didn't you merge the EVOs and make your Graph from that single one?
bluesk1d
11th November 2007, 02:43
Why didn't you merge the EVOs and make your Graph from that single one?
It's just an extra step that is not needed. I do all my discs this way. It cuts down on interim disk space as well. The problem does not occur at the seam if that's where you were going with that.
superhero6
12th November 2007, 03:11
I ended up using DGAVCIndex on Transformers to get it to encode for me. You might want to give it a try. It is very handy for h.264 video.
bluesk1d
12th November 2007, 16:33
I ended up using DGAVCIndex on Transformers to get it to encode for me. You might want to give it a try. It is very handy for h.264 video.
Ah did you have the same issue? Could you elaborate on how you used that tool to resolve it? I have yet to look at that tool so I'm unfamiliar with it.
Guest
12th November 2007, 16:40
It works like DGMPGDec (DGIndex and DGDecode), but needs an elementary stream as input. So first demux the H.264 using EVOdemux. Then open the H.264 in DGAVCIndex and do Save project. Then in your script you can replace DirectShowSource() with AVCSource("file.dga"), where file.dga is the project file created by DGAVCIndex.
bluesk1d
12th November 2007, 16:42
It works like DGMPGDec (DGIndex and DGDecode), but needs an elementary stream as input. So first demux the H.264 using EVOdemux. Then open the H.264 in DGAVCIndex and do Save project. Then in your script you can replace DirectShowSource() with AVCSource("file.dga"), where file.dga is the project file created by DGAVCIndex.
Fantastic. Thank you. I will give that a shot when I get home.
superhero6
13th November 2007, 02:42
Maybe this is a little off topic, but i would like to thank Neuron2 for the program DGAVCIndex. I think it is great that smart people write code/freeware for us programing ignorant folks. Thanks :thanks:
bluesk1d
13th November 2007, 02:48
Is there a way to force the frame rate when using avcsource? If I don't specify a frame rate in my avs, it plays too fast and my encoder reports an incorrect duration (much too short).
Edit: Nevermind. I saw the other thread about changing the frame rate at the bottom of the dga file. Doing this corrects the frame rate for playback but the timecode is all messed up and the movie reports a crazy duration like 3 minutes but you can actually seek through the whole thing. Windows media encoder vbs reports that same duration and that crazy timecode carries over onto the encoded wmv file and it plays back at warp 12 as if it really had a 3 minute duration. What am I doing wrong?
Guest
13th November 2007, 03:02
AVCSource() delivers uncompressed video via Avisynth. There is no way timecodes can be passed through.
I can't tell you what you are doing wrong because you didn't tell me what you did.
I saw the other thread about changing the frame rate Please give me a link to the thread.
bluesk1d
13th November 2007, 03:18
http://forum.doom9.org/showthread.php?t=122598&page=24 post #479 says you can simply change the fps at the bottom. The default of 60000/2002 gives 29.97 which is too fast so I had changed it to 23.976 but it did not like simply hard coding that in there. I just noticed the post right above yours that mentions 24000 / 1001 so I tried that. Seemed to fix it.
Guest
13th November 2007, 04:31
Any chance you could give me a sizable chunk of your source stream? That other guy didn't and I need to see it to figure out what is going on.
bluesk1d
13th November 2007, 06:11
Any chance you could give me a sizable chunk of your source stream? That other guy didn't and I need to see it to figure out what is going on.
I'd be more than happy to help if you tell me how. Just walk me through getting a usable chunk of the stream. Also, it's just the US retail Transformers HD DVD collectors edition if you know someone that has it.
Guest
13th November 2007, 14:39
Actually, I just bought that the other day but haven't opened it yet. :)
bluesk1d
13th November 2007, 16:20
Actually, I just bought that the other day but haven't opened it yet. :)
Haha nice. That solves that problem then.
So what is going on with the tool that you need to figure out? I have never used it before so I wouldn't know how it's supposed to work. Is it supposed to correctly determine that the frame rate should be 23.976 and not 29.97 without having to manually change the DGA file or something?
Also, any ideas what this means?
======== Begin Pass1 ========
Read: 8286.7s (96.3%) Elapsed: 09:50:11 Left: 00:22:50 [0.23x] [h264 @ 68980000]reference picture missing during reorder
Read: 8573.6s (99.6%) Elapsed: 09:58:46 Left: 00:02:21 [0.24x] [h264 @ 68980000]error while decoding MB 18 59, bytestream (-25)
Read: 8577.9s (99.7%) Elapsed: 09:58:52 Left: 00:02:03 [0.24x] [h264 @ 68980000]left block unavailable for requested intra4x4 mode -1 at 0 46 [h264 @ 68980000]error while decoding MB 0 46, bytestream (55009)
Read: 8579s (99.7%) Elapsed: 09:58:54 Left: 00:01:58 [0.24x] [h264 @ 68980000]left block unavailable for requested intra4x4 mode -1 at 0 38 [h264 @ 68980000]error while decoding MB 0 38, bytestream (128952)[h264 @ 68980000]reference picture missing during reorder
Read: 8597s (99.9%) Elapsed: 09:59:28 Left: 00:00:43 [0.24x] [h264 @ 68980000]left block unavailable for requested intra mode at 0 10 [h264 @ 68980000]error while decoding MB 0 10, bytestream (52062)[h264 @ 68980000]reference picture missing during reorder
Read: 8606.1s (100%) Elapsed: 09:59:40 Left: 00:00:05 [0.24x]
Thats what came up during pass 1. Pass 2 has since started but does that mean the actual encode is going to start going screwy at 96.3%?
Guest
13th November 2007, 17:54
We'll need an equivalent of Force Film in DGIndex. I'll use the stream to test that feature. There's nothing to figure out.
Don't know about your errors. You'll just have to wait and see.
Guest
14th November 2007, 20:01
I can't rip it as the key is not in the HD-DVD keys database thread. Do you have it?
bluesk1d
15th November 2007, 00:40
I can't rip it as the key is not in the HD-DVD keys database thread. Do you have it?
No. Unfortunately, I do not. I use AnyDVD HD.
Guest
15th November 2007, 00:54
OK, get DGSplit from my web site:
http://neuron2.net/dgsplit/dgsplit10.zip
Open your H.264 raw stream in it and set the split size box to 30 (i.e., 30MB). Then start it. When it completes writing the first file (*_0), exit DGSplit. You'll know he's done with the first one when he creates the second one (*_1). Upload the first file (*_0) to megaupload.com and then post the link here. Thank you.
bluesk1d
15th November 2007, 02:11
http://www.megaupload.com/?d=CE3R79NV
Taxidermista
15th November 2007, 02:59
After demuxing with evodemux, I always use this graph with HD-DVD AVC video:
mpv file -> Elecard MPEG demultiplexer -> Sonic Cinemaster Video Decoder
It works every time, but not with "Transformers".
Guest
15th November 2007, 14:55
@bluesk1d
Thank you for the stream. It does indeed have 3:2 pulldown flagged via picture timing SEIs. I need to add the infrastructure to DGAVCDec for honoring these flags and for optionally ignoring them, as is done in DGMPGDec for MPEG2.
bluesk1d
15th November 2007, 15:30
Sweet. Would you mind dropping a note in this thread if/when a new version is released in the event others stumble across this issue looking for a solution?
Guest
15th November 2007, 15:51
Sorry, you'll have to watch the DGAVCDec development thread.
bluesk1d
15th November 2007, 18:16
Fair enough. How about a link here to the official dev thread?
Mtz
15th November 2007, 18:51
You should use the Search button.
http://forum.doom9.org/showthread.php?t=122598
enjoy,
Mtz
Taxidermista
15th November 2007, 20:36
@bluesk1d
Thank you for the stream. It does indeed have 3:2 pulldown flagged via picture timing SEIs. I need to add the infrastructure to DGDVCDec for honoring these flags and for optionally ignoring them, as is done in DGMPGDec for MPEG2.
So you can't use DGAVCDec with this video?
bluesk1d
15th November 2007, 20:44
You should use the Search button.
http://forum.doom9.org/showthread.php?t=122598
enjoy,
Mtz
Thanks for the condescension but I was not sure if the official thread would be the one here or the one on his own site.
So you can't use DGAVCDec with this video?
You can use it but you'll need to manually edit the last line of the dga file and enter the fps as "24000 / 1001"
Taxidermista
15th November 2007, 23:22
You can use it but you'll need to manually edit the last line of the dga file and enter the fps as "24000 / 1001"
Great, thanks! :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.