After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 546319 - [resindvd] Stuck on first menu (language selection)
[resindvd] Stuck on first menu (language selection)
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.8
Other Linux
: Normal normal
: 0.10.10
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-04 21:06 UTC by Sven Arvidsson
Modified: 2008-10-29 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
logfile for "the crow" (6.20 KB, text/plain)
2008-10-27 20:31 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
Details
logfile for "the row" using xvimagesink (6.35 KB, text/plain)
2008-10-27 21:33 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
Details

Description Sven Arvidsson 2008-08-04 21:06:08 UTC
As mentioned in bug 531649, I have quite a few DVDs where I get stuck on the first menu, where I'm supposed to select my language. The menu is displayed, but it seems like the buttons isn't recognized as such and I'm stuck.

In case this isn't a known bug, let me know if there's any additional information you need.

Setting pipeline to PAUSED ...
No accelerated IMDCT transform found
libdvdnav: Using dvdnav version 4.1.2 from http://dvd.sf.net
libdvdnav: DVD Title: DVDVolume
libdvdnav: DVD Serial Number: c0e93127        
libdvdnav: DVD Title (Alternative): DVDVolume
libdvdnav: Unable to find map file '/home/sa/.dvdnav/DVDVolume.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
VTS change
cur audio stream change
NAV packet discont: cur_end_ts 99:99:99.999999999 !=  vobu_start_ptm: 0:00:00.060000000 base 0:00:00.000000000
seek completed. New start TS 0:00:00.060000000 pos 0:00:00.000000000
Pipeline is PREROLLING ...
Pushing stream event
Pushing clut event
Pushing spu_select event
Pushing audio_select event
Discont packet
Pushing highlight event with TS 99:99:99.999999999
demux: got segment update 0 start 60000000 stop -1 time 0
sending new segment: update 0 rate 1 format 3, start: 10000000000, stop: -1, time: 0 scr_adjust: 894600(0:00:09.940000000)
****** FIXME: WAIT *****
**** STILL FRAME. Duration 255 ****
demux: got segment update 1 start 60000000 stop 460000000 time 0
sending new segment: update 1 rate 1 format 3, start: 10000000000, stop: 10400000000, time: 0 scr_adjust: 894600(0:00:09.940000000)
**** AUDIO MUNGE: still-state now 1
***********  Sending audio fill: accum = 0:00:00.000000000 still-state=1
Sending 38400 bytes (0:00:00.100000000) of audio data with TS 0:00:10.000000000
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstAudioSinkClock
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-08-06 18:53:30 UTC
I had the same issue with e.g. "Dancer In the Dark" DVD.
This is on OpenSuse 11.0
libdvdnav-0.1.10-112.1
libdvdcss2-1.2.9-1
libdvdread3-0.9.7-4.1
libdvdplay-1.0.1-0.pm.0

not sure what of this is actually used ...
Comment 2 Sven Arvidsson 2008-08-06 20:41:34 UTC
If I try to play the dvd with Totem instead of resin-play I get this error message:

** Message: Error: A DVD subpicture decoder plugin is required to play this stream, but not installed.
gstdecodebin.c(845): close_pad_link (): /play/decodebin1:
No decoder to handle media type 'video/x-dvd-subpicture'

