ability to render ARIB subtitles in MPEG2 TS streams

Feature requests for VLC.
corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

ability to render ARIB subtitles in MPEG2 TS streams

Postby corsaire » 15 Feb 2017 07:34

I am french living in Japan for several years.

To watch and record TV I use a setup made of popular Earthlink PT3 PCI-e cards to grab the MPEG2 TS streams of broadcast signals.

I have a set of tools to record the stream, extract the interesting stream (HD, SD, 1SEG...) in the multiplexed format, extract the subtitles and so on.
One of the also possible thing to do is to redirect the captured stream to VLC to watch directly.

Problem is with the subtitles, the format is not natively recognized by VLC.
I have to actually record (grab the stream in a file named .ts or .m2ts depending of the soft), then use a tool to extract the subtitle converting it in a .srt or .ass.

Plus the soft I use is a C++ program wrote for windows.
The code has also some caveats that prevented me to compile it with mingw (I feel a Visual Studio developer here !), so I had to get a binary and use wine to run it...

So, what I would like is to have the possibility to pass the stream or read the .ts file directly to VLC and have to possibility to enable subtitle as is.

The code for the tool is here.
https://github.com/iGlitch/Caption2Ass

Thanks for your time.

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

Re: ability to render subtitles in MPEG2 TS streams

Postby Jean-Baptiste Kempf » 15 Feb 2017 10:27

Please share those files.

Because in theory, we now support ARIB subtitles.
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.

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 16 Feb 2017 02:45

Please share those files.

Because in theory, we now support ARIB subtitles.
I can make a sample but .ts files are quite huge, how can I share it to you ?

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 16 Feb 2017 03:41

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

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

Re: ability to render subtitles in MPEG2 TS streams

Postby Jean-Baptiste Kempf » 16 Feb 2017 09:36

Please share those files.

Because in theory, we now support ARIB subtitles.
I can make a sample but .ts files are quite huge, how can I share it to you ?
http://streams.videolan.org/upload/
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.

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

Re: ability to render subtitles in MPEG2 TS streams

Postby Jean-Baptiste Kempf » 16 Feb 2017 09:36

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

Please try with a 3.0 Nightly Build of VLC
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.

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 16 Feb 2017 09:46

Please share those files.

Because in theory, we now support ARIB subtitles.
I can make a sample but .ts files are quite huge, how can I share it to you ?
http://streams.videolan.org/upload/
Uploaded.
Thank you :)

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 16 Feb 2017 14:19

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

Please try with a 3.0 Nightly Build of VLC
I have downloaded the version vlc-3.0.0-20170216-0446-git-win64 and indeed now I can have the subtitles.

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

Re: ability to render subtitles in MPEG2 TS streams

Postby Jean-Baptiste Kempf » 17 Feb 2017 13:26

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

Please try with a 3.0 Nightly Build of VLC
I have downloaded the version vlc-3.0.0-20170216-0446-git-win64 and indeed now I can have the subtitles.
Cool, no regressions or something? Nothing not working?
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.

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 17 Feb 2017 15:09

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

Please try with a 3.0 Nightly Build of VLC
I have downloaded the version vlc-3.0.0-20170216-0446-git-win64 and indeed now I can have the subtitles.
Cool, no regressions or something? Nothing not working?
I haven't made so thoughtful tests, so there may be troubles around...

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 17 Feb 2017 15:57

For the sake of a second verification I verified my VLC version and ran it on a stream.

I have the latest version 2.2.4.
The subtitle stream (ARIB format then ?) is not recognized, grey option in the menu

I can extract the subtitles using my tools and make a .ass so there really is a subtitle stream.

Please try with a 3.0 Nightly Build of VLC
I have downloaded the version vlc-3.0.0-20170216-0446-git-win64 and indeed now I can have the subtitles.
Cool, no regressions or something? Nothing not working?
Okay, yesterday I only have the time to see that the ARIB subtitles were displayable, but now since I was testing deeper I found a very nasty and obvious flaw...
The subtitles appears with a 10s delay in a live stream...
In a captured stream I can't see this delay playing the captured file, the subtitle is in sync.

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

Re: ability to render subtitles in MPEG2 TS streams

Postby Jean-Baptiste Kempf » 18 Feb 2017 13:25

Okay, yesterday I only have the time to see that the ARIB subtitles were displayable, but now since I was testing deeper I found a very nasty and obvious flaw...
The subtitles appears with a 10s delay in a live stream...
In a captured stream I can't see this delay playing the captured file, the subtitle is in sync.
Can you file a bug with details? So that we can fix?
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.

corsaire
Blank Cone
Blank Cone
Posts: 16
Joined: 15 Feb 2017 07:20

Re: ability to render subtitles in MPEG2 TS streams

Postby corsaire » 19 Feb 2017 06:34

Okay, yesterday I only have the time to see that the ARIB subtitles were displayable, but now since I was testing deeper I found a very nasty and obvious flaw...
The subtitles appears with a 10s delay in a live stream...
In a captured stream I can't see this delay playing the captured file, the subtitle is in sync.
Can you file a bug with details? So that we can fix?
done here
https://forum.videolan.org/viewtopic.php?f=2&t=137625

Thank you.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 13 guests