Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > HDTV / DVB / TiVo

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th March 2015, 11:47   #1  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
Can't work with HDTV capture

Hi. I recently bought a Sony Bravia HD television and it has an USB incorporated to record TV broadcasts. I made a recording on a HDD and when I plugged on my PC, there was a m2ts file.

I haven't been able to access it and I have tried with a lot of programs (dgindex,tsmuxer...)

On the TV it plays fine, with all the audio and subtitle streams.

Any way to extrack streams and encode them to a more friendly state?

Thank you.
eXtremeDevil is offline   Reply With Quote
Old 15th March 2015, 12:06   #2  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,773
No.

All the recordings are coded s o you can't even use them on another TV set of the same model.

Keep voting your representative that let them do this to you.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 15th March 2015, 12:15   #3  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 4,054
I have seen it even worse: After a Firmware update of the TV it did not even play the previous recordings.
Still hoping that this is a bug which will get fixed with the next update, but I am not very confident.....
Sharc is offline   Reply With Quote
Old 15th March 2015, 12:23   #4  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
Well thank's for the info.

And not to open another post, I record from TV also from my PC with DVBViewer software. That gives me a TS file which I can open easily. But I haven't figured out how to extract DVB subtitles. I can extract the ones from the teletext but not the DVB ones.

Any way of doing this?
eXtremeDevil is offline   Reply With Quote
Old 15th March 2015, 21:22   #5  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,773
Quote:
Originally Posted by eXtremeDevil View Post
Any way of doing this?
Sure, if they exist.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 15th March 2015, 22:11   #6  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
Well, how then? I have tried with ProjectX with no luck.
eXtremeDevil is offline   Reply With Quote
Old 16th March 2015, 22:46   #7  |  Link
duedel
Registered User
 
Join Date: Nov 2014
Posts: 36
Quote:
Originally Posted by eXtremeDevil View Post
Well, how then? I have tried with ProjectX with no luck.
It took me a while to figure this out, but here's how I handle subs in .ts files from dvbviewer:

First, make sure they're in your .ts of course. You have to explicitely add them to your recordings in dvbviewer's options menu.

Now, if your tv stations support teletext subs, I'd encourage you to enable them, too, because you don't have to OCR them when ripping them to srt.

Now the main part: for the dvb subs, use Subtitle Edit.
Load the .ts and they'll automatically be recognized by the program. You'll probably want to rip them to .srt. Have a look at the Subtitle Edit's manual, quite a handy tool.
Now, if you don't intend to rip the subs to .srt, you could also use ffmpeg CLI with something like "-c:s dvb_subtitle".

For teletext subs, you'll want to use ccextractor.
This tool provides a handy GUI for telxcc.
Again, load up your .ts, force "decode teletext" in the options, enter the teletext page where the subs are and you should be good to go.

Hope this helps

Last edited by duedel; 16th March 2015 at 22:47. Reason: spelling
duedel is offline   Reply With Quote
Old 17th March 2015, 00:02   #8  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
I already managed to use Subtitle Edit, thanks to you

As for the teletext ones (I prefer them as well but sometimes I have no choice) I use ProjectX but I will take a look at CCExtractor.

But how can I use the ffmpeg CLI? I may interested in just extracting the dvbsubtitles without converting them to plain text for now.
eXtremeDevil is offline   Reply With Quote
Old 17th March 2015, 08:28   #9  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,773
Quote:
Originally Posted by eXtremeDevil View Post
Well, how then? I have tried with ProjectX with no luck.
It should work. I used it with 100% success rate (SubtitleEdit and Co. would not do them perfectly). Check the settings.

In the Humax forum I posted a tutorial (with pictures ) on how one can put an HDTV stream with multiple audio and subtitle streams (like from ARTE HD) onto a BDR with menus. Only with free (donations-based) tools.
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 17th March 2015, 10:26   #10  |  Link
duedel
Registered User
 
Join Date: Nov 2014
Posts: 36
Quote:
Originally Posted by eXtremeDevil View Post

But how can I use the ffmpeg CLI?
Code:
ffmpeg -i yourfile.ts -map 0:5 -scodec dvdsub subtitle.mkv
the -map option selects the subtitle track in the .ts stream.

Unfortunately, ffmpeg doesn't seem to be able to save native .idx/.sub files, which is why you have to use the .mkv container.
Then you can use MKVCleaver to extract the raw sub stream.
duedel is offline   Reply With Quote
Old 17th March 2015, 14:47   #11  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
And where's the ffmpeg binary to do that? I only have dlls.
eXtremeDevil is offline   Reply With Quote
Old 17th March 2015, 14:50   #12  |  Link
duedel
Registered User
 
Join Date: Nov 2014
Posts: 36
Quote:
Originally Posted by eXtremeDevil View Post
And where's the ffmpeg binary to do that? I only have dlls.
http://ffmpeg.zeranoe.com/builds/
duedel is offline   Reply With Quote
Old 17th March 2015, 16:01   #13  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
OK, I think I have everything I need now. One last thing, any way to also copy the other streams of the ts to the resulting mkv? That way I don't have to use mmg after the subtitle extraction.
eXtremeDevil is offline   Reply With Quote
Old 17th March 2015, 16:58   #14  |  Link
duedel
Registered User
 
Join Date: Nov 2014
Posts: 36
Quote:
Originally Posted by eXtremeDevil View Post
OK, I think I have everything I need now. One last thing, any way to also copy the other streams of the ts to the resulting mkv? That way I don't have to use mmg after the subtitle extraction.
Yes, of course, ffmpeg is very powerful

Code:
ffmpeg -i yourfile.ts -map 0:1 -map 0:2 -map 0:5 -vcodec copy -acodec copy -scodec dvdsub finalvideo.mkv
You use -map to select the streams you want to keep.
For each of those streams you have to define a codec that you want to use. In the command above, I chose "copy", so video and audio are not transcoded.

http://ffmpeg.org/ffmpeg-all.html
duedel is offline   Reply With Quote
Old 17th March 2015, 18:07   #15  |  Link
eXtremeDevil
Registered User
 
eXtremeDevil's Avatar
 
Join Date: Jul 2010
Posts: 229
Thanks a lot for all the information!

Problem solved!
eXtremeDevil is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.