View Full Version : What is your method of importing .ts files into nerodigital?


puffpio
15th December 2004, 00:37
Every guide I've read so far is to import it into vdub and they demux the audio..but to get it into nerodigital it shouldn't be demuxed right?

I have a 1080i source that I would like to convert to nero digital, all I want to do is deinterlace the source but no resizing or anything..

Any help?

Sagittaire
15th December 2004, 01:06
.TS -> .D2V project and .AC3 with DVD2AVI or DGIndex
.D2V -> .AVS with avisynth (deinterlace, IVTC, crop, resize ...)
.AVS -> H264 in .MP4 with NeroRecode
.AC3 -> AAC in .MP4 with besweep
Mux audio and video with graphedit and nero filter ...

puffpio
15th December 2004, 02:06
so you dont let nero recode do the audio as well? I was wondering how do to it so that nero recode can convert the audio as well.

acidsex
15th December 2004, 02:21
I have not had a problem just using .ts as the input for recode without the need for using .avs. I encoded some HDV shots from the Sony camera that were .TS and they worked just fine without the need for AVS.

calinb
15th December 2004, 02:34
The problem is much 1080i can be Telecide'ed nicely to 24fps, but Recode2 doesn't seem to do IVTC.

Mpeg2Source("C:\HDTV\test.d2v")
Telecide(order=1,guide=1).Decimate()
video=Undot()
.
.
.
.
#video=ConvertToRGB(video)
audio=DirectShowSource("C:\HDTV\test -375ms.ac3")
video=AudioDub(video,audio)
DelayAudio(video, -0.375)
Return(video)

sometimes works with Recode2 and sometimes doesn't :( On one of my systems, I need to ConvertToRGB for Recode to open the .avs file. On the other machines, it's unecessary. I tried HuffYUV to no avail.

Also, I sometimes get "Unknown error in VOB encoder" partway thru the encode. Other times, Recode2 completes okay.

puffpio
15th December 2004, 03:27
Luckily for me I don't need to inverse telecine as my source is not a movie but a sports broadcast. So I'm sure they recorded it in the frame rate that is being displayed

puffpio
15th December 2004, 04:06
after I renamed the .ts file into .mpeg I was able to use it directly into Recode. Unfortunately it wasn't able to see the audio stream in the file (AC3 DD 2.0)

puffpio
15th December 2004, 04:47
thanks for everyone's help..

what is a good bit per pixel estimation for a decent encode? I am encoding a 2 hour 1920x1080p video (but cropped to a smaller rez) to fit one DVD and I think that'll be enough bitrate..but if I could fit it onto 2 CD's or something that would be awesome

calinb
15th December 2004, 05:58
Originally posted by puffpio
after I renamed the .ts file into .mpeg I was able to use it directly into Recode. Unfortunately it wasn't able to see the audio stream in the file (AC3 DD 2.0) After converting my .ts and .tp files with HDTV2MPEG2, Recode2 seems to see both 2-ch and 5.1 streams okay in the resulting mpeg file okay. Check it out.

Maybe avisynth DirectShowSource would help too. I've used both AC3Filter070b and Intervideo DSFs. You have to set AC3Filter to 2-ch or 5.1 playback, as appropriate, when using DirectShowSource. But, as I posted earlier, I've had mixed luck with avisynth scripts and Recode2.

puffpio
15th December 2004, 06:55
checking out hdtv2mpeg2 now...it sucks that it has no real documentation but I think I got the hang of it
any suggestions on target bits per pixel?

puffpio
15th December 2004, 10:00
HDTV2MPEG2 takes my 13gb .TS video which plays fine in VLC and turns it into a 16GB mpeg2 video which only plays video and no audio.

Is it possible my .TS is corrups? It is reporting 0xE0 and 0xFFFF for video and audio PID's

puffpio
15th December 2004, 12:43
So when I get a d2v output from dgindex OR dvd2avit3 and put it into an avisynth avs file, then open it in virtualdubmod I get mostly green crap with some normal video stuff on the upper portion of the video with macroblocks going into the green.

In fact..the preview window of HDTV2MPEG2 looks exactly like this except instead of green it's black...but why can videolan play it correctly? this is really frustating

I have a .TS that plays fine in videolan....altho it has wierd video and audio PID's (0xE0 and 0x80..altho HDTV2MPEG2 reports 0xFFFFFFF as the audio PID)

I'm able to extract the audio to an ac3 file..but I still cannot retrieve the video and mux them in avisynth...in fact I haven't been able to retrieve the video at all..except for playing the .TS in videolan

