[mythtv-users] export feature request?
Angel Li
angel at miami.edu
Tue Jun 1 22:25:11 EDT 2004
Jeff Gustafson wrote:
>Hello all,
> I have been trying all sorts of different techniques for exporting the
>recordings that Mythtv makes. There are some really spiffy tools out
>there, but there is a feature missing in all of the ones I've seen so
>far. I'm not sure how to get around this missing feature. It comes
>down to exporting audio.
> I have a pcHDTV card. I would like to export the recordings to DVD.
>At first I was just taking the .nuv file and rescaling it using
>mpeg2tools. That works pretty well, but the problem is that I don't get
>to use the wonderful cutlist feature that is in Mythtv. So I moved on
>to running mythtranscode directly. This works pretty well. I get
>cutlist support, I can pipe the data into rescaler program using fifo's,
>wonderful. The only problem is that mythtranscode seems to send the
>audio as raw *decoded* data and not raw AC3 data. I would like to just
>leave the audio alone since the broadcast audio is just fine for burning
>to DVD.
> I also have a problem with corruption with the mpeg2 due to reception
>glitches. I get around this problem my using mencoder and just 'copy'
>the video and audio info into a pseudo avi file (mencoder doesn't do
>mpeg-ts apparently). This works pretty good and keeps the audio sync
>consistent when I burn it to DVD later.
> Does anyone have a simple program that exports the mpeg2 files with
>little manipulation except for the cutlist? I can take care of the rest
>from there.
> So far the very manual process has worked and produced excellent
>quality DVD's. I would just like to tidy up the process and get
>cutlists working.
>
>
This patch allows mencoder/mplayer to process MPEG2 .nuv files saved by
mythtv:
myth* diff -u libmpdemux/mpeg_hdr.c.orig libmpdemux/mpeg_hdr.c
--- libmpdemux/mpeg_hdr.c.orig 2004-05-26 17:26:10.000000000 -0400
+++ libmpdemux/mpeg_hdr.c 2004-05-26 17:26:10.000000000 -0400
@@ -39,11 +39,13 @@
width = ((height >> 12) + 15) & ~15;
height = ((height & 0xfff) + 15) & ~15;
+#if 0
if ((width > 768) || (height > 576)){
printf("size restrictions for MP at ML or MPEG1 exceeded!
(%dx%d)\n",width,height);
// return 1; /* size restrictions for MP at ML or MPEG1 */
}
-
+#endif
+
picture->aspect_ratio_information = buffer[3] >> 4;
picture->frame_rate_code = buffer[3] & 15;
picture->fps=frameratecode2framerate[picture->frame_rate_code];
I am not sure if the patch breaks something else since mplayer has so
many options.
Angel
More information about the mythtv-users
mailing list