Bug 904792

Summary: gstreamer-1.0: problem with DVD playback
Product: [Fedora] Fedora Reporter: Frank Ansari <mail>
Component: gstreamer1Assignee: Brian Pepple <bdpepple>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: bdpepple, fedora, uraeus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 22:59:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Zeitakademie: Psychologie
none
Desperate Housewives
none
Castle
none
Zeitakademie: Psychologie (debug)
none
Desperate Housewives (debug)
none
Castle (debug) none

Description Frank Ansari 2013-01-27 15:07:31 UTC
Description of problem:
I would like to use totem 3.6.3 for DVD playback. This is not possible because it is using gstreamer-1.0 which is not working correctly. On Fedora 17 which uses gstreamer-0.1 DVD playback was working.

Version-Release number of selected component (if applicable):
totem 3.6.3

How reproducible:
Just use gst-launch-1.0 and see what happens.

Steps to Reproduce:
1. gst-launch-1.0 -v playbin uri=dvd:// 2> debug.log
2.
3.
  
Actual results:
I have choosen 3 DVDs with 3 different results: "Zeitakademie Psychologie", "Desperate Housewives" (Season 4) and "Castle" (Season 1).

The best result is from "Zeitakademie". Here video and sound are working but video is bad because it is flickering all the time. This is really annoying. 

"Desperate Housewives": here the window with the movie is opening for a fraction of a second and that was it.

And finally "Castle": the window is not opening at all. Probalby something goes completely wrong right from the beginning.

Expected results:
Video and sound should work without flickering and anything like this.


Additional info:
Fluendo codec package 16.2 is installed.

Comment 1 Frank Ansari 2013-01-27 15:09:50 UTC
Created attachment 688448 [details]
Zeitakademie: Psychologie

Comment 2 Frank Ansari 2013-01-27 15:10:55 UTC
Created attachment 688449 [details]
Desperate Housewives

Comment 3 Frank Ansari 2013-01-27 15:11:36 UTC
Created attachment 688450 [details]
Castle

Comment 4 Frank Ansari 2013-01-27 15:30:55 UTC
Created attachment 688480 [details]
Zeitakademie: Psychologie (debug)

GST_DEBUG=*:5 gst-launch-0.10 -v playbin2 uri=dvd:// 2> zeitakademie-5.log

Comment 5 Frank Ansari 2013-01-27 15:33:49 UTC
Created attachment 688481 [details]
Desperate Housewives (debug)

GST_DEBUG=*:5 gst-launch-1.0 -v playbin2 uri=dvd:// 2> dh4-5.log

Comment 6 Frank Ansari 2013-01-27 15:35:23 UTC
Comment on attachment 688481 [details]
Desperate Housewives (debug)

GST_DEBUG=*:5 gst-launch-1.0 -v playbin uri=dvd:// 2> dh4-5.log

Comment 7 Frank Ansari 2013-01-27 15:36:55 UTC
Comment on attachment 688480 [details]
Zeitakademie: Psychologie (debug)

GST_DEBUG=*:5 gst-launch-1.0 -v playbin uri=dvd:// 2> zeitakademie-5.log

Comment 8 Frank Ansari 2013-01-27 15:40:03 UTC
Created attachment 688485 [details]
Castle (debug)

GST_DEBUG=*:5 gst-launch-1.0 -v playbin uri=dvd:// 2> castle1-5.log

Comment 9 Brian Pepple 2013-01-27 19:05:32 UTC
DVD playback works fine here on my test machine for F18. I'm not sure what plugins Fluendo includes, but I'm inclined to mark this as NOTABUG, since most likely you are missing one of the gstreamer packages we can't offer within the Fedora collection due to licensing or patent concerns.

Could you verify that you have libdvdcss, and the gstreamer plugins (gstdvdread, etc) needed for dvd playback installed on your system? Thanks.

Comment 10 Brian Pepple 2013-01-27 19:46:27 UTC
Hmmm, been testing the DVD support with about 5 different discs (Fantasia, Star Wars, Super 8, Batman TAS, Fugazi Instrument), and haven't experienced any of the problems you appear to be having.

Glancing real quick at your attached debug files it looks like you're coming across a couple of different bugs, an libdvdread check value failure, a imagesink bug, and an audiosink stream failure which may be related to this bug: https://bugzilla.gnome.org/show_bug.cgi?id=688803

I'll see if I can dig into this a bit more in the week as time permits.

Comment 11 Frank Ansari 2013-01-27 19:49:58 UTC
If it works this is good news. I have this installed:

My repolist:

fedora/18/x86_64
google-chrome
livna 
rpmfusion-free/18/x86_64
rpmfusion-free-updates/18/x86_64
rpmfusion-nonfree/18/x86_64
rpmfusion-nonfree-updates/18/x86_64

My packages:

