FAQ  •  Register  •  Login

Support for *.m2t files

<<

Parka Boy

Serviio newbie

Posts: 8

Joined: Wed Sep 28, 2011 6:10 pm

Location: Germany

Post Wed Sep 28, 2011 6:45 pm

Support for *.m2t files

Hi,
it is possible to add support for *.m2t files, generated by Kaffeine (KDE MediaPlayer) when recording TV shows. In this case it is german HDTV programm streams.
The files are not displayed in the list. The TV is an Panasonic and i use the pana Viera profil. I can play those files by miniDLNA.
This is an header of an typical filel:

  Code:
ffmpeg version N-32226-ga9c6936, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 31 2011 22:24:08 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-avfilter --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libdc1394 --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libspeex --enable-avfilter --enable-shared
  libavutil    51. 14. 0 / 51. 14. 0
  libavcodec   53. 12. 0 / 53. 12. 0
  libavformat  53. 10. 0 / 53. 10. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 37. 0 /  2. 37. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Input #0, mpegts, from 'The Killing 7_8.m2t':
  Duration: 02:10:00.26, start: 72468.037444, bitrate: 7330 kb/s
  Program 11120
    Stream #0.0[0x184d](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.1[0x184e](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.2[0x184c](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.3[0x1856](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) (clean effects)
    Stream #0.4[0x1857](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
    Stream #0.5[0x1842]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 51 fps, 50 tbr, 90k tbn, 100 tbc

Thank You!
Panasonic TX-L37EW30, Arcam solo movie 5.1, Logitech Squeezebox Touch Classic, Ubuntu Server 12.04, Serviio 6.2, Logitech Mediaserver, Huawei MediaPad
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17216

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Sep 28, 2011 9:14 pm

Re: Support for *.m2t files

rename the file to .ts or .mpg
<<

Sebanisu

Streaming enthusiast

Posts: 29

Joined: Tue Sep 13, 2011 3:31 am

Post Thu Sep 29, 2011 1:35 pm

Re: Support for *.m2t files

You might need to remux those. My blu ray player has issues if the Audio streams are before the Video streams. Good luck :D
Samsung BD-C5500 And XBOX 360| Windows 7)
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Thu Sep 29, 2011 3:59 pm

Re: Support for *.m2t files

Sebanisu wrote:You might need to remux those. My blu ray player has issues if the Audio streams are before the Video streams. Good luck :D


+1 to that
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Parka Boy

Serviio newbie

Posts: 8

Joined: Wed Sep 28, 2011 6:10 pm

Location: Germany

Post Thu Sep 29, 2011 4:30 pm

Re: Support for *.m2t files

Hi zip,
by rename the file into *.ts it works! Thank you!
@ Sebanisu
That is not really a problem, i use ffmpge to cut unneeded parts at the beginning and end and also remove some audio streams by this command (Linux):
  Code:
ffmpeg -ss 00:00:00 -t 00:00:00 -i ".m2t" -vcodec copy -map 0:0 -acodec copy -map 0:1 ".m2t"


  Code:
ffmpeg -ss 00:00:30 -t 00:59:00 -i "The Killing 7_8.m2t" -vcodec copy -map 0:5 -acodec copy -map 0:2 "The Killing 7.ts"
ffmpeg version N-32226-ga9c6936, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 31 2011 22:24:08 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-runtime-cpudetect --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-avfilter --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-libdc1394 --enable-libdirac --enable-libschroedinger --enable-libopenjpeg --enable-libspeex --enable-avfilter --enable-shared
  libavutil    51. 14. 0 / 51. 14. 0
  libavcodec   53. 12. 0 / 53. 12. 0
  libavformat  53. 10. 0 / 53. 10. 0
  libavdevice  53.  3. 0 / 53.  3. 0
  libavfilter   2. 37. 0 /  2. 37. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0                                                                                                                                                                                         
Input #0, mpegts, from 'The Killing 7_8.m2t':
  Duration: 02:10:00.26, start: 72468.037444, bitrate: 7330 kb/s
  Program 11120
    Stream #0.0[0x184d](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.1[0x184e](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.2[0x184c](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, s16, 256 kb/s
    Stream #0.3[0x1856](ger): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) (clean effects)
    Stream #0.4[0x1857](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
    Stream #0.5[0x1842]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 51 fps, 50 tbr, 90k tbn, 100 tbc
[mpegts @ 0x1592d40] muxrate VBR, pcr every 5 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to 'The Killing 7.ts':
  Metadata:
    encoder         : Lavf53.10.0
    Stream #0.0: Video: h264 ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 90k tbn, 50 tbc
    Stream #0.1(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, 256 kb/s
Stream mapping:
  Stream #0.5 -> #0.0 (copy)
  Stream #0.2 -> #0.1 (copy)
Press [q] to stop, [?] for help

:mrgreen:
Panasonic TX-L37EW30, Arcam solo movie 5.1, Logitech Squeezebox Touch Classic, Ubuntu Server 12.04, Serviio 6.2, Logitech Mediaserver, Huawei MediaPad

Return to Feature requests

Who is online

Users browsing this forum: Baidu [Spider] and 7 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.