[vlc] Subtitles problem, ERRATUM

gonzague gonzagueddr at gmail.com
Wed Mar 31 09:45:57 CEST 2010


Hi,

I finally found a kind of answer : 
http://trac-test.videolan.org/viewtopic.php?f=11&t=45657#p145767
It looks like vlc only support dvbsubs format when streaming, but this 
topic was written on 2008, maybe there're some news ???

I've tried with .ssa , it returns :

*** glibc detected *** vlc: double free or corruption (fasttop): 
0x08d6cad0 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d72624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7d74826]
/usr/lib/vlc/demux/libsubtitle_plugin.so[0xb393c56f]
======= Memory map: ========
08048000-08049000 r-xp 00000000 03:01 809830     /usr/bin/vlc
... etc ...


with a .sub, it returns :
[00000335] subtitle demuxer error: failed to recognize subtitle type
[00000319] main input error: no suitable demux module for 
`/subtitle:///home/.../my.sub'
*** glibc detected *** vlc: double free or corruption (fasttop): 
0x0982ba10 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7d27624]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7d29826]
/usr/lib/vlc/demux/libsubtitle_plugin.so[0xb38f156f]
======= Memory map: ========
08048000-08049000 r-xp 00000000 03:01 809830     /usr/bin/vlc
... etc ...


With a .srt i get no return except with --verbose=2, it looks like there 
is no problem, but i still have no subtitles when reading the stream :
....
[00000331] main demuxer debug: using demux2 module "avi"
[00000319] main input debug: forced subtitle: /Path/MyFile.fr.srt
[00000319] main input debug: `/Path/MyFile.fr.srt' gives access `' demux 
`' path `/Path/MyFile.fr.srt'
[00000319] main input debug: creating access '' path='/Path/MyFile.fr.srt'
[00000333] main access debug: looking for access2 module: 5 candidates
[00000333] vcd access debug: trying .cue file: /Path/MyFile.fr.cue
[00000333] vcd access debug: could not find .cue file
[00000333] access_file access debug: opening file `/Path/MyFile.fr.srt'
[00000333] main access debug: using access2 module "access_file"
[00000334] main private debug: pre-buffering...
[00000334] main private debug: received first data for our buffer
[00000319] main input debug: creating demux: access='' demux='subtitle' 
path='/Path/MyFile.fr.srt'
[00000335] main demuxer debug: looking for demux2 module: 2 candidates
[00000335] vobsub demuxer debug: this doesn't seem to be a vobsub file
[00000335] subtitle demuxer debug: Movie fps: 29.970629
[00000335] subtitle demuxer debug: autodetecting subtitle format
[00000335] subtitle demuxer debug: detected SubRIP format
[00000335] subtitle demuxer debug: loading all subtitles...
[00000335] subtitle demuxer debug: loaded 308 subtitles
[00000335] main demuxer debug: using demux2 module "subtitle"
[00000319] main input debug: looking for a subtitle file in /Path/
[00000319] main input debug: autodetected subtitle: /Path/MyFile.fr.srt 
with priority 3
[00000319] main input debug: autodetected subtitle: /Path/MyFile.fr.srt 
with priority 3
[00000338] main packetizer debug: looking for packetizer module: 17 
candidates
[00000338] main packetizer debug: using packetizer module 
"packetizer_mpeg4video"
[00000319] main input debug: stream out mode -> no decoder thread
[00000360] main packetizer debug: looking for packetizer module: 17 
candidates
[00000360] main packetizer debug: using packetizer module "mpeg_audio"
[00000319] main input debug: stream out mode -> no decoder thread
[00000319] main input debug: starting in sync mode
[00000319] main input debug: meta information:
[00000319] main input debug:   - 'Paramètre' = ' HAS_INDEX TRUST_CKTYPE'
[00000319] main input debug: `/Path/MyFile.avi' successfully opened
[00000331] avi demuxer debug: old:0 < new 0
[00000338] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000360] mpeg_audio packetizer debug: MPGA channels:2 samplerate:48000 
bitrate:192
[00000320] main stream output debug: adding a new input
[00000327] main private debug: adding a new input
[00000327] mux_ts private debug: adding input codec=mpga pid=68
[00000327] mux_ts private debug: new PCR PID is 68
[00000319] main input debug: control type=17
[00000367] main packetizer debug: looking for packetizer module: 17 
candidates
[00000367] main packetizer debug: using packetizer module "packetizer_copy"
[00000319] main input debug: stream out mode -> no decoder thread
[00000320] main stream output debug: adding a new input
[00000327] main private debug: adding a new input
[00000327] mux_ts private debug: adding input codec=mp4v pid=69
[00000327] mux_ts private debug: new PCR PID is 69


