After several hours' research i've managed to demux to .m2ts and open successfully in virtualdub using the following avisynth script
DirectShowSource("F:\Film.m2ts")
FDecimate(rate=25,threshold=5)
(There are now no duplicated frames and the film length looks right)
My question is: what do i do now?
Do i have to re-encode? If so, can i encode at a higher bitrate than the maximum 5000 shown in the x264 option in virtualdub?
Any help much appreciated
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 15 of 15
Thread
-
-
Still having problems here. I keep getting runtime errors in virtualdub. Same in MEGUI when i tried that. It tends to crash a lot when i move the time scroller.
Eventually i got a conversion started. I left the 2-pass encode 5 hours in last night, but in the morning i had the error message again.
Any ideas anyone, please? -
What is error message?
Maybe there are errors in your source? e.g. dropouts from capping
What kind of transport stream and where did you get it? If AVC try DGAVCIndex if not interlaced, if MPEG2, try DGIndex instead of DirectShowSource.
You can also try different decoders (might be decoding issue)
Maybe try fixing it with TS Doctor -
2 days ago when i started, i could not open the ts file in virtualdub using the simple script DirectShowSource("F:\Film.ts")
After a minute or so I got a 'timeout waiting for graph to start' message.
Eventually, using TSmuxer ( i think - i tried a lot of apps!) i produced a m2ts file that would open in virtualdub, but which caused intermittent runtime problems (reported above)
I ran this file through TSdoctor and it reported some faults which i think it rectified.
So i tried to open the ts file it produced in vitrualdub and got?
'timeout waiting for graph to start'
I'm really not too sure what i'm doing so i think i'll have to give this one up.
But i appreciate the reply. -
DirectshowSource() is prone to problems -- it's at the mercy of what Directshow filters you have installed. As Poisondeathray suggested, you should use DgIndex (MPEG2) or DgAvcIndex (h.264) to produce an index file and then a AviSynth script with Mpeg2Source("filename.d2v") or AvcSource("filename.dga"). That way is much more reliable.
-
Thanks a bunch jagabo - there was just a bit more guidance than poisondeathray offered. He probably overestimated my intelligence
Anyway, i had a go with Dgavcindex and luckily i found the excellent idiots' guide by donald a graf. The upshot is, i opened the file in virtualdub, took the 'decimate by 2' option in 'framerate' and 9 hours later i have a nice shiny 25fps mkv.
Just seems a shame to have to re-encode just to knock out every other frame.
Still, mission accomplished and thanks again for the assistance. -
Originally Posted by Bully9
You would have gotten faster (and better quality) results (25-30% faster, 7 hours encoding, at most, I would guess) by adding:
SelectEven()
to the bottom of the script. This allows you to use 'Fast Recompress' in VDub. -
Manono, I didn't actually say i used full processing mode; as it happens, I did use fast recompress. (The frame rate option is not greyed out.)
Is the SelectEven() avisynth command better than the 'decimate by 2' in virtualdub? -
Originally Posted by Bully9
-
Yeah, it seems it can be done in 'direct stream copy' too, which fooled me into thinking the modification could be done without re-encoding. Luckily i aborted before i completely filled my HDD! I guess that's because it's not a 'real' file that's open in vitualdub?
Makes me think it should technically be possible though?? -
DirectStream copy does decimation by cutting off the end of GOPs. With long GOPs the A/V sync error becomes noticeable as you get further into the GOP. A/V sync is restored at the start of the next GOP, then drifts again. Etc.
Similar Threads
-
Problem with converting .mts 1080 50i and keeping it 50fps
By gf3user in forum Video ConversionReplies: 10Last Post: 23rd Nov 2011, 08:43 -
What's the BEST way to convert HD .m2ts (720p) to a HD .mp4 file (720p)??
By elgy in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 4Last Post: 15th Jan 2011, 19:03 -
HDTV 720p 50 fps -> SDTV PAL 576i/p 25fps
By joosty in forum Video ConversionReplies: 22Last Post: 7th Nov 2010, 22:33 -
Need help converting demuxed 720P 7 GB mkv file
By anonmous in forum Video ConversionReplies: 3Last Post: 3rd Aug 2010, 09:46 -
Converting 720p/60fps file to 30fps?
By mt123 in forum Newbie / General discussionsReplies: 11Last Post: 17th Nov 2009, 12:34