Log in

View Full Version : HDTV to DVD method?


patrickpkt
9th January 2005, 05:03
I've got a pcHDTV 3000 and I'm trying to get a process together for putting recorded shows onto DVD. I'm running into some problems though. Here's what I've got so far, and I'd appreciate any help in getting the last bit together.

1) record to a MPEG2 transport stream with dtvstream
2) convert to a program stream with ts2ps (from libdvb ebuild)
3) extract MPEG2 video and audio (AC3) elementary streams with tcextract (from transcode)
4) re-encode MPEG2 video stream to DVD-compliant MPEG2 video with ffmpeg. For this, I'm using "ffmpeg -y -i foo-in.m2v -vcodec mpeg2video -target ntsc-dvd -r ntsc -deinterlace -hq -aspect 16:9 foo.m2v" and various permutations of that.

My problem is that I can't multiplex the new video stream back in with the AC3 stream. mplex from mjpegtools fails silently, and tcmplex reports:
ERROR: File foo.m2v is not a 11172-2 or 13818-2 Video stream.

So, any ideas? I've also tried other processes, like using mencoder to convert the transport stream into a MPEG4 file, then using ffmpeg on that, etc. However, I always end up with massive timing issues, if the DVDs even play at all.

Thanks for the help.

unixfs
10th January 2005, 15:40
you can try this patch for mencoder and make an all in one dvd-compatible re-encode:

http://article.gmane.org/gmane.comp.video.mplayer.user/34135/match=new+mpeg+muxer+update

example:

mencoder -of mpeg -mpegopts format=dvd -oac copy -ovc lavc -lavcopts
vcodec=mpeg2:vbitrate=2000:mbd=2:keyint=25:aspect=16/9 -vf scale=720:-2,expand=720:480 -o file.dvd orig.ts