I first thought it was an encoding trouble, but it's the same with utf-8 
and iso-8859-15 (tested with converting the file and with the option 
"subsdec-encoding=ISO-8859-15/uft-8" )

Moreover mux=ts, and access=http seams to support streaming subtitle 
better than asf,  so my pls is now :

#EXTVLCOPT:sout=#standard{mux=ts,dst=192.168.1.15:22222/myname,access=http}


So know, i don't have a clue about what is wrong ( ...

Thanks for taking time ...





gonzague a écrit :
> Hi again, actually my playlist show correctly subtitles except if i 
> try to stream it over http
> Here is the full entry of my playlist :
>
> #EXTINF:,myfile.avi
> #EXTVLCOPT:sub-file=/Path/myfile.srt
> #EXTVLCOPT:subsdec-align=0
> #EXTVLCOPT:freetype-rel-fontsize=16
> #EXTVLCOPT:sout=#standard{mux=asf,dst=192.168.1.15:22222/myname,access=http} 
>
> #EXTVLCOPT:ttl=1
> /Path/myfile.avi
>
> And finaly it returns errors:
>
> [00000380] main private: creating httpd
> [00000383] main private error: cannot add a new stream (unsupported 
> while muxing to this format)
> [00000398] main packetizer error: cannot create packetizer output (subt)
>
>
> I did not really understand what is not supported with witch format 
> (i've tried some others for the same result) ...
> I also didnt found many things on the net about this, so if someone 
> have a good link or explanation, it'll be great
>
> Thanks
>
>
>
> gonzague a écrit :
>> I'm running the vlc 1.0.5 , and when i open a file in advanced mode, 
>> checking "using subtitle", and browsing to the .srt file, it work 
>> pefectly.
>>
>> But i don't know why, when i put 
>> "#EXTVLCOPT:sub-file=/pathToFile.srt" into my playlist.m3u , i 
>> doesn't work anymore, even if the debug returns :
>>
>> [00000377] main input debug: creating demux: access='' 
>> demux='subtitle' path='/.../pathToFile.srt'
>> [00000395] main demuxer debug: looking for demux2 module: 2 candidates
>> [00000395] vobsub demuxer debug: this doesn't seem to be a vobsub file
>> [00000395] subtitle demuxer debug: Movie fps: 29.970629
>> [00000395] subtitle demuxer debug: autodetecting subtitle format
>> [00000395] subtitle demuxer debug: detected SubRIP format
>> [00000395] subtitle demuxer debug: loading all subtitles...
>> [00000395] subtitle demuxer debug: loaded 117 subtitles
>> [00000395] main demuxer debug: using demux2 module "subtitle"
>>
>>
>> Jody El-Assadi a écrit :
>>> Hello,
>>>
>>> I am very sorry to bother you but need help getting subtitles to 
>>> play in VLC. I have tried almost everything I have seen on the 
>>> Internet and even followed the instructions in your help section and 
>>> nothing works.
>>>
>>> Can someone give me a hand? I am very frustrated.
>>>
>>> Thanks,
>>> Jody
>>>
>>> P.S. I have an Imac.
>>> ______________________________________________________
>>> vlc mailing list
>>> To unsubscribe or modify your subscription options:
>>> http://mailman.videolan.org/listinfo/vlc
>>>
>>
>>
>> ______________________________________________________
>> vlc mailing list
>> To unsubscribe or modify your subscription options:
>> http://mailman.videolan.org/listinfo/vlc
>>
>
>
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>





More information about the vlc mailing list