View Full Version : [European HDTV / AVC] Problem with interlaced (1080i) Source
hackfish
28th May 2007, 14:10
Hi
I (:helpful:) am using AviSynth DirectShowSource to get a H264 Transport Stream into VirtualDubMod.
Just that you know: With GraphEdit it does absolutley work to play the Transport Stream (Haali Media Splitter, Cyberlink H.264/AVC Decoder, ffdshow Audio Decoder)
But as I try to use AviSynth to load the Transportstream into VirtualDubMod and encode it to XviD (after resizing) I get a problem: The encoding works fine BUT the video is runnning too fast. I've tried everything I could imagine to get the video to normal speed - but I failed. I assume the problem is the interlaced video (1080i) ...
I hope somebody downloads (http://files-upload.com/255136/ris_sat1hd.ts.html)the TransportStream (it's only 32s / 50MB) and tries to get it running with correct speed with AviSynth!
Thank you all very much for helping --> :thanks:
lucassp
28th May 2007, 22:36
well, I encoded that file in x264 and XviD using MeGUI, Haali Media Splitter and CoreAVC, and it plays perfectly.
hackfish
28th May 2007, 23:38
well, I encoded that file in x264 and XviD using MeGUI, Haali Media Splitter and CoreAVC, and it plays perfectly.
I'm confused - I did (right now) install CoreAVC and used the following AVS Script to encode the TS to a XviD File - it's again totally async
DirectShowSource("ris_sat1hd-video.GRF",audio=false) #I used a GraphFile to ensure that CoreAVC is used...
Lanczos4Resize(640,352)
ConvertToYV12()
are sure that your Video is sync?
Jay Bee
28th May 2007, 23:42
Your download doesn't work for me. Use a reliable site like rapidshare.com.
I think the trick you might be looking for is being able to choose which exact filters will be used for decoding. If you can set up a graph that works in graphedit you can remove the renderers, save the graph as a grf file and open this grf file via directshowsource.
For this to work you need to make sure you have avisynth 2.5.6 installed as this function was broken in 2.5.7.
EDIT: I see you already know that trick, was posting at the same time.
hackfish
28th May 2007, 23:47
Your download doesn't work for me. Use a reliable site like rapidshare.com.
I think the trick you might be looking for is being able to choose which exact filters will be used for decoding. If you can set up a graph that works in graphedit you can remove the renderers, save the graph as a grf file and open this grf file via directshowsource.
For this to work you need to make sure you have avisynth 2.5.6 installed as this function was broken in 2.5.7.
EDIT: I see you already know that trick, was posting at the same time.
I assume I've got the problem - I'm using 2.5.7 Thank you!
Jay Bee
28th May 2007, 23:52
I assume I've got the problem - I'm using 2.5.7 Thank you!
Not sure. The problem I experienced is that AVIsynth complained about too many streams or something like that with 2.5.7.
hackfish
29th May 2007, 00:15
I assume I've got the problem - I'm using 2.5.7 Thank you!
No - I didn't get the problem :devil: - I did install 2.5.6 right now - and I'm still having the same problem...
It's really absolutley weird...
If I play the graph in GraphEdit everything is working fine - but AviSynth is failing in versions 2.5.6/.7 to correctly import the Transport Stream and also the GraphFile...
Since I've tried now VirtualDubMod and MeGUI (where the output file had a (wrong?) of FPS 25 instead of the 50 frames of the input file) I assume this is a AviSynth problem - or a problem on my computer - I'll try to encode on my notebook later...
I still appreciating everyone who's trying...
:thanks:
[Edit]
I assume I've got the problem - I'm using 2.5.7 Thank you!
Not sure. The problem I experienced is that AVIsynth complained about too many streams or something like that with 2.5.7.
I assume you were right... :)
ChiDragon
29th May 2007, 01:08
You can use DirectShowSource's "fps" parameter to force 50 fps if you know it's using 25 when it should be 50.
Jay Bee
29th May 2007, 01:10
Maybe check the deinterlacing options of the CoreAVC filter?
G_M_C
29th May 2007, 11:20
Well, for H264 transportstreams, i find that it is best to demux them into their raw components (video.264 + audio.AC3). With many 264-streams you can than use DGAVCIndex/DGAVCDec and open your file though avisynth in a similar fashion as with VOB's/DVD's only in this case with AVCSource. Try it, might be that that works easiest/best.
Warning: Not all H264 encoded files are supported, might be that it doesnt work; But its worht trying imho.
Look in this hread for further info:
http://forum.doom9.org/showthread.php?t=122598
Read that thread and the Readme included thoroughly, because there are some files that need to be installed in specific way.
lucassp
29th May 2007, 14:21
I'm confused - I did (right now) install CoreAVC and used the following AVS Script to encode the TS to a XviD File - it's again totally async
DirectShowSource("ris_sat1hd-video.GRF",audio=false) #I used a GraphFile to ensure that CoreAVC is used...
Lanczos4Resize(640,352)
ConvertToYV12()
are sure that your Video is sync?
I encoded the audio too and, yes :P, it's out of sync. I think the problem is from the .ts file. When I play the .ts file using several players I noticed that the sound starts playing earlier than the image appears on the screen and so the video and audio tracks are synchronized. After I encode the audio and video, and mux them back together, the audio and video tracks start playing at the same time and so they are out of sync.
hackfish
30th May 2007, 18:26
I encoded the audio too and, yes :P, it's out of sync. I think the problem is from the .ts file. When I play the .ts file using several players I noticed that the sound starts playing earlier than the image appears on the screen and so the video and audio tracks are synchronized. After I encode the audio and video, and mux them back together, the audio and video tracks start playing at the same time and so they are out of sync.
yes you're right but this one of two problems.
I still get problems with the encoding (with MeGui and VirtualDub(mod)) although playing the AviSynthScript in Media Player Classic works fine!
I'll use DGAVCIndex (thx @G_M_C) from now on since I've got only async issues and not crazy jumping or fast running videos...
[EDIT] which app are you using for demuxing? Mplayer?
hackfish
lucassp
30th May 2007, 18:32
for .TS files I use Mplayer.
hackfish
30th May 2007, 18:57
for .TS files I use Mplayer.
I'm using it too
but it doesn't tell me how much video and audio are async - does it?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.