[mythtv-users] Internal Video player

Joseph A. Caputo jcaputo1 at comcast.net
Fri Jan 9 19:35:29 EST 2004


On Friday 09 January 2004 18:58, Albert Santoni wrote:
> J. Donavan Stanley wrote:
> 
> > Albert Santoni wrote:
> >
> >> Isaac Richards wrote:
> >>
> >>> It's great that you _are_ integrating things more than some other 
> >>> people are attempting (ie, the streaming thread on -dev), so I 
> >>> consider that a great step forward for mythvideo/dvd.  All I'm 
> >>> saying is that everything could be done with the native video player 
> >>> in mythtv with a little more effort, is all.
> >>>
> >>> Isaac
> >>>  
> >>>
> >> I use .MOV, .AVI, .ASF, and .RAM playback in MythVideo (thanks to 
> >> MPlayer.)
> >>
> >> Could you REALLY implement .MOV and .RAM playback in the internal 
> >> player? I'm all for it, but it might be a bit of work.
> >
> >
> > Those format are no more work than any other with xine-lib.
> >
> > Supported file types are: DVD, VCD, audio CD, mpeg ps(.mpg, .mpeg), 
> > mpeg ts (.ts), ogg (.ogg, .ogm), avi, asf (.asf, .wmv, .wma), 
> > quicktime (.mov, .mp4),  mpeg-video (.mpv, .m2v), mpeg-audio (.mp2, 
> > .mp3), Sega Saturn FILM (.cpk), Id Software RoQ (.roq), wav 
> > (.wav),Autodesk FLIC (.fli), real (.rm, .ra, .ram), raw dv (.dv), 
> > network graphics format (.png, .mng), Creative Voice (.voc), Sun/NeXT 
> > SND/AU (.snd, .au), Wing Commander III (.mve), Westwood Studios files 
> > (.vqa, .aud), Electronic Arts WVE (.wve),  AIFF (.aif, .aiff), 
> > YUV4MPEG2 (.y4m), SMJPEG (.mjpg), raw AC3 (.ac3), Dialogic VOX (.vox), 
> > TechnoTrend PVA (.pva), Playstation STR (.str), Nullsoft Video (.nsv), 
> > 4X Technologies (.4xm)
> >
> > Matroska support is coming along as well.
> >
> >
> > Codecs supported: mpeg 1/2, mpeg 4 (aka OpenDivX), ms mpeg 4, divx 
> > 3/4/5, windows media video 7, motion jpeg, Cinepak, DV, ms video 1 
> > (msvc), ms rle, Sorenson SVQ1/SVQ3, creative yuv (cyuv), roq video, QT 
> > RLE, SMC, RPZA, theora
> >
> >
> >
> >> What about giving a configure option (--enable-xinelib?) that would 
> >> allow playback through the internal player (or Donavan Stanley's 
> >> player) of these special formats....
> >> Good idea, bad idea?
> >
> >
> > I'm going to make it simpler than that.  The library will be able to 
> > be loaded dynamicly and used on the fly if it's not there then things 
> > will work as the always have.  That way no #ifdefs are needed just a 
> > simple "if(pMediaPlayerPlugin != NULL)".
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-users mailing list
> >mythtv-users at mythtv.org
> >http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >  
> >
> 
> I thought Isaac was talking about implementing new formats into the 
> _native_ internal player (ie. the one that plays MPEG2, MPEG4, and RTJPEG)
> That native player, I cannot see playing .RAM and .MOV files "with a 
> little more effort"

Myth uses libavformat & libavcodec (both part of ffmpeg) to decode for A/V 
playback (mythmusic uses libmad & libogg/libvorbis & FLAC).  A list of 
supported container format & codecs is here:

http:/ffmpeg.sourceforge.net/ffmpeg-doc.html#SEC16

RealAudio & RealVideo are supported, as is the QuickTime container, Sorenson 2 
& 3 codecs, WMV 7 (WMV 8 experimental), etc...

Isaac periodically refreshes the Myth source from the main ffmpeg CVS tree, so 
as more codecs get supported by ffmpeg, they can be supported by Myth.

The main obstacle to using the Myth internal player is just hooking everything 
up.  Myth currently depends on its own metadata in the database for things 
like the seektable, cutlists, and (not sure on this) video size/resolution.  
But, the *hard* work (decoding the file/stream) has already been done by 
ffmpeg.

-JAC



More information about the mythtv-users mailing list