Log in

View Full Version : problems with decoding .ts file


mav_top
21st January 2005, 19:44
now i explain all, i use hdtv2mpeg to open the .ts files
it found the pids 0x11 and 0x14, now i open DVD2avi (i used also the latest DGINDEX) select the pids and i can see the image perfectly, i save the project .d2v

now i use the scripts i have always used for all the .ts i have, and i see image like scrambled, why ?

how can i fix it ?

i see it right in the DVD2AVI / DGINDEX, then it seems scrambled in Virtualdubmod and if i try to encode it in xvid format for example i have a very bad video i can't see the image or i see green pixels.

it doesn't happen for all the rest of video i have.

any hint ?

thank in advance
mav_top

Guest
21st January 2005, 19:53
Please try DGDMPGDec 1.1.0RC2. Use both the new DGIndex and the new DGDecode. Then report your results. Thank you.

http://neuron2.net/fixd2v/dgmpgdec110rc2.zip

eb
24th January 2005, 12:09
how can i fix it ?
You can use ProjectX to demux to video+audios+subtitles and edit/cut.
It is only program that can demux subtitles and convert them to .srt, .sup or another subtitle format. Most important is that after demuxing in ProjectX all streams are synchronised.
To process video to Xvid use DVD2AVIT3, where you can crop 8 bottom lines and downscale to required size.
Probably there is also suprise for you that exact picture size (pixel matrix) is 1920x816, but in DVD2AVIT3 you can also upscale picture to 1920x1080.

eb

mav_top
24th January 2005, 12:38
neuron2: ok solved with that version, the RC2 and the new dll worked right

i would like to try also project x, but i would like to try a compiled version, i have no compiler to compile that, if u know where to get a compiled version i will try
thanks

mav_top

zeus163
25th January 2005, 06:16
@mav_top

I'm just curious about what script you are using for your .ts files. Would you mind posting it--if you don't mind? I'm just trying to get an idea of what people are using.

Thx!

mav_top
25th January 2005, 12:15
1920x1080/1088i source 29,97 fps

#ASYNTHER HDTV 1088i SOURCE Mpeg d2v file resize at 1280x720 AR=1,77
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\DGDecode.dll")
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\undot.dll")
MPEG2Source("F:\HD\clip.d2v")
Telecide(order=1,guide=1,post=2,vthresh=30)
Decimate()
Crop(0,0,0,-8)
simpleresize(1280,720)

Crop remove the 8 pixel to bring 1088 to 1080 (usually grey bar at the bottom)

Telecide and Decimate to have a 23,976 fps rate

simple resize to have a 1280x720 video output

to have a AR=2,35

Crop(0,132,0,-140)
simpleresize(1280,544)

i'm not sure if i'm using the right resize method, but all the guides use it, i don't know if it has impact on quality

sometimes i use Undot() if the source is not so good or has some rumor/grain

1280x720p 59,98 fps

#ASYNTHER HDTV 720p SOURCE Mpeg d2v AR=1,77
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\DGDecode.dll")
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\decomb521.dll")
Loadplugin("C:\Program Files\AVIsynth 2.5\plugins\undot.dll")
[MPEG2Source("%f")]
SelectEven()
Decimate()
UnDot()

if AR=1,82 final resolution will be 1280x704 so i need to add

Crop(0,8,0,-8)

please post ur scrips and hints too

i would like to have an update guide to rip these TS big files in a DVD XviD 4,7 GB

mav_top

nnigam
26th January 2005, 16:22
In my avs scripts, I use bicubicresize instead. I do not remember reading about sampleresize. Also, I use decimate(cycle=X) where I want to remove 1 frame in X. To remove all duplicate frames, I use fdecimate instead.

ProjectX is great, but I do have several problems with it.

1. If the output files are greater then 4gb, it splits them up, but the audio remains in one file. Then when I try to cut in mpeg2schnitt, I can't because the audio and video files are different. If I manually open the other files, then they come out as separate files with no audio. So, I still have no workable way to cut advertisements when converting to DVD. Otherwise, I can use Virtualdubmod to do come cutting.

2. The d2v that projectX creates are for dvd2avit3 format, and do not not work with dgindex. Is there a conversion tool I should look for?

3. I am getting problems with audio synching on some HD capture off by as much as 5 seconds. I am still trying to figure that out. I notice that this mostly happens in 720p 59.94fps streams. There was some post about different audio formats being used for advertisments and programming, and another about some projectX settings for this, but it still does not work for me.

ProjectX is available as a JAR file. There is no standalone compiled version. You will need to have JRE installed. I downloaded it from sun.java.com an it works perfectly.

mav_top
26th January 2005, 17:15
i have problem with 720p 59.98 too, but not with original audio,

i can mux original audio with the decimate video with no problem

i have problem mux pal audio 25 fps with the decimate video.

i'm trying now with DGDecode instead of mpeg2dec3 1.10 just to see if it is a problem of mpeg2dec3 library.

Anyway the 720p give same problems, this is the second i have , and problem again, the first one had problem to mux original audio with the decimate video, but no problem with audio pal 25 fps.

So maybe or we do something wrong or i don't know

i use

SelectEven()
Decimate() that is equal to Decimate(cycle=5)

mav_top

nnigam
26th January 2005, 17:47
I should have added that the latest dgindex works great. No synch errors, but I do not know how to cut advertisements if processing for dvd.

mav_top
27th January 2005, 09:37
u could cut advertisement with Virtualdubmod, load the .d2v file and there cut the advertisements

mav_top

nnigam
27th January 2005, 17:50
That works for making an avi file for my pc. To make a dvd, I use quenc to open the d2v file and convert to mpeg 2 format. Mpeg2Schnitt would be great for cutting, but I cannot use it since it wants one audio file per video file.

Also, I notice that I can open the projectX m2v files directly in Virtualdubmod. But I am unable to open with a avisynth script. I tried all the open commands that I can find, but it simply crashes vdubmod. Since it can open directly, I guess that vdubmod knows how to open the file directly, but even using the mpeg filters, the file does not open for me. There should be some open command that I do not know about to open them.

Guest
27th January 2005, 19:28
Have you tried MPEG2Source() from DGDecode, using the D2V generated by DGIndex?

bdf
20th February 2005, 17:44
mav_top,

compiled version of projectX at Doom9 > download > digital tv >
projectX

cheers

bdf