Need help with dvd playback

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with dvd playback

Alex Launi
Hi, I'm trying to get Banshee playing DVDs, but I'm having a whale of a time getting the pipeline to keep rolling and actually play DVDs. As I'm sure many of you are familiar with, Banshee handles most media types, and audio cds very well, yet for some reason the pipeline is stalling out with dvds. I can't figure out what the problem is, was hoping someone could help me debug the issue. We've got a fairly complex pipeline, but more or less it's playbin2 using gconf audio and video sinks. There are other elements for eq, visualizations, and etc.

It looks like when you usually start playing a media file, gst goes through a series of internal state changes before the data actually starts flowing down the pipeline. Mine seems to be stalling out after the first state change.

Basically what I'm doing is setting the playbin uri to dvd:// and the device property to /dev/sr0 (my disc drive), and then setting the state to PLAYING. Is there more I should need to do? That's all I'm aware of us doing for video files and audio files. Audio CDs work fine, and dvds play with gst-launch -v playbin2 uri=dvd://

Thanks for any help. If there's more info that would be useful please let me know and I'll provide it.

--
--Alex Launi

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Need help with dvd playback

Marco Ballesio
Hi,

On Sun, Dec 5, 2010 at 9:53 PM, Alex Launi <[hidden email]> wrote:

> Hi, I'm trying to get Banshee playing DVDs, but I'm having a whale of a time
> getting the pipeline to keep rolling and actually play DVDs. As I'm sure
> many of you are familiar with, Banshee handles most media types, and audio
> cds very well, yet for some reason the pipeline is stalling out with dvds. I
> can't figure out what the problem is, was hoping someone could help me debug
> the issue. We've got a fairly complex pipeline, but more or less it's
> playbin2 using gconf audio and video sinks. There are other elements for eq,
> visualizations, and etc.
> It looks like when you usually start playing a media file, gst goes through
> a series of internal state changes before the data actually starts flowing
> down the pipeline. Mine seems to be stalling out after the first state
> change.
> Basically what I'm doing is setting the playbin uri to dvd:// and the device

which element is the "device" property related to?

> property to /dev/sr0 (my disc drive), and then setting the state to PLAYING.
> Is there more I should need to do? That's all I'm aware of us doing for
> video files and audio files. Audio CDs work fine, and dvds play with
> gst-launch -v playbin2 uri=dvd://

posting a backtrace of the stalling point may be of help here. You may
get it running the process under gdb and then asking for a backtrace
when the pipeline gets stuck.

Alternatively, you can send a SIGABRT to the stuck application,
collect the core and the perform a post-mortem analysis.

Regards

>
> Thanks for any help. If there's more info that would be useful please let me
> know and I'll provide it.
>
> --
> --Alex Launi
>
> ------------------------------------------------------------------------------
> What happens now with your Lotus Notes apps - do you make another costly
> upgrade, or settle for being marooned without product support? Time to move
> off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
> use, and manage than apps on traditional platforms. Sign up for the Lotus
> Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel