Log in

View Full Version : Crossplatform replacement for DVDPreview


amtm
2nd November 2011, 19:17
I'm working on porting VobBlanker to Qt but one of the major issues is with porting or finding a replacement for DVDPreview from DVD2AVI. So my question is about suitable replacements but I'm still somewhat new to Qt so I'm not sure what is a good option. Would phonon using the videowidget and mediaobject be enough? Can this handle playback if passed an IFO file? Or would creating a widget, or using an existing one if one exists, using ffmpeg or libmpeg2 as the decoder be a better route? I could always try porting DVDPreview but I'm not sure of the utility or if that offers any advantages over the previous options. Thanks.

LoRd_MuldeR
2nd November 2011, 21:17
What about integrating MPlayer? There is a nice GUI for MPlayer, called SMPlayer, that is based on Qt and which does support DVD playback.

amtm
2nd November 2011, 22:36
I can look into that, but a lot would be stripped out since it's really just used for a tiny preview window and I don't need the entire mplayer functionality. That's why I was hoping phonon might work. Thanks.

amtm
12th November 2011, 20:42
Followup question: What is the proper mimetype to query for to make sure when using Phonon that the proper codec is installed? Using phonon to query the availablemimetypes, on my Windows 7 x64 install I see video/mpeg, video/x-mpeg and video/x-mpeg2a. On this (http://www.digitalpreservation.gov/formats/fdd/fdd000028.shtml) page I also see it list video/mpeg2 as a mime type. So is video/x-mpeg2a or video/mpeg2 the proper one to check? Or should I check for the presence of either? Thanks.