Wed Aug 18, 2010 1:25 pm by Illico
zip wrote:Those ending with _ISO should use "video/mpeg" the other ones (without suffix and _T) should have "video/vnd.dlna.mpeg-tts".
From DLNA spec:
MPEG2TS can have 3 DLNA Transport Packets. These consist of a 188-byte ISO MPEG2 TS packet, a 192-byte packet consisting of a 188-byte ISO MPEG2 TS packet preceded by a 4-byte timestamp zero-value timestamp field, and a 192-byte packet consisting of a 188-byte ISO MPEG2 TS packet preceded by a 4-byte valid timestamp.
At the moment Serviio doesn't distinguish between them and serves them using the profiles provided above.
It looks like the TV is sensitive to it. It might be that the profile name is really not too important as long as the mime type is correct. Can you post ffmpeg -i on two files, one that works with video/mpeg and one that wotks with video/vnd.dlna.mpeg-tts?
Hi Zip,
I've got two files:
TZ7_BDAV-AVC-HL4.0-1280x720-25fps-AC3-192Kbps-48KHz-Stereo.m2ts comes from my Panasonic TZ7 Cam.corder
- Code:
ffmpeg.exe -i C:\Sample\BDAV\TZ7_BDAV-AVC-HL4.0-1280x720-25fps-AC3-192Kbps-48KHz-Stereo.m2ts
FFmpeg version SVN-r24623-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 31 2010 19:32:53 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 2. 0 / 0. 2. 0
libavcodec 52.84. 2 / 52.84. 2
libavformat 52.77. 0 / 52.77. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.27. 0 / 1.27. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 100.00 (100/1) -> 25.00 (25/1)
Input #0, mpegts, from 'C:\Sample\BDAV\TZ7_BDAV-AVC-HL4.0-1280x720-25fps-AC3-192Kbps-48KHz-Stereo.m2ts':
Duration: 00:00:20.80, start: 0.363244, bitrate: 15430 kb/s
Program 1
Stream #0.0[0x1011]: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 100 tbc
Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s
GIJoe_MKV-AVC-HL4.0-1280x528-23.97fps-AAC-48KHz-Stereo.mkv comes from
here- Code:
ffmpeg.exe -i C:\Sample\MKV\GIJoe_MKV-AVC-HL4.0-1280x528-23.97fps-AAC-48KHz-Stereo.mkv
FFmpeg version SVN-r24623-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
built on Jul 31 2010 19:32:53 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
libavutil 50.23. 0 / 50.23. 0
libavcore 0. 2. 0 / 0. 2. 0
libavcodec 52.84. 2 / 52.84. 2
libavformat 52.77. 0 / 52.77. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.27. 0 / 1.27. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska @ 01a6d110] max_analyze_duration reached
[matroska @ 01a6d110] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska, from 'C:\Sample\MKV\GIJoe_MKV-AVC-HL4.0-1280x528-23.97fps-AAC-48KHz-Stereo.mkv':
Metadata:
TITLE : G.I. Joe - The Rise Of Cobra Trailer
TITLE/URL : http://www.gijoemovie.com
COPYRIGHT : 2009 by PARAMOUNT PICTURES. All rights reserved. G.I. JOE and related characters are trademarks of Hasbro and are used with permission. 2009 Hasbro. All Rights Reserved.
COMMENT : Encoded in DivX Plus HD for the DivX Plus Web Player
Duration: 00:02:14.16, start: 0.000000, bitrate: N/A
Stream #0.0(eng): Video: h264, yuv420p, 1280x528, PAR 1:1 DAR 80:33, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : Main title
Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
Metadata:
title : English 2ch Stereo
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : English
Stream #0.3(fre): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : French
Stream #0.4(ger): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : German
Stream #0.5(por): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : Portuguese
Stream #0.6(spa): Subtitle: [0][0][0][0] / 0x0000
Metadata:
title : Spanish
When I used
<MediaFormatProfile mime-type="
video/vnd.dlna.mpeg-tts" name="
AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
TZ7 works fine, but not GIJoe movie
and with
<MediaFormatProfile mime-type="
video/mpeg" name="
AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3</MediaFormatProfile>
GIJoe works fine but not TZ7
IllicoSony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 |
ServiiDroid |
ServiiGo |
BubbleUPnP Serviio beta tester - Moderator