[root@bat ~]# yum list installed | grep css
libdvdcss.x86_64            1.2.12-1.fc17.remi      @/libdvdcss-1.2.12-1.fc17.remi.x86_64

[root@bat ~]# yum list installed | grep gst
PackageKit-gstreamer-plugin.x86_64
clutter-gst.x86_64          1.6.0-3.fc18            @koji-override-0/$releasever
clutter-gst2.x86_64         1.9.92-1.fc18           @koji-override-0/$releasever
gstreamer.x86_64            0.10.36-2.fc18          @koji-override-0/$releasever
gstreamer-plugins-bad-free.x86_64
gstreamer-plugins-bad-nonfree.x86_64
gstreamer-plugins-base.x86_64
gstreamer-plugins-espeak.x86_64
gstreamer-plugins-good.x86_64
gstreamer-python.x86_64     0.10.22-3.fc18          @koji-override-0/$releasever
gstreamer-rtsp.x86_64       0.10.8-3.fc18           @koji-override-0/$releasever
gstreamer-tools.x86_64      0.10.36-2.fc18          @koji-override-0/$releasever
gstreamer1.x86_64           1.0.5-1.fc18            @updates                    
gstreamer1-libav.x86_64     1.0.2-2.fc18            @rpmfusion-free             
gstreamer1-plugins-bad-free.x86_64
gstreamer1-plugins-bad-free-extras.x86_64
gstreamer1-plugins-bad-freeworld.x86_64
gstreamer1-plugins-base.x86_64
gstreamer1-plugins-base-tools.x86_64
gstreamer1-plugins-good.x86_64
gstreamer1-plugins-good-extras.x86_64
gstreamer1-plugins-ugly.x86_64

Comment 12 Frank Ansari 2013-01-27 19:56:41 UTC
(In reply to comment #10)
> Hmmm, been testing the DVD support with about 5 different discs (Fantasia,
> Star Wars, Super 8, Batman TAS, Fugazi Instrument), and haven't experienced
> any of the problems you appear to be having.
> 
> Glancing real quick at your attached debug files it looks like you're coming
> across a couple of different bugs, an libdvdread check value failure, a
> imagesink bug, and an audiosink stream failure which may be related to this
> bug: https://bugzilla.gnome.org/show_bug.cgi?id=688803
> 
> I'll see if I can dig into this a bit more in the week as time permits.

Thank you for this. Because I guess that I am lost with all this buggy stuff.

As far as I remember I used this page for installing hints:

http://jaisejames.wordpress.com/2012/11/30/fedora-18-missing-video-decoder-audio-decoder-codec-installing/

After I did this there I got errors regarding missing codecs so I also installed the Fluendo codecs. But for me it seems that the errors I run into now have nothing to do with codecs.

Comment 13 Frank Ansari 2013-01-28 20:11:02 UTC
  def install_multimedia
    system('yum -y localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm');
    system('yum -y localinstall --nogpgcheck http://rpm.livna.org/livna-release.rpm');
    system('yum -y install libdvdcss totem gstreamer-plugins-good gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg libdvdread libdvdnav lsdvd');
  end

This was exactly how I installed the stuff before I found the website mentioned above and before I installed the Fluendo codecs. This was what I did with Fedora 17 and I was impressed it worked at once.

Now with Fedora 18 the only thing I saw so far are error messages.

I thought maybe I have to deinstall gstreamer-0.10 completely but this would deinstall a lot of other stuff by dependencies.

Comment 14 Frank Ansari 2013-01-28 20:12:51 UTC
I also want to point out that I did not update Fedora 17 but formatted my HDD and dit a fresh installation.

Comment 15 Frank Ansari 2013-02-17 19:54:50 UTC
Now I found out this: as I found out in the past the behaviour of totem depends very much on the DVDFASTSTART environment parameter.

When I put DVDFASTSTART=yes Desperate Housewives season 6 is working. This is really strange.

On the other hand: "Zeitakedemie: Psychologie" is only working with DVDFASTSTART=no. Otherwise there is an error: "The stream is in the wrong format".

Comment 16 Frank Ansari 2013-07-07 14:16:07 UTC
Today I set up Fedora 19. Test with "Zeitakademie: Psychologie".

Just opening totem results in an error message that the stream is in a wrong version.

With DVDFASTSTART=no the DVD is starting. I get the menu and can select a title.

But it is flickering all the time and so it is quite useless.

Comment 17 Frank Ansari 2013-09-07 17:22:03 UTC
The flickering issue is solved now. I followed the hint to disable deinterlacing. This fixed the problem.

Comment 18 Frank Ansari 2013-09-07 17:31:25 UTC
The other issues still remain. "Desperate Housewives" still give "The stream is in the wrong format".

Comment 19 Fedora End Of Life 2013-12-21 15:19:52 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 20 Fedora End Of Life 2014-02-05 22:59:45 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.