[mythtv] NuppelVideo(Recorder/Player)

Isaac Richards ijr at po.cwru.edu
Sun May 18 13:57:28 EDT 2003

On Sunday 18 May 2003 12:48 pm, Craig Longman wrote:
> Isaac Richards wrote:
> >On Sunday 18 May 2003 03:18 am, Craig Longman wrote:
> >>2) i noticed that the ReencodeFile() doesn't honour the edit lists.
> >> would it be acceptable if it did, as in, if worked on that as a patch,
> >>would it be accepted?  perhaps with a flag passed into it, defaulting to
> >>false.  in my case, i would like to flag off the parts i don't want, and
> >>re-encode it into a smaller file, with the cruft removed.
> >
> >It'd be very acceptable if it did, I would actually have a use for it,
> > then =)
> ok, i'll try to start working on that i guess, this is something i could
> really use.
> i wonder though, i've been thinking about mythmkmovie, and wonder if it
> wouldn't be better to work with that.  i guess i should take a look at
> that project (which already does all the cutlist stuff, iirc).

Right, but you wouldn't be able to play the files back through mythtv anymore 
if you did that.

> >Hmm.. Well, the audio you're getting from the card should be 48000 MP2. 
> > Not sure why it dies but when you resample it to 48kHz, but the pitch
> > shifting is probably because it's just taking the data as 32kHz instead
> > of the 48kHz that it is..  Needs to do some resampling in the transcoder
> > loop to handle that.
> k, then maybe i do know whats going on.  i had the default profile set
> up to record (supposedly) mp3 at 32K.  if those settings were being
> ignored (cause the card encoded it itself) but those parameters were
> somehow written out anyway, then the re-encode would be trying to read
> the file in as a 32K MP3, not a 48K MP2 (which would also perhaps
> account for the annoying whine and hiss that i heard).  any quick
> pointers on where i should look to see what gets written out?

It completely ignores the audio settings for the hardware encoding for now.  
It's recorded at a 48kHz, it's in the file as 48kHz, it gets played back at 
48kHz.  The transcoding process, however, doesn't pay any attention to that 
whatsoever, and just assumes that it's at 32kHz because you said it was.  It 
needs to resample the audio down to 32kHz.

The annoying whine, on the other hand, is an ivtv driver bug (in the msp3400) 


More information about the mythtv-dev mailing list