Well, I finally found a proper solution to convert my h.264 TS files, But I'm now suffering another glitch.
After the conversion job the output file has missing frames. Around 20 or 40 seconds of the clip 3 or 4 frames are basically skipped. Apart from that the file is fine.
I have no clue why it happens.
This my basic script:
Video = DirectShowSource("video.264", fps=25, audio=false)
Audio = DirectShowSource("audio.ac3", video=false)
Video = Video.ConvertToYV12(interlaced=yes)
AudioDub(Video, Audio)
The TS files are demuxed with tsMuxer and prepared with TSDoctor.
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 19 of 19
Thread
-
-
if you wanna render x264/h264 perfectly in AVISynth, please consider paying $9.99 to Donald A Graft towards appreciation and licence for following utility....
Link : http://neuron2.net/dgavcdecdi/dgavcdecdi.html -
-
Directshowsource isn't necessarily frame accurate either. It relies on system installed filters/codecs/splitter and is unreliable (use it only as a last resort)
Are you sure the FPS is 25 ?
Glitches will often cause desync and dropped frames. Are there still glitches after tsdoctor
BTW, the above could be simplifed
DirectShowSource("file.ts", fps=25)
You don't need ConvertToYV12(interlaced=true) unless your video was in different colorspace -
VirtualDub has the glitch as well, so it looks like its has something to do with the directshow filters as far as I can tell.
-
what is the source of the ts ?
what directshow filters are you using? render the ts in graphstudio (ffdshow, haali ?)
you can try ffmpegsource2 , but it's not too reliable for transport streams in my experience. But it may get you past the glitch
http://code.google.com/p/ffmpegsource/
dgavcindex is depreciated and has problems with interlaced streams, but you can try it
if you have a compatible nvidia card , dgnvtools (not free) is probably the most reliable, because it indexes the file
http://neuron2.net/dgdecnv/dgdecnv.html
dgavcdecdi mentioned above also requires a separate license for diavc on top of the "donation" to donald graft
These last 4 index the file, so are much more reliable than directshow (basically everything is preferrable to directshow) -
I tested graphstudio and what bothers me a bit that it shows "Microsoft DTV-DVD" as the decoder (latest ffshow is installed).
See attachement
-
on win7 you need preferred filter tweaker
right click the 1st box, are you using haali splitter or some other splitter ? -
DirectShowSource() should NOT be used without "convertfps=true".
Regarding TS files, I highly recommend the ArcSoft splitter and decoder. -
Last edited by iGnight; 28th Jan 2011 at 10:42.
-
You can try VideoRedo for 15 days ... and see if it corrects the problem and then use the end result ... for snipping out commercials and such
-
Similar Threads
-
Why i have some frames skipped?
By JekylHyde in forum LinuxReplies: 7Last Post: 14th Mar 2012, 11:54 -
Skipped frames in VOB conversion to DV.
By wasimismail in forum Video ConversionReplies: 1Last Post: 24th Apr 2008, 19:23 -
Fix for skipped frames?
By Tom in HD in forum MacReplies: 1Last Post: 15th Dec 2007, 17:44 -
Skipped frames 2
By Tom in HD in forum MacReplies: 0Last Post: 29th Nov 2007, 10:47 -
skipped frames
By Tom in HD in forum MacReplies: 0Last Post: 26th Nov 2007, 19:41