View Full Version : Can't work with HDTV capture
eXtremeDevil
15th March 2015, 11:47
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.
Ghitulescu
15th March 2015, 12:06
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.
Sharc
15th March 2015, 12:15
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.....
eXtremeDevil
15th March 2015, 12:23
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?
Ghitulescu
15th March 2015, 21:22
Any way of doing this?
Sure, if they exist.
eXtremeDevil
15th March 2015, 22:11
Well, how then? I have tried with ProjectX with no luck.
duedel
16th March 2015, 22:46
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 (http://www.nikse.dk/subtitleedit/).
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. (http://ccextractor.sourceforge.net/)
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 :)
eXtremeDevil
17th March 2015, 00:02
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.
Ghitulescu
17th March 2015, 08:28
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.
duedel
17th March 2015, 10:26
But how can I use the ffmpeg CLI?
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.
eXtremeDevil
17th March 2015, 14:47
And where's the ffmpeg binary to do that? I only have dlls.
duedel
17th March 2015, 14:50
And where's the ffmpeg binary to do that? I only have dlls.
http://ffmpeg.zeranoe.com/builds/
eXtremeDevil
17th March 2015, 16:01
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.
duedel
17th March 2015, 16:58
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 :)
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
eXtremeDevil
17th March 2015, 18:07
Thanks a lot for all the information!
Problem solved!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.