[mythtv-users] Simple way to determine codec used in NUV file?

Isaac Richards ijr at po.cwru.edu
Fri Aug 6 13:13:51 EDT 2004


On Friday 06 August 2004 12:25 pm, Chris Petersen wrote:
> > Is there a simple way to determine what codec (MPEG-4, RTJpeg, MPEG-2
> > etc..) is used in a NUV file? I have found some code examples that might
> > be able to help me- but I was really hoping there was an easy way to do
> > this since it seems so basic.
>
> I was going to suggest nuvinfo (it comes with nuvexport), but I just
> realized that it doesn't do this (apparently not part of the standard
> nuv header?)..  Any of the devs want to tell me how, and I'll add that
> code in.

It's in the extendeddata frame that comes close to the start of the file -- 
check out format.h for the structure of it..  nuppeldecoder.cpp/OpenFile() 
should be pretty straightforward to read over and see where to expect the 
frame.

Isaac


More information about the mythtv-users mailing list