Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

MPEG-TS transcoding

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


mloewen at cpumagic

Mar 27, 2008, 6:18 AM

Post #1 of 7 (4258 views)
Permalink
MPEG-TS transcoding

I recently added a HDHomeRun to my MythTV 0.21 setup. It works fine,
and will record (unencrypted) programs from my Comcast cable. The problem
I have is in trying to convert the resulting MPEG-TS files to a format
suitable for burning to DVD (I use Ulead DVD Movie Factory 5). I've used
mythtranscode to convert the TS file, thus:

mythtranscode -m -e dvd -i infile.mpg -o outfile.mpg

The resulting file is playable on Power DVD and every other MPEG player
I have installed, where the original TS file is not. When I import the
file into DVD Movie Factory, the video length is correctly displayed, but
the projected file size is in excess of 5GB (the MPEG file itself is only
2.3GB). If I continue the authoring process in DVD Movie Factory (which
takes several hours longer than usual), the resulting ISO image is very
jerky. I've even tried adjusting the compression in DVDMF to match the
MPEG file (3300 VBR) with the same results. BTW, these are SD, not HD.

Any suggestions or incantations to produce a useable MPEG file for
DVDMF? Files from my other capture card, a PVR-350, work perfectly.


Mike Loewen mloewen [at] cpumagic
Old Technology http://sturgeon.css.psu.edu/~mloewen/Oldtech/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


knowledgejunkie at gmail

Mar 27, 2008, 8:34 AM

Post #2 of 7 (4229 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

On 27/03/2008, Mike Loewen <mloewen [at] cpumagic> wrote:

> Any suggestions or incantations to produce a useable MPEG file for
> DVDMF? Files from my other capture card, a PVR-350, work perfectly.

My Windows toolchain for producing DVDs from my standard definition
DVB-T/PVR-x50 recordings is:

i) ProjectX
ii) Cuttermaran
iii) DVD Styler

Note that I never re-encode recordings to lower bitrate MPEG-2 (I
might use tcrequant to shrink recordings though, or transcode to XVID
if archiving a lot of video) so the recorded quality is the quality I
see on the final DVD.

--
Nick Morrott

MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at salfter

Mar 28, 2008, 8:21 PM

Post #3 of 7 (4212 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

Mike Loewen wrote:
> I recently added a HDHomeRun to my MythTV 0.21 setup. It works fine,
> and will record (unencrypted) programs from my Comcast cable. The problem
> I have is in trying to convert the resulting MPEG-TS files to a format
> suitable for burning to DVD (I use Ulead DVD Movie Factory 5).

Try converting them to program streams. MythTV's built-in transcoder will do
this losslessly (and will chop out commercials while it's at it, if the
recording has a cutlist associated with it). The last time I needed to make a
DVD for someone, I did this, fed the result into mencoder to downrez it from
720p to something DVD-compatible, and burned the resulting file with DVDStyler:
an all-Linux toolchain.

You could also try HDTVtoMPEG2, which also converts TS to PS and runs under
both Windows and Wine.

Come to think of it, if you're trying to put any sort of HD video on DVD (in
the DVD-Video sense, which would allow playback in a DVD player), you will have
to reencode it. Both 1080i and 720p need to be reduced in resolution to
720x480. 1080i is already at a suitable framerate, so you can either do
inverse 3:2 pulldown (for film) and encode at 24000/1001 fps or drop a field
and encode at 30000/1001 fps. 720p is usually broadcast at 60000/1001 fps, so
you need to throw out a frame. With mencoder, the options "-fs 60000/1001
-ofps 30000/1001" will do that (the result is 30000/1001 fps progressive-scan).

