I'm trying to re-encode an upscaled (4:3 pillarboxed) 720p50 h264 transport stream to 576i so I can burn it to DVD. I used DGAVCDec to extract the audio and create a *.dga file, which I then put through an AVI Synth script to resize etc. I then loaded the *.avs file into HCEnc, but when I hit Encode I get the following error:
It appears after a few seconds of encoding and the program closes.
I don't understand the error at all, so what can I do?
I don't know if it helps, but below is the MediaInfo log of the source file:
Code:General ID : 3F3 Format : MPEG-TS File size : 11.2 GiB Duration : 2h 0mn Overall bit rate : 13.3 Mbps Video ID : 6110 (0x17DE) Menu ID : 11110 (0x2B66) Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L4.0 Format settings, CABAC : Yes Format settings, ReFrames : 5 frames Format settings, GOP : N=16 Duration : 2h 0mn Bit rate mode : Variable Bit rate : 11.8 Mbps Maximum bit rate : 12.0 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 50.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.255 Stream size : 9.90 GiB (88%) Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177 Transfer characteristics : BT.709-5, BT.1361 Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177 Audio #1 ID : 6120 (0x17E8) Menu ID : 11110 (0x2B66) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 2h 0mn Bit rate mode : Constant Bit rate : 256 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Video delay : 140ms Stream size : 221 MiB (2%) Language : German Language, more info : Clean effects Audio #2 ID : 6121 (0x17E9) Menu ID : 11110 (0x2B66) Format : MPEG Audio Format version : Version 1 Format profile : Layer 2 Duration : 2h 0mn Bit rate mode : Constant Bit rate : 192 Kbps Channel(s) : 2 channels Sampling rate : 48.0 KHz Video delay : 33ms Stream size : 165 MiB (1%) Language : German Language, more info : Clean effects Audio #3 ID : 6122 (0x17EA) Menu ID : 11110 (0x2B66) Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Duration : 2h 0mn Bit rate mode : Constant Bit rate : 448 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Video delay : -13ms Stream size : 386 MiB (3%) Language : German Language, more info : Clean effects
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 11 of 11
			
		- 
	
- 
	I upgraded to the latest version of HCEnc and I still get the same problem. 
 
 The script opens OK in VDub and AvsP, but if I then press the right arrow key and scroll through the frames (in VDub) it crashes after seven seconds into the video (the same as with HCEnc). But, if I open it and drag the scroller to somewhere in the middle of the video it works fine. If, after doing that, I then drag the scroller back to the beginning of the video and scroll through the frames with the right arrow key as before it works fine, not crashing! I get exactly the same with AvsP as well.
 
 Maybe there's an error in the original transport stream?
- 
	Try to apply DGAVCIndex to demuxed h264 (use TSMuxer etc.). 
 Do you interlace it in script (you only mentioned resizing) or expect it from HCEncoder?
- 
	Yeah, that's what I noticed as well. You didn't try and encode progressive 50fps for DVD, did you? 
 
 That may not explain the crashes, though.
- 
	
- 
	I did this and I get the same error. 
 
 Yes, the AVI Synth script outputs 576i25.
 
 
 Is there not much I can do then? It doesn't really matter too much; I can just keep the transport stream...Yes. Or a bug in the decoder. Actually, it's a bug in the decoder if it crashes -- ever, even if there is an error in the compressed video being fed to it.
- 
	I installed ffdshow and changed the script so it loaded using DirectShowSource(), but when I try to preview it with VDub, I get the following error: 
 Avisynth open failure: I guess there's something wrong with my script?
 DirectShowSource: Could not open as video or audio.
 
 Video returned: "DirectShowSource: couldn't open file ... the source for this file could not be loaded."
 
 Audio returned: "DirectShowSource: couldn't open file ... the source for this file could not be loaded."
 
 
 
 Code:DirectShowSource(\"--.ts\") Crop(160,0,-160,-0) Lanczos4Resize(720,576) SeparateFields.SelectEvery(4,1,2) Weave() ConvertToYV12() 
Similar Threads
- 
  Help with 720p video to 576i DVD (Only 25fps?)By Killer3737 in forum Video ConversionReplies: 9Last Post: 16th Jul 2011, 12:34
- 
  HDTV 720p 50 fps -> SDTV PAL 576i/p 25fpsBy joosty in forum Video ConversionReplies: 22Last Post: 7th Nov 2010, 23:33
- 
  2 x 720p AVI with DTS - need 1 x 720p MKV with AC3By snadge in forum Video ConversionReplies: 2Last Post: 25th Oct 2009, 13:38
- 
  UNDERWATER VIDEO - Should I get a still-cam with 720p, or a 720p camcorder?By v1ru5 in forum Newbie / General discussionsReplies: 1Last Post: 25th Aug 2009, 03:49
- 
  720p --> 576iBy genak in forum Video ConversionReplies: 2Last Post: 15th Dec 2008, 21:18


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			

 Quote
 Quote
 
			