Thread: DGAVCDec 1.0.9
View Single Post
Old 8th June 2008, 00:50   #1086  |  Link
j7n
Registered User
 
j7n's Avatar
 
Join Date: Apr 2006
Posts: 137
I apologize if this trouble has been discussed before. This thread is 27 pages long.

I have a problem with an H.264 elementary stream. It plays longer than is indicated by DGAVCIndex and the very end (6 seconds out of two hours) is cut off. This was discovered only after encoding with x264. When seeking to the end, the last frames display properly. Problem only occurs when playing through a significant portion of the file, or maybe the entire file.

I had to make this AVS script to encode the entire file:
Quote:
raw = AVCSource("The_Fifth_Element_-_Remastered.dga", deblock=true)
raw = crop(raw,4,148,-4,-144)
raw = LanczosResize(raw,1280,528)
endraw = trim(raw,180800,0)
end = trim(endraw,14,0)
raw + end
I can't think of a way to show this in action. Obviously it's impossible to upload the whole two hours of video. (Possible but probably not worth it.)

Last edited by j7n; 8th June 2008 at 03:23. Reason: grammar
j7n is offline