_/_
/ v \ Scott Alfter
(IIGS( http://alfter.us/ Top-posting!
\_^_/ rm -rf /bin/laden >What's the most annoying thing on Usenet?

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


st3v3.sm1th at gmail

Mar 29, 2008, 2:05 AM

Post #4 of 7 (4200 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

On 29/03/2008, Scott Alfter <mythtv [at] salfter> wrote:
> Mike Loewen wrote:
> > I recently added a HDHomeRun to my MythTV 0.21 setup. It works fine,
> > and will record (unencrypted) programs from my Comcast cable. The problem
> > I have is in trying to convert the resulting MPEG-TS files to a format
> > suitable for burning to DVD (I use Ulead DVD Movie Factory 5).
>
>
> Try converting them to program streams. MythTV's built-in transcoder will do
> this losslessly (and will chop out commercials while it's at it, if the
> recording has a cutlist associated with it). The last time I needed to make a
> DVD for someone, I did this, fed the result into mencoder to downrez it from
> 720p to something DVD-compatible, and burned the resulting file with DVDStyler:
> an all-Linux toolchain.
>
> You could also try HDTVtoMPEG2, which also converts TS to PS and runs under
> both Windows and Wine.
>
> Come to think of it, if you're trying to put any sort of HD video on DVD (in
> the DVD-Video sense, which would allow playback in a DVD player), you will have
> to reencode it. Both 1080i and 720p need to be reduced in resolution to
> 720x480. 1080i is already at a suitable framerate, so you can either do
> inverse 3:2 pulldown (for film) and encode at 24000/1001 fps or drop a field
> and encode at 30000/1001 fps. 720p is usually broadcast at 60000/1001 fps, so
> you need to throw out a frame. With mencoder, the options "-fs 60000/1001
> -ofps 30000/1001" will do that (the result is 30000/1001 fps progressive-scan).
>
> _/_
> / v \ Scott Alfter
> (IIGS( http://alfter.us/ Top-posting!
> \_^_/ rm -rf /bin/laden >What's the most annoying thing on Usenet?
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Mytharchive?!?! With ProjectX as well it does a perfect job on SD at
least and there's no reason it won't do HD. ProjectX is specifically
for demuxing TS streams with no loss of sync.
Cheers
Steve
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mloewen at cpumagic

Mar 29, 2008, 5:25 AM

Post #5 of 7 (4195 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

On Sat, 29 Mar 2008, Steve Smith wrote:

>> Mike Loewen wrote:
>> > I recently added a HDHomeRun to my MythTV 0.21 setup. It works fine,
>> > and will record (unencrypted) programs from my Comcast cable. The problem
>> > I have is in trying to convert the resulting MPEG-TS files to a format
>> > suitable for burning to DVD (I use Ulead DVD Movie Factory 5).
>>
> Mytharchive?!?! With ProjectX as well it does a perfect job on SD at
> least and there's no reason it won't do HD. ProjectX is specifically
> for demuxing TS streams with no loss of sync.

I've tried ProjectX to demux the streams, and without exception the
video (m2v) stream is jerky. It's possible that there's a setting in
ProjectX that will make it work, but it seems to work for everyone else.
I did manage to get a good transcode with 'mencoder'.


Mike Loewen mloewen [at] cpumagic
Old Technology http://sturgeon.css.psu.edu/~mloewen/Oldtech/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


vbtalent at gmail

Apr 7, 2008, 7:02 AM

Post #6 of 7 (4150 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

Have you tried "Not Re-encoding" the file in Myth?

I do this with my TS recordings and it works fine.

TW,


st3v3.sm1th at gmail

Apr 7, 2008, 7:46 AM

Post #7 of 7 (4148 views)
Permalink
Re: MPEG-TS transcoding [In reply to]

On 29/03/2008, Mike Loewen <mloewen [at] cpumagic> wrote:
> On Sat, 29 Mar 2008, Steve Smith wrote:
>
> >> Mike Loewen wrote:
> >> > I recently added a HDHomeRun to my MythTV 0.21 setup. It works fine,
> >> > and will record (unencrypted) programs from my Comcast cable. The problem
> >> > I have is in trying to convert the resulting MPEG-TS files to a format
> >> > suitable for burning to DVD (I use Ulead DVD Movie Factory 5).
> >>
>
> > Mytharchive?!?! With ProjectX as well it does a perfect job on SD at
> > least and there's no reason it won't do HD. ProjectX is specifically
> > for demuxing TS streams with no loss of sync.
>
>
> I've tried ProjectX to demux the streams, and without exception the
> video (m2v) stream is jerky. It's possible that there's a setting in
> ProjectX that will make it work, but it seems to work for everyone else.
> I did manage to get a good transcode with 'mencoder'.
>
>
>
> Mike Loewen mloewen [at] cpumagic
> Old Technology http://sturgeon.css.psu.edu/~mloewen/Oldtech/
> _______________________________________________
>
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Hmm,

I'm very surprised ProjectX messed up, it's meant to be the bees.

Since your mythtranscoded PS files are OK ish you should start from there.

Maybe it's the resolution, if it's not a standard DVD resolution that
can mess things up.
Your DVD creation software will try to resize it to a suitable size.

Otherwise you could try using something like mencoder to remux the
file to something usefull.

However, I still say if the original file is SD then the Mytharchive
plugin should do the trick without resorting to any Windows spells.

Cheers

Steve
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.