I have version 0.10.8 of -ugly installed.
Comment 3 Jan Schmidt 2008-08-07 08:21:33 UTC
(In reply to comment #2)
> If I try to play the dvd with Totem instead of resin-play I get this error
> message:
> 
> ** Message: Error: A DVD subpicture decoder plugin is required to play this
> stream, but not installed.
> gstdecodebin.c(845): close_pad_link (): /play/decodebin1:
> No decoder to handle media type 'video/x-dvd-subpicture'
> 
> I have version 0.10.8 of -ugly installed.
> 

That sounds like you don't have an up to date gst-plugins-base - gst-plugins-base needs to be CVS to get playbin to autoplug the subpicture overlay correctly.
Comment 4 Sven Arvidsson 2008-10-11 17:29:24 UTC
I'm running 0.10.8.2 of bad and 0.10.21 of base. I'm still having the original problem (stuck in the menu) with a few titles.

If you have no way of reproducing this, I can make available an ISO (or the first part of it) of a movie.
Comment 5 Jan Schmidt 2008-10-12 15:11:00 UTC
Can you name some of the titles? Maybe I'll have one of them already...
Comment 6 Sven Arvidsson 2008-10-13 14:06:16 UTC
Here are titles, with serial number (if that's helpful). As far as I can tell, these are all titles released for the Nordic countries. 

From Dusk Till Dawn		2b2a8715
From Dusk Till Dawn 2 		29446f40
Tron				2cbda2b8
Ran				30ba6d66
Reservoir Dogs 			c0e93127
LOTR: Fellowship of the Ring	2cca6cd3

This inital language selection is for the languge used to navigate the menu, not necessarily the language used for audio/subtitles.

I'm also having trouble with Apocalypse Now Redux 3C212C1A___MVB__, I'm just getting a black window, no menu at all, but I think that's another bug.
Comment 7 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-13 16:27:27 UTC
Jan, like mentioned above. For me it happens with "Dancer in the Dark".
Comment 8 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-27 20:31:33 UTC
Created attachment 121458 [details]
logfile for "the crow"

stuck on first menu that ask for german/english language in two click zones
Comment 9 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-27 20:32:34 UTC
to correct my comment #7, its "the crow" where its stuck for me (see the log in comment #8)
Comment 10 Jan Schmidt 2008-10-27 20:57:40 UTC
The first thing I noticed at the top of that log:

0:00:00.140236952 17650  0x804f050 WARN               default ./grammar.y:799:_gst_parse_yyerror: Error during parsing: syntax error, unexpected $end, expecting LINK

Which pipeline did you run?

Another bug looks like those discs might use different logical and physical stream IDs, but that just means the wrong subpicture stream might get shown.

What do you actually see appear? A black screen? I think maybe what's going on is that the still frame that should be being displayed is lost due to QoS events. We might be able to confirm that by running the resin-play pipeline with a sink that has qos=false.
Comment 11 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-27 21:12:08 UTC
All log where done using 
GST_DEBUG="*:2,resin*:5" GST_DEBUG_NO_COLOR=1 ./resin-play >xxx.log 2>&1 /dev/dvdrw1

I see a screen that loooks like this:

------------------------------------------------

     * click here for english version *

* klicken sie hier für die deutsche fassung *

------------------------------------------------

(where the 2nd line is "klick here for german version)
and thats it. I can click whereever I want, press keys and so on. Nothing happens.
Comment 12 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-27 21:33:27 UTC
Created attachment 121478 [details]
logfile for "the row" using xvimagesink

The issue in the log is because of the $@ in the resin-play script - I removed it localy.

0:00:00.140236952 17650  0x804f050 WARN               default
./grammar.y:799:_gst_parse_yyerror: Error during parsing: syntax error,
unexpected $end, expecting LINK

adding qos=false yields no change.

I also noticed this warning:

(gst-launch-0.10:19187): GStreamer-CRITICAL **: Padname audio is not unique in element dvd, not adding

I was also trying to use xvimagesink as I noticed quite high cpu usage becasue of ffmpegcolorspace. But this dies (see the log) with a X BadAlloc.
Comment 13 Sven Arvidsson 2008-10-28 21:27:04 UTC
http://www.fileqube.com/file/VbQHpxp141036

Here's the first 10MB of the movie "Ran". It seems to be enough to navigate the menu with Xine, and demonstrate the bug with resindvd.
Comment 14 Jan Schmidt 2008-10-29 01:01:04 UTC
Thanks Sven! That's exactly what I needed.

Fixed with this commit:
2008-10-29  Jan Schmidt  <thaytan@noraisin.net>

        * ext/resindvd/resindvdsrc.c:
        Make sure to start the NAV packet processing when changing
        state to PLAYING  by passing a flag that indicates the state
        change is in progress.
        Fixes: #546319
Comment 15 Sven Arvidsson 2008-10-29 01:51:14 UTC
AWESOME! :)
Comment 16 Stefan Sauer (gstreamer, gtkdoc dev) 2008-10-29 09:15:36 UTC
Cool. Will rety my dvd tonight.

@Sven: could you tell how you made that 10mb version (Just dd of first sectors)? How have you verified that it works (loopback mounted the image)? I could do it the same way for DVD that still don't work
Comment 17 Jan Schmidt 2008-10-29 11:56:51 UTC
(In reply to comment #16)
> Cool. Will rety my dvd tonight.
> 
> @Sven: could you tell how you made that 10mb version (Just dd of first
> sectors)? How have you verified that it works (loopback mounted the image)? I
> could do it the same way for DVD that still don't work
> 

I'm not sure how he made the snippet - dd of an unencrypted disc, I guess?

To use it, you can just do dvd:///path/to/ran.img - which works for any libdvdnav proggie.

Comment 18 Sven Arvidsson 2008-10-29 15:41:56 UTC
It was made by using dd on an ISO image of an unencrypted rip of the disc, there might be an easier way to grab the menu though...