closed caption support

Feature requests for VLC.
Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: closed caption support

Postby Jean-Baptiste Kempf » 21 May 2008 20:04

Help us fixing it!
Give us samples, messages and so on.

Is the CC enabled on windows builds ? vlc --list will tell you
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sbarella
New Cone
New Cone
Posts: 4
Joined: 21 May 2008 17:51

Re: closed caption support

Postby sbarella » 21 May 2008 21:49

j-b,

Pardon my ignorance with this forum but I don't really know how to work VLC as well as most of the group who participates here. vlc --list is perhaps a CLI command? Is CC then turned on? I have test files, etc. to test with but I am not one who would be able to help contribute to the code... I am more than happy to let you know if it's working and offer some suggestions. My project is both with 708 (DTVCC) and 608 (Line 21 VBI) captions.

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: closed caption support

Postby Jean-Baptiste Kempf » 21 May 2008 22:16

Yes, vlc --list is a cli command.

give us the samples!
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ykoval2000
New Cone
New Cone
Posts: 9
Joined: 02 Oct 2008 08:58

Re: closed caption support

Postby ykoval2000 » 02 Oct 2008 09:13

Hi,

I am checking latest Windows build vlc-0.9.4-git on TS files captured from Comcast. Files play fine, but I can't turn CC on.
I can extract CC from the file with ccextractor.
Additionally, when i try to play .ts file with either .srt or .smi file created by ccextractor vlc only shows me timeline slide bar with no video or audio.

Thanks.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: closed caption support

Postby The DJ » 02 Oct 2008 14:31

CC is only available in 0.9.* if you use the avcodec module for decoding instead of (the default) libmpeg2 module. This is fixed in 1.0.0, but i'm not sure yet if this 'feature' will be backported to a 'bugfix' tree.
Don't use PMs for support questions.

ykoval2000
New Cone
New Cone
Posts: 9
Joined: 02 Oct 2008 08:58

Re: closed caption support

Postby ykoval2000 » 02 Oct 2008 20:00

Thanks, I tried version vlc-1.0.0-git-20081002-0007 for Windows and it does show Closed Captions!

I noticed a couple of minor things. I have 1080i HDTV source, so I need to use deinterlacing. When I turn on deinterlacing after turning on CC, CC disappears, but after turning CC off and on again CC does show.
I tried two deinterlace methods "blend" and "bob". CC works fine with "blend", but "bob" mixes letters in CC text for some reason.

But for me it's enough that "blend" works. Thanks for great product!

ykoval2000
New Cone
New Cone
Posts: 9
Joined: 02 Oct 2008 08:58

Re: closed caption support

Postby ykoval2000 » 03 Oct 2008 03:51

I tested it more and I see now that the problem is not related to deinterlacing.
Closed captions work fine as long as I do not move to different places in the file and do not pause play. After number of moves or pauses text becomes garbled. Once it is garbled, even returning back to place that worked well, shows garbled text.
For example, phrase
"The ship has landed."
becomes
"The shipas lan hded."
and then
"The shas lanip hded."
or another time
"Thship he as landed."
(It seems like in this phrase 2 characters are moved by 6 characters)

Strange thing is that even restarting vlc does not help, it still shows garbled text where it showed correct text originally. (Static variable in dll?)

ykoval2000
New Cone
New Cone
Posts: 9
Joined: 02 Oct 2008 08:58

Re: closed caption support

Postby ykoval2000 » 03 Oct 2008 08:52

After testing on other systems, I discovered that CC text is garbled right from the beginning on other systems.

System where CC are ok at first and get garbled later:
Windows XP SP2 CPU Intel Pentium M 2G Video Mobile Intel 915GMGMS

Systems where CC are garbled from the very beginning:
Windows XP SP3 CPU AMD Athlon 64 3200+ Video ATI Mobility Radeon Xpress 200
Windows XP Tablet PC Edition 2005 SP3 CPU Intel 800MHz Video Mobile Intel 945GM

I created 5 minutes cut from capture (little over 700M) , if you need sample.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: closed caption support

Postby Jean-Baptiste Kempf » 04 Oct 2008 20:58

TheDJ, can you see something?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Re: closed caption support

Postby The DJ » 06 Oct 2008 16:51

According to fenrir, the decoder currently does not reset when you seek. I guess that there are some cases where this is a problem. It's not really a priority at the time. (Nor do we have enough samples to test this in general btw.) Uploads to ftp://streams.videolan.org/incoming (with a describing name or same name text file which explains what you uploaded) are always welcome.
Don't use PMs for support questions.

joachim_s
New Cone
New Cone
Posts: 1
Joined: 13 Sep 2010 18:06

Re: closed caption support

Postby joachim_s » 13 Sep 2010 18:08

Closed caption support was added in the development version a few months ago. You can give it a try here: http://nightlies.videolan.org
Ok, but how do I enable it in VLC?


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 3 guests