Duncan Webb wrote:
> John Molohan wrote:
>   
>> Duncan Webb wrote:
>>     
>>> John Molohan wrote:
>>>   
>>>       
>>>> Tanja wrote:
>>>>     
>>>>         
>>>>> Hi John,
>>>>>
>>>>> John Molohan schrieb:
>>>>>   
>>>>>       
>>>>>           
>>>>>> Actually that report was only for a DVD, selecting a vob file I have no 
>>>>>> audio or subtitle menu choices even though there are both in the file. 
>>>>>> There is an option for selecting chapter. 
>>>>>>     
>>>>>>         
>>>>>>             
>>>>> I do not know why this is not working. From what I see in the code,
>>>>> files and DVDs should be handled the same way.
>>>>> Is kaa seeing the audio and subtitle streams in the vob?
>>>>> What is mminfo saying?
>>>>>
>>>>>
>>>>>   
>>>>>       
>>>>>           
>>>> Hi Tanja,
>>>>
>>>> I've doubled checked with a file that does display subtitles using xine 
>>>> (not freevo). With this file I don't get any menu entry in freevo to 
>>>> choose subtitle. A similar test on a DVD shows mminfo picking up 
>>>> subtitles so I'm guessing this is a kaa.metadata bug?
>>>>
>>>> [EMAIL PROTECTED] ~]# mminfo -d 2 
>>>> /mnt/removable/video/films/MILLION_DOLLAR_BABY2-1.vob
>>>> kaa media metadata info
>>>> setting to log level 2
>>>> INFO factory(165): No Type found by Extension. Trying all
>>>> DEBUG factory(171): trying audio/mpeg
>>>> DEBUG factory(171): trying audio/ac3
>>>> DEBUG factory(171): trying application/adts
>>>> DEBUG factory(171): trying audio/m4a
>>>> DEBUG factory(171): trying application/ogg
>>>> INFO ogg(56): Invalid header
>>>> DEBUG factory(171): trying application/pcm
>>>> DEBUG factory(171): trying video/asf
>>>> DEBUG factory(171): trying video/flv
>>>> DEBUG factory(171): trying application/mkv
>>>> DEBUG mkv(157): EBML entity not found, bad file format
>>>> DEBUG factory(171): trying video/quicktime
>>>> DEBUG mp4(98): invalid header: D
>>>> DEBUG factory(171): trying video/mpeg
>>>>
>>>> /mnt/removable/video/films/MILLION_DOLLAR_BABY2-1.vob
>>>> | type: MPEG-2 Video
>>>> | media: MEDIA_AV
>>>> | mime: video/mpeg
>>>> | length: 3017
>>>> | interlaced: True
>>>> +-- Video Track #1
>>>> | | media: MEDIA_VIDEO
>>>> | | length: 3017
>>>> | | bitrate: 9000000
>>>> | | codec: MPEG-2 Video
>>>> | | width: 720
>>>> | | height: 576
>>>> | | fps: 25
>>>> | | aspect: 1.77777777778
>>>> | | fourcc: MP2V
>>>> | | id: 224
>>>> +-- Audio Track #1
>>>> | | media: MEDIA_AUDIO
>>>> | | codec: AC3
>>>> | | fourcc: 0x2000
>>>> | | id: 189
>>>>     
>>>>         
>>> It looks like a metadata bug.
>>>   
>>>       
>> I guess I should post it to the devel list?
>>     
>>> mplayer -identify should report subtitle tracks.
>>>   
>>>       
>> That sounds handy but I don't see any subtitle info (not really worried)
>>
>> ID_FILENAME=/mnt/removable/video/films/MILLION_DOLLAR_BABY2-1.vob
>> ID_DEMUXER=mpegps
>> ID_VIDEO_FORMAT=0x10000002
>> ID_VIDEO_BITRATE=9000000
>> ID_VIDEO_WIDTH=720
>> ID_VIDEO_HEIGHT=576
>> ID_VIDEO_FPS=25.000
>> ID_VIDEO_ASPECT=0.0000
>> ID_AUDIO_CODEC=a52
>> ID_AUDIO_FORMAT=8192
>> ID_AUDIO_BITRATE=448000
>> ID_AUDIO_RATE=48000
>> ID_AUDIO_NCH=2
>> ID_LENGTH=3018.20
>>
>>     
>>> You can always add to local_conf.py the following:
>>> | EVENTS['video']['LANG'] = \
>>> |   Event(VIDEO_SEND_MPLAYER_CMD, arg='switch_audio')
>>> | EVENTS['video'][' '] = \
>>> |   Event(VIDEO_SEND_MPLAYER_CMD, arg='vobsub_lang')
>>> Then you can use the remote to change audio and subtitles. Just need a
>>> lirc mapping to LANG and SUBTITLE.
>>>
>>> Duncan
>>>   
>>>       
>> That's pretty much what I have except I use xine:
>> EVENTS['dvd']['GREEN'] = Event(VIDEO_SEND_XINE_CMD, arg='SpuNext')
>> EVENTS['dvd']['YELLOW'] = Event(VIDEO_SEND_XINE_CMD, arg='AudioChannelNext')
>> EVENTS['video']['RED'] = Event(VIDEO_SEND_XINE_CMD, arg='SpuNext')
>> EVENTS['video']['GREEN'] = Event(VIDEO_SEND_XINE_CMD, arg='SpuPrior')
>> EVENTS['video']['YELLOW'] = Event(VIDEO_SEND_XINE_CMD, 
>> arg='AudioChannelNext')
>> EVENTS['video']['BLUE'] = Event(VIDEO_SEND_XINE_CMD, 
>> arg='AudioChannelPrior')
>> EVENTS['video']['1'] = Event(VIDEO_SEND_XINE_CMD, arg='ZoomIn')
>> EVENTS['video']['2'] = Event(VIDEO_SEND_XINE_CMD, arg='ZoomOut')
>> EVENTS['video']['3'] = Event(VIDEO_SEND_XINE_CMD, arg='ZoomReset')
>> EVENTS['video']['0'] = Event(VIDEO_SEND_XINE_CMD, arg='DPMSStandby')
>> EVENTS['video']['STAR'] = Event(VIDEO_SEND_XINE_CMD, 
>> arg='ToggleAspectRatio')
>> EVENTS['video']['DVD'] = Event(VIDEO_SEND_XINE_CMD, arg='RootMenu')
>> EVENTS['video']['NEXT'] = Event(VIDEO_SEND_XINE_CMD, arg='EventNext')
>> EVENTS['video']['PREV'] = Event(VIDEO_SEND_XINE_CMD, arg='EventPrior')
>>
>> I just want to make sure it works for others because 1. it used to and 
>> 2. it's easier for noobs.
>>     
>
> lsdvd does a good job, here is the output in Python format:
>
> lsdvd -Oy -s
> /freevo/video/movies/drama/One_Flew_over_the_Cuckoos_Nest/VIDEO_TS/
> Couldn't read enough bytes for title.
> lsdvd = {
>   'device' :
> '/freevo/video/movies/drama/One_Flew_over_the_Cuckoos_Nest/VIDEO_TS/',
>   'title' : 'unknown',
>   'vmg_id' : 'DVDVIDEO-VMG',
>   'provider_id' : '',
>   'track' : [
>     {
>       'ix' : 1,
>       'length' : 7684.120,
>       'vts_id' : 'DVDVIDEO-VTS',
>       'subp' : [
>         {
>           'ix' : 1,
>           'langcode' : 'en',
>           'language' : 'English',
>           'content' : 'Undefined',
>           'streamid' : '0x20',
>         },
>         {
>           'ix' : 2,
>           'langcode' : 'de',
>           'language' : 'Deutsch',
>           'content' : 'Undefined',
>           'streamid' : '0x21',
>         },
>         {
>           'ix' : 3,
>           'langcode' : 'cs',
>           'language' : 'Czech',
>           'content' : 'Undefined',
>           'streamid' : '0x22',
>         },
>         {
>           'ix' : 4,
>           'langcode' : 'en',
>           'language' : 'English',
>           'content' : 'Undefined',
>           'streamid' : '0x23',
>         },
>         {
>           'ix' : 5,
>           'langcode' : 'de',
>           'language' : 'Deutsch',
>           'content' : 'Undefined',
>           'streamid' : '0x24',
>         },
>       ],
>     },
>   ],
>   'longest_track' : 1,
> }
>
> and here is normal:
> lsdvd -s /freevo/video/movies/drama/One_Flew_over_the_Cuckoos_Nest/VIDEO_TS/
> Couldn't read enough bytes for title.
> Disc Title: unknown
> Title: 01, Length: 02:08:04.120 Chapters: 33, Cells: 33, Audio streams:
> 02, Subpictures: 05
>         Subtitle: 01, Language: en - English, Content: Undefined, Stream
> id: 0x20,
>         Subtitle: 02, Language: de - Deutsch, Content: Undefined, Stream
> id: 0x21,
>         Subtitle: 03, Language: cs - Czech, Content: Undefined, Stream
> id: 0x22,
>         Subtitle: 04, Language: en - English, Content: Undefined, Stream
> id: 0x23,
>         Subtitle: 05, Language: de - Deutsch, Content: Undefined, Stream
> id: 0x24,
>
> Longest track: 01
>
> But it is limited to DVDs and DVD images.
>
> Duncan
>   
Good to know too for testing.

Thanks,
John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to