[vlc-devel] [PATCHv2] dvdnav: only try to open *.iso files (fix #4741)

Juha Jeronen juha.jeronen at jyu.fi
Mon May 9 00:45:04 CEST 2011

On 05/08/2011 10:42 PM, Rémi Denis-Courmont wrote:
> Le dimanche 8 mai 2011 22:29:29 Juha Jeronen, vous avez écrit :
>> On 05/08/2011 08:29 PM, Jean-Baptiste Kempf wrote:
>>> On Sun, May 08, 2011 at 08:23:52PM +0300, Juha Jeronen wrote :
>>>>> To open DVD with VLC we have:
>>>>>  - Classic /dev/cdrom /D:
>>>>>  - VIDEO_TS/ folders (dvd:// must be forced, now, I think, while this
>>>>>  is
>>>>>      suboptimal)
>>>>>  - open .iso files (we don't support iso for VCD or BD)
>>>>>  - open .ifo files, inside VIDEO_TS folders
>>>> Yes.
>>> I am quite sure .ifo is out of issue here, since .ifo are treatead by
>>> VLC as playlists.
>> Hmm, .ifo doesn't work for me?
> As JB said, *.ifo are handled by the playlist demux, implying the file(system) 
> access. So you cannot use dvd://.

Ok. Thanks for the info.

But I was trying to use file://. I tried:

- Media > Open File, (clickety-click), Play

- Media > Open (advanced), Add, (clickety-click), Play

- Media > Open Network Stream, URI:
file:///home/jje/Videos/test/VIDEO_TS/VIDEO_TS.IFO, Play

- command line, ./vlc file:///home/jje/Videos/test/VIDEO_TS/VIDEO_TS.IFO

...and in all cases, each time VLC changes the file:// to dvd://
somewhere during the opening process, without any user interaction. The
Recent Media menu saves the given URI with file://, but while opening,
it always gets converted to dvd://.

Here's an excerpt from the log:


[0x9bef664] main input debug: creating demux: access='file' demux=''
[0x9e4f9dc] main demux debug: looking for demux module: 52 candidates
[0x9beb284] qt4 interface debug: IM: Setting an input
[0x9e4f9dc] main demux debug: using demux module "playlist"
[0x9e4f9dc] main demux debug: TIMER module_need() : 0.481 ms - Total
0.481 ms / 1 intvls (Avg 0.481 ms)
[0x9bef664] main input debug: looking for a subtitle file in
[0xb2e0264c] main demux meta debug: looking for meta reader module: 2
[0xb2e0264c] lua demux meta debug: Trying Lua scripts in
[0xb2e0264c] lua demux meta debug: Trying Lua scripts in
[0xb2e0264c] lua demux meta debug: Trying Lua scripts in
[0xb2e0264c] lua demux meta debug: Trying Lua playlist script
[0xb2e0264c] lua demux meta debug: Trying Lua playlist script
[0xb2e0264c] main demux meta debug: no meta reader module matching "any"
could be loaded
[0xb2e0264c] main demux meta debug: TIMER module_need() : 4.273 ms -
Total 4.273 ms / 1 intvls (Avg 4.273 ms)
[0x9bef664] main input debug:
`file:///home/jje/Videos/test/VIDEO_TS/VIDEO_TS.IFO' successfully opened


So far, so good... but then immediately the next lines say:


[0x9bfd9b4] main playlist: stopping playback
[0x9bfd9b4] main playlist debug: deleting item `VIDEO_TS.IFO'
[0x9bfd9b4] main playlist debug: incoming request - stopping current input
[0x9bfd9b4] main playlist debug: dying input
[0x9bef664] main input debug: EOF reached
[0x9bef664] main input debug: control: stopping input
[0x9e4f9dc] main demux debug: removing module "playlist"
[0x9bfd9b4] main playlist debug: dying input
[0x9e4f86c] main stream debug: removing module "stream_filter_record"
[0x9e47d7c] main access debug: removing module "filesystem"
[0x9bef664] main input debug: thread ended
[0x9bfd9b4] main playlist debug: dead input
[0x9bfd9b4] main playlist debug: processing request item:
dvd:///home/jje/Videos/test/VIDEO_TS/VIDEO_TS.IFO, node: Playlist, skip: 0


...and then the log continues like before. It seems opening the .ifo is
creating a dvd:// request?


More information about the vlc-devel mailing list