calinb
15th December 2004, 20:35
Originally posted by puffpio
...but why can videolan play it correctly? this is really frustating
I feel your pain--not all transport streams are created equal/identical. VLC uses ffmpeg so install the latest ffdshow DirectShowFilter (DSF) (mpeg2 support is recent) and configure the ffdshow decode menu to decode mpeg2 and transport streams with ffmpeg. Then use Radlight Filter Manager to set the merit of ffdshow high enough to be the Windows default. (Check by opening/rendering the file(s) with Graphedit.) Then try to read it with DirectShowSource in your avisynth script.

I had some problems converting to mpeg files with earlier versions of HDTVtoMPEG, but it works well for me now (version 1.11.0.0/472KB, according to Windows Properties). I'm converting streams from my cable STB firewire and my Dvico Fusion III OTA card.

You could try running the .ts file through a repair utility. I'll provide a link later...can't remember which one I use at home.

puffpio
15th December 2004, 22:12
Yeah any repair util would be awesome

Maybe the problem is that my .TS is from a PAL source? it definately uses wacky PID's. VLC says the audio straem is labeled "Deutsch" although the audio is in English

calinb
16th December 2004, 05:14
Here's the one I use:

http://www.avsforum.com/avs-vb/showthread.php?s=&threadid=442446&perpage=20&highlight=mpeg2repair&pagenumber=1

The beta versions time out after a while, to encourage updating, so be prepared to download new binaries periodically (or constantly patch your registry :)) Mark's null packet saver is pretty handy too!

puffpio
16th December 2004, 11:53
Running that program fixes the .TS so that HDTV2MPEG2 can read it properly..but the output of HDTV2MPEG2 still isn't usable.

unixfs
16th December 2004, 12:30
Originally posted by calinb
I feel your pain--not all transport streams are created equal/identical. VLC uses ffmpeg so install the latest ffdshow DirectShowFilter (DSF) (mpeg2 support is recent) and configure the ffdshow decode menu to decode mpeg2 and transport streams with ffmpeg. Then use Radlight Filter Manager to set the merit of ffdshow high enough to be the Windows default. (Check by opening/rendering the file(s) with Graphedit.) Then try to read it with DirectShowSource in your avisynth script.


VLC doesn't use any dshow filter for decoding and demuxing; it has its
own TS demuxer (it was born to play TS) and may use ffmpeg's libavcodec
or libmpeg2 to decode mpeg2, so there's no dependency whatsoever
between VLC and FFDSHOW

Leak
16th December 2004, 13:20
Originally posted by unixfs
VLC doesn't use any dshow filter for decoding and demuxing; it has its own TS demuxer (it was born to play TS) and may use ffmpeg's libavcodec or libmpeg2 to decode mpeg2, so there's no dependency whatsoever between VLC and FFDSHOW

I think he meant that VLC and FFDSHOW use the same libraries for decoding, so if it works with VLC it should also be decodable with FFDSHOW - which you can then feed into Nero Digital; you can't do that with VLC...

np: Frankie Goes To Hollywood - Welcome To The Pleasuredome (Escape Act Video Mix) (Twelve Inches (Disc 2))

puffpio
16th December 2004, 18:51
Yeah..I tried his method of installing ffdshow and promoting the codec but it didn't really work.

I DID try loading the .ts into graphedit and manually building a decoding graph that uses ffdshow and it seems to work though...the audio kind of crackles a little bit though....the thing is, using graphedit I can see it uses the Nero Splitter to try and split the .TS file. I wonder how I can use the VLC .TS splitter..it seems to work beautifully

calinb
16th December 2004, 19:58
Originally posted by Leak
I think he meant that VLC and FFDSHOW use the same libraries for decoding, so if it works with VLC it should also be decodable with FFDSHOW - which you can then feed into Nero Digital; you can't do that with VLC... Yeah, that's what I meant. I had problems getting correct playback of ReplayTV 2000 mpeg files with my installed base of DSFs, but VLC played the video perfectly (but not the audio :() That was a clue to me to try ffdshow. Worked perfectly. Maybe a similar approach to the splitter problem will yield positive results, but I don't know what VLC uses for a splitter, off hand.

You're so correct, unixfs, VLC's what I turn to for problematic stream playback. Hmmm, that presents another idea: maybe you can use VLC to preprocess/convert the .ts files to something that Nero can read. VLC should be able to serve/stream or write to a file anything that it can read, but I don't have much experience with these features.