"libdvdread: Invalid main menu IFO" on ppc
gst-launch dvdreadsrc device=/dev/hdc ! dvddemux name=dvd dvd. ! mpeg2dec ! queue ! ffmpegcolorspace ! xvimagesink dvd. ! a52dec ! audioconvert ! audioresample ! queue ! osssink Setting pipeline to PAUSED ... No accelerated IMDCT transform found
I've just received a bug report: === Opened by W. Michael Petullo on 2008-04-15 04:11 EST [reply] Description of problem: I have been unable to play DVD's with gstreamer-plugins-ugly-0.10.7-1.lvn9.ppc when it is built against libdvdread-4.1.1-6.fc9.ppc. I rebuilt gstreamer-plugins-ugly against the older libdvdread-0.9.7-3.fc8 and it worked fine. I receive an error that states, "libdvdread: Invalid main menu IFO (VIDEO_TS.IFO)." Here is an example: libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Invalid main menu IFO (VIDEO_TS.IFO). ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/dvdreadsrc0: Could not open DVD Additional debug info: dvdreadsrc.c(236): gst_dvd_read_src_start (): /pipeline0/dvdreadsrc0: ifoOpen() failed: File exists Setting pipeline to NULL ... FREEING pipeline ... [...] === https://bugzilla.redhat.com/show_bug.cgi?id=442508 Regards, R. -- Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Tuesday 15 April 2008 17:58:30 Dominik 'Rathann' Mierzejewski wrote:
I've just received a bug report: === Opened by W. Michael Petullo on 2008-04-15 04:11 EST [reply]
Description of problem: I have been unable to play DVD's with gstreamer-plugins-ugly-0.10.7-1.lvn9.ppc when it is built against libdvdread-4.1.1-6.fc9.ppc. I rebuilt gstreamer-plugins-ugly against the older libdvdread-0.9.7-3.fc8 and it worked fine.
I receive an error that states, "libdvdread: Invalid main menu IFO
(VIDEO_TS.IFO)." Here is an example:
gst-launch dvdreadsrc device=/dev/hdc ! dvddemux name=dvd dvd. ! mpeg2dec !
queue ! ffmpegcolorspace ! xvimagesink dvd. ! a52dec ! audioconvert ! audioresample ! queue ! osssink Setting pipeline to PAUSED ... No accelerated IMDCT transform found libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Invalid main menu IFO (VIDEO_TS.IFO).
ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/dvdreadsrc0: Could not open DVD Additional debug info: dvdreadsrc.c(236): gst_dvd_read_src_start (): /pipeline0/dvdreadsrc0: ifoOpen() failed: File exists Setting pipeline to NULL ... FREEING pipeline ... [...] === https://bugzilla.redhat.com/show_bug.cgi?id=442508
Regards, R.
hard to understand what's wrong: was he using our dvdnav? what dvd title is that? maybe as issue with gstreamer? too few details
On Wednesday, 16 April 2008 at 18:30, Nico Sabbi wrote:
On Tuesday 15 April 2008 17:58:30 Dominik 'Rathann' Mierzejewski wrote:
I've just received a bug report: === Opened by W. Michael Petullo on 2008-04-15 04:11 EST [reply]
Description of problem: I have been unable to play DVD's with gstreamer-plugins-ugly-0.10.7-1.lvn9.ppc when it is built against libdvdread-4.1.1-6.fc9.ppc. I rebuilt gstreamer-plugins-ugly against the older libdvdread-0.9.7-3.fc8 and it worked fine.
I receive an error that states, "libdvdread: Invalid main menu IFO
(VIDEO_TS.IFO)." Here is an example:
gst-launch dvdreadsrc device=/dev/hdc ! dvddemux name=dvd dvd. ! mpeg2dec !
queue ! ffmpegcolorspace ! xvimagesink dvd. ! a52dec ! audioconvert ! audioresample ! queue ! osssink Setting pipeline to PAUSED ... No accelerated IMDCT transform found libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Invalid main menu IFO (VIDEO_TS.IFO).
ERROR: Pipeline doesn't want to pause. ERROR: from element /pipeline0/dvdreadsrc0: Could not open DVD Additional debug info: dvdreadsrc.c(236): gst_dvd_read_src_start (): /pipeline0/dvdreadsrc0: ifoOpen() failed: File exists Setting pipeline to NULL ... FREEING pipeline ... [...] === https://bugzilla.redhat.com/show_bug.cgi?id=442508
Regards, R.
hard to understand what's wrong: was he using our dvdnav?
Yes, he was. It was 4.1.1 patched by me to be almost the same as 4.1.2. I'll push 4.1.2 and ask for retest, but I'm not expecting any difference.
what dvd title is that? maybe as issue with gstreamer?
He says there are similar issues with vlc. I've asked him to provide mplayer -v dvd:// output. Regards, R. -- Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Thursday, 17 April 2008 at 15:25, Dominik 'Rathann' Mierzejewski wrote:
On Wednesday, 16 April 2008 at 18:30, Nico Sabbi wrote: [...]
what dvd title is that? maybe as issue with gstreamer?
He says there are similar issues with vlc. I've asked him to provide mplayer -v dvd:// output.
And here it is: I have tried "Blackhawk Down" and "The Last of the Mohicans." Both are genuine region 1 DVD's. Here is the output of "mplayer -v dvd://" when trying to play "The Last of the Mohicans": MPlayer SVN-r25979 rpm.livna.org (C) 2000-2007 MPlayer Team AltiVec found CPU: PowerPC get_path('codecs.conf') -> '/home/mike/.mplayer/codecs.conf' Reading /home/mike/.mplayer/codecs.conf: Can't open '/home/mike/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer --mandir=/usr/share/man --confdir=/etc/mplayer --libdir=/usr/lib --codecsdir=/usr/lib/codecs --disable-encoder=FAAC --disable-encoder=MP3LAME --disable-encoder=X264 --enable-largefiles --enable-unrarexec --disable-termcap --disable-bitmap-font --enable-lirc --enable-joystick --disable-smb --disable-dvdread-internal --disable-libdvdcss-internal --enable-menu --disable-live --disable-faad-internal --disable-tremor-internal --disable-libamr_nb --disable-libamr_wb --disable-mad --disable-svga --enable-xvmc --disable-directfb --disable-svga --disable-arts --disable-esd --disable-jack --disable-openal --enable-runtime-cpudetection --target=ppc-linux --language=all --with-xvmclib=XvMCW CommandLine: '-v' 'dvd://' init_freetype Using Unoptimized OnScreenDisplay get_path('fonts') -> '/home/mike/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/mike/.mplayer/input.conf' Can't open input config file /home/mike/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 83 binds Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('.conf') -> '/home/mike/.mplayer/.conf' Playing dvd://. get_path('sub/') -> '/home/mike/.mplayer/sub/' URL: dvd:// libdvdread: Using libdvdcss version 1.2.9 for DVD access Reading disc structure, please wait... libdvdread: Invalid main menu IFO (VIDEO_TS.IFO). Can't open VMG info! No stream found to handle url dvd:// vo: x11 uninit called but X11 not inited.. Exiting... (End of file) HTH, R. -- Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Il Saturday 19 April 2008 11:43:11 Dominik 'Rathann' Mierzejewski ha scritto:
On Thursday, 17 April 2008 at 15:25, Dominik 'Rathann' Mierzejewski wrote:
On Wednesday, 16 April 2008 at 18:30, Nico Sabbi wrote: [...]
what dvd title is that? maybe as issue with gstreamer?
He says there are similar issues with vlc. I've asked him to provide mplayer -v dvd:// output.
And here it is: I have tried "Blackhawk Down" and "The Last of the Mohicans." Both are genuine region 1 DVD's. Here is the output of "mplayer -v dvd://" when trying to play "The Last of the Mohicans":
libdvdread: Using libdvdcss version 1.2.9 for DVD access Reading disc structure, please wait... libdvdread: Invalid main menu IFO (VIDEO_TS.IFO). Can't open VMG info!
can you upload the IFOs, please?
On Saturday, 19 April 2008 at 11:41, Nico Sabbi wrote:
Il Saturday 19 April 2008 11:43:11 Dominik 'Rathann' Mierzejewski ha scritto: [...]
libdvdread: Using libdvdcss version 1.2.9 for DVD access Reading disc structure, please wait... libdvdread: Invalid main menu IFO (VIDEO_TS.IFO). Can't open VMG info!
can you upload the IFOs, please?
I've asked the reporter to provide them. R. -- Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Saturday, 19 April 2008 at 11:50, Dominik 'Rathann' Mierzejewski wrote:
On Saturday, 19 April 2008 at 11:41, Nico Sabbi wrote:
Il Saturday 19 April 2008 11:43:11 Dominik 'Rathann' Mierzejewski ha scritto: [...]
libdvdread: Using libdvdcss version 1.2.9 for DVD access Reading disc structure, please wait... libdvdread: Invalid main menu IFO (VIDEO_TS.IFO). Can't open VMG info!
can you upload the IFOs, please?
I've asked the reporter to provide them.
------- Additional Comments From mike@flyn.org 2008-04-20 13:16 EST ------- Created an attachment (id=303059) --> (https://bugzilla.redhat.com/attachment.cgi?id=303059&action=view) VIDEO_TS.IFO from The Last of the Mohicans I also tried libdvdnav-4.1.2-1.fc9 and found that I still had this problem. ------- Attached to this mail, too. Regards, R. -- Fedora contributor http://fedoraproject.org/wiki/DominikMierzejewski Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Il Monday 21 April 2008 21:56:42 Dominik 'Rathann' Mierzejewski ha scritto:
------- Additional Comments From mike@flyn.org 2008-04-20 13:16 EST ------- Created an attachment (id=303059) --> (https://bugzilla.redhat.com/attachment.cgi?id=303059&action=view) VIDEO_TS.IFO from The Last of the Mohicans
I also tried libdvdnav-4.1.2-1.fc9 and found that I still had this problem.
please, svn update and report where it fails (I added some overdue debug message)
On Sunday, 27 April 2008 at 11:51, Nico Sabbi wrote:
Il Monday 21 April 2008 21:56:42 Dominik 'Rathann' Mierzejewski ha scritto:
------- Additional Comments From mike@flyn.org 2008-04-20 13:16 EST ------- Created an attachment (id=303059) --> (https://bugzilla.redhat.com/attachment.cgi?id=303059&action=view) VIDEO_TS.IFO from The Last of the Mohicans
I also tried libdvdnav-4.1.2-1.fc9 and found that I still had this problem.
please, svn update and report where it fails (I added some overdue debug message)
Sorry it took so long. The output below is produced using libdvdread r1043 from before the split. I hope it's good enough. === [mike@imp tmp]$ mplayer -v dvd:// MPlayer dev-SVN-r26936-4.3.0 (C) 2000-2008 MPlayer Team AltiVec found CPU: PowerPC get_path('codecs.conf') -> '/home/mike/.mplayer/codecs.conf' Reading /home/mike/.mplayer/codecs.conf: Can't open '/home/mike/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer --mandir=/usr/share/man --confdir=/etc/mplayer --libdir=/usr/lib --codecsdir=/usr/lib/codecs --disable-encoder=FAAC --disable-encoder=MP3LAME --disable-encoder=X264 --enable-largefiles --enable-unrarexec --disable-termcap --disable-bitmap-font --enable-lirc --enable-joystick --disable-nemesi --disable-smb --disable-dvdread-internal --disable-libdvdcss-internal --enable-menu --disable-faad-internal --disable-tremor-internal --disable-libamr_nb --disable-libamr_wb --disable-mad --enable-xvmc --disable-directfb --disable-svga --disable-arts --disable-esd --disable-jack --disable-openal --enable-runtime-cpudetection --target=ppc-linux --language=all --with-fribidi-config=pkg-config fribidi --with-xvmclib=XvMCW CommandLine: '-v' 'dvd://' init_freetype Using Unoptimized OnScreenDisplay get_path('fonts') -> '/home/mike/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/mike/.mplayer/input.conf' Can't open input config file /home/mike/.mplayer/input.conf: No such file or directory Parsing input config file /etc/mplayer/input.conf Input config file /etc/mplayer/input.conf parsed: 89 binds Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('.conf') -> '/home/mike/.mplayer/.conf' Playing dvd://. get_path('sub/') -> '/home/mike/.mplayer/sub/' URL: dvd:// libdvdread: Using libdvdcss version 1.2.9 for DVD access Reading disc structure, please wait... libdvdread: Invalid main menu IFO (VIDEO_TS.IFO), ifoRead_FP_PGC() failed. Can't open VMG info! No stream found to handle url dvd:// vo: x11 uninit called but X11 not initialized.. Exiting... (End of file) === Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann Livna http://rpm.livna.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Friday, 01 August 2008 at 00:14, Dominik 'Rathann' Mierzejewski wrote:
On Sunday, 27 April 2008 at 11:51, Nico Sabbi wrote:
Il Monday 21 April 2008 21:56:42 Dominik 'Rathann' Mierzejewski ha scritto:
------- Additional Comments From mike@flyn.org 2008-04-20 13:16 EST ------- Created an attachment (id=303059) --> (https://bugzilla.redhat.com/attachment.cgi?id=303059&action=view) VIDEO_TS.IFO from The Last of the Mohicans
I also tried libdvdnav-4.1.2-1.fc9 and found that I still had this problem.
please, svn update and report where it fails (I added some overdue debug message)
Sorry it took so long. The output below is produced using libdvdread r1043 from before the split. I hope it's good enough.
OK, I think the culprit has been found. src/bswap.h depends on WORD_BIGENDIAN being defined on big-endian arch to select appropriate macros. configure2 does not produce that definition in config.h, so the code ends up being incorrect on ppc and other big-endian arches. I'm attaching a quick and dirty patch to fix that (the test method is taken from FFmpeg's configure). Maybe Diego has some idea how to improve it. Also we need someone with a ppc to test it. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Sunday, 27 September 2009 at 02:21, Dominik 'Rathann' Mierzejewski wrote: [...]
OK, I think the culprit has been found. src/bswap.h depends on WORD_BIGENDIAN being defined on big-endian arch to select appropriate macros. configure2 does not produce that definition in config.h, so the code ends up being incorrect on ppc and other big-endian arches.
I'm attaching a quick and dirty patch to fix that (the test method is taken from FFmpeg's configure). Maybe Diego has some idea how to improve it. Also we need someone with a ppc to test it.
Ping? Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Saturday, 14 November 2009 at 22:06, Dominik 'Rathann' Mierzejewski wrote:
On Sunday, 27 September 2009 at 02:21, Dominik 'Rathann' Mierzejewski wrote: [...]
OK, I think the culprit has been found. src/bswap.h depends on WORD_BIGENDIAN being defined on big-endian arch to select appropriate macros. configure2 does not produce that definition in config.h, so the code ends up being incorrect on ppc and other big-endian arches.
I'm attaching a quick and dirty patch to fix that (the test method is taken from FFmpeg's configure). Maybe Diego has some idea how to improve it. Also we need someone with a ppc to test it.
Ping?
Ping2. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Sunday, 06 December 2009 at 17:31, Dominik 'Rathann' Mierzejewski wrote:
On Saturday, 14 November 2009 at 22:06, Dominik 'Rathann' Mierzejewski wrote:
On Sunday, 27 September 2009 at 02:21, Dominik 'Rathann' Mierzejewski wrote: [...]
OK, I think the culprit has been found. src/bswap.h depends on WORD_BIGENDIAN being defined on big-endian arch to select appropriate macros. configure2 does not produce that definition in config.h, so the code ends up being incorrect on ppc and other big-endian arches.
I'm attaching a quick and dirty patch to fix that (the test method is taken from FFmpeg's configure). Maybe Diego has some idea how to improve it. Also we need someone with a ppc to test it.
Ping?
Ping2.
Ping3. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Il venerdì 5 marzo 2010 00:22:35 Dominik 'Rathann' Mierzejewski ha scritto:
On Sunday, 06 December 2009 at 17:31, Dominik 'Rathann' Mierzejewski wrote:
On Saturday, 14 November 2009 at 22:06, Dominik 'Rathann' Mierzejewski wrote:
On Sunday, 27 September 2009 at 02:21, Dominik 'Rathann' Mierzejewski wrote: [...]
OK, I think the culprit has been found. src/bswap.h depends on WORD_BIGENDIAN being defined on big-endian arch to select appropriate macros. configure2 does not produce that definition in config.h, so the code ends up being incorrect on ppc and other big-endian arches.
I'm attaching a quick and dirty patch to fix that (the test method is taken from FFmpeg's configure). Maybe Diego has some idea how to improve it. Also we need someone with a ppc to test it.
Ping?
Ping2.
Ping3.
Regards, R.
patch ok;) Please, commit it yourself
On Friday, 05 March 2010 at 14:41, Nico Sabbi wrote: [...]
patch ok;) Please, commit it yourself
Applied, thanks. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Hi all! I have a bug report which shows that the DVDFileStat function we added for libdvdread-0.9.7 compatiblity is not usable: https://bugzilla.redhat.com/show_bug.cgi?id=540155 [...] Steps to Reproduce: 1. Try compiling the following program: #include <stdio.h> #include <dvdread/dvd_reader.h> int main (void) { dvd_reader_t *reader; reader = DVDOpen ("/dev/dvd"); if (reader) { dvd_stat_t statbuf; if (DVDFileStat (reader, 0, DVD_READ_MENU_VOBS, &statbuf) == 0) printf ("Size of VIDEO_TS.VOB: %lu", statbuf.size); DVDClose (reader); } return 0; } 2. 3. Actual results: foo.c: In function 'main': foo.c:13: error: storage size of 'statbuf' isn't known [...] Is this the correct way of using this function? If so, then we need to make the dvd_stat_t struct public, like in the attached patch. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
On Sunday, 06 December 2009 at 17:58, Dominik 'Rathann' Mierzejewski wrote: [...]
Is this the correct way of using this function? If so, then we need to make the dvd_stat_t struct public, like in the attached patch.
Uh, sorry for hijacking a thread. Erik, could you comment on the issue? Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Uh, sorry for hijacking a thread. Erik, could you comment on the issue?
This is accurate. Sorry for the flub. Is there a patch? I don't see one on the bug or in this email thread. How does anyone else feel about having dvd_stat be the only non-opaque struct? We could keep the struct opaque and have allocation/deallocation functions. But that would make the API incompatible w/ the previous library. E -- Erik Hovland erik@hovland.org http://hovland.org/
This is accurate. Sorry for the flub. Is there a patch? I don't see one on the bug or in this email thread. How does anyone else feel about having dvd_stat be the only non-opaque struct? We could keep the struct opaque and have allocation/deallocation functions. But that would make the API incompatible w/ the previous library.
Would this patch be acceptable? I am assuming this is what was meant by making dvd_stat_t public. This patch does indeed make the example test compile. E -- Erik Hovland erik@hovland.org http://hovland.org/
Hi! On Sunday, 06 December 2009 at 22:44, Erik Hovland wrote:
This is accurate. Sorry for the flub. Is there a patch? I don't see one on the bug or in this email thread. How does anyone else feel about having dvd_stat be the only non-opaque struct? We could keep the struct opaque and have allocation/deallocation functions. But that would make the API incompatible w/ the previous library.
Would this patch be acceptable? I am assuming this is what was meant by making dvd_stat_t public. This patch does indeed make the example test compile.
Um, that's exactly like the patch I forgot to attach. :) I checked the sources of libdvdread-0.9.7 and the struct is public in dvd_reader.h, so if we want to be compatible, we have no choice but to do the same, right? I think you should just commit it. Regards, R. -- Fedora http://fedoraproject.org/wiki/User:Rathann RPMFusion http://rpmfusion.org | MPlayer http://mplayerhq.hu "Faith manages." -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
Um, that's exactly like the patch I forgot to attach. :) I checked the sources of libdvdread-0.9.7 and the struct is public in dvd_reader.h, so if we want to be compatible, we have no choice but to do the same, right? I think you should just commit it.
Done. Thanks again for bringing this up. E -- Erik Hovland erik@hovland.org http://hovland.org/
participants (3)
-
Dominik 'Rathann' Mierzejewski -
Erik Hovland -
Nico Sabbi