I record DVB-T on french TV ("TNT" in french) with an USB tuner under Ubuntu 13.10, I get ".m2t" (".m2ts"/".ts") file (MPEG-2 Transport Stream). I play them with VLC 2.0.8 and it works great, with subtitles and different audio tracks (when available in the stream).
I have no problem cutting SD (Standard Definition) TS files with dvbcut (simple and efficient graphical tool) when I want to keep an extract (for example, from 01:50 to 02:45). Unfortunately, dvbcut doesn't handle HD files (different video codec).
I googled a lot and tried to use VLC for cutting HD DVB-T ".m2t" files, like this :
Code: Select all
vlc DVB-T-HD-record.m2t --start-time 0 --stop-time 20 :sout=#file{dst=myrecord-start.ts} :sout-all
- the streams are in a different order and numbering, and they lost their label (like "french subtitles for impaired)"
- the timecode is lost, I just get "00:00" for current time and total time.
How is it possible to just keep an extract of the ".ts" file, with a start time and an end time ? I don't need any transcoding, just cissors (for the moment, I can achieve that with "dd" with trials and errors but it is a manual and slow method).
I can give a link to a sample video file if needed.
Any help would be appreciated.
Best regards.
Olivier.