[FFmpeg-trac] #1398(undetermined:new): remuxed DTS audio won't play on hardware devices
FFmpeg
trac at avcodec.org
Sun Jun 3 12:18:22 CEST 2012
#1398: remuxed DTS audio won't play on hardware devices
-------------------------------------+-------------------------------------
Reporter: patters | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: DTS mpegts | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by patters):
Yes, it does seem to be hardware only.
[http://forum.serviio.org/viewtopic.php?f=7&t=2091 Sony PS3],
[http://forum.serviio.org/viewtopic.php?f=5&t=5277&p=38052#p38052 Sony
Bluray/Network Media Player], plus I believe it was reported on some
receivers (can't find links to that on the forum at the moment).
Here is the console output of the original test file:
{{{ffmpeg version 0.9-Serviio, Copyright (c) 2000-2011 the FFmpeg
developers
built on Dec 19 2011 01:36:11 with gcc 4.2.3
configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-
cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static
--disable-shared --disable-ffplay --disable-ffserver --enable-pthreads
--enable-libmp3lame --enable-librtmp --extra-version=Serviio
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[matroska,webm @ 0xf49ab0] Format matroska,webm probed with size=2048 and
score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
st:3 removing common factor 1000000 from timebase
st:4 removing common factor 1000000 from timebase
st:5 removing common factor 1000000 from timebase
st:6 removing common factor 1000000 from timebase
st:7 removing common factor 1000000 from timebase
st:8 removing common factor 1000000 from timebase
st:9 removing common factor 1000000 from timebase
st:10 removing common factor 1000000 from timebase
st:11 removing common factor 1000000 from timebase
st:12 removing common factor 1000000 from timebase
st:13 removing common factor 1000000 from timebase
st:14 removing common factor 1000000 from timebase
st:15 removing common factor 1000000 from timebase
st:16 removing common factor 1000000 from timebase
[h264 @ 0xf4cba0] err{or,}_recognition separate: 1; 1
[h264 @ 0xf4cba0] err{or,}_recognition combined: 1; 65537
[dca @ 0xf4d1c0] err{or,}_recognition separate: 1; 1
[dca @ 0xf4d1c0] err{or,}_recognition combined: 1; 65537
[dca @ 0xf4d1c0] Unsupported bit depth: 0
[h264 @ 0xf4cba0] no picture
[dca @ 0xf4d1c0] Stream with high frequencies VQ coding
[h264 @ 0xf4cba0] no picture
[matroska,webm @ 0xf49ab0] All info found
rfps: 23.750000 0.018391
rfps: 23.750000 0.015154
rfps: 23.833333 0.011121
rfps: 23.916667 0.007023
rfps: 24.000000 0.006098
rfps: 24.083333 0.008346
rfps: 24.166667 0.013766
rfps: 24.166667 0.015674
rfps: 47.750000 0.015738
rfps: 47.833333 0.009183
rfps: 47.916667 0.005801
rfps: 48.000000 0.005591
rfps: 48.083333 0.008554
rfps: 48.166667 0.014690
rfps: 23.976024 0.006039
Seems stream 0 codec frame rate differs from container frame rate: 47.95
(5000000/104271) -> 48.00 (48/1)
Input #0, matroska,webm, from
'/volume1/public/video/Movies/The.Good.The.Bad.And.The.Ugly.EXTENDED.1966.BluRay.720p.DTS.x264-FSiHD.mkv':
Duration: 02:58:41.68, start: 0.000000, bitrate: 6343 kb/s
Chapter #0.0: start 0.000000, end 177.386000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 177.386000, end 362.195000
Metadata:
title : 00:02:57.386
Chapter #0.2: start 362.195000, end 905.905000
Metadata:
title : 00:06:02.195
Chapter #0.3: start 905.905000, end 1048.214000
Metadata:
title : 00:15:05.905
Chapter #0.4: start 1048.214000, end 1318.359000
Metadata:
title : 00:17:28.214
Chapter #0.5: start 1318.359000, end 1479.353000
Metadata:
title : 00:21:58.359
Chapter #0.6: start 1479.353000, end 1669.710000
Metadata:
title : 00:24:39.353
Chapter #0.7: start 1669.710000, end 1784.783000
Metadata:
title : 00:27:49.710
Chapter #0.8: start 1784.783000, end 1927.759000
Metadata:
title : 00:29:44.783
Chapter #0.9: start 1927.759000, end 2299.923000
Metadata:
title : 00:32:07.759
Chapter #0.10: start 2299.923000, end 2496.452000
Metadata:
title : 00:38:19.923
Chapter #0.11: start 2496.452000, end 2980.186000
Metadata:
title : 00:41:36.452
Chapter #0.12: start 2980.186000, end 3237.693000
Metadata:
title : 00:49:40.186
Chapter #0.13: start 3237.693000, end 3441.605000
Metadata:
title : 00:53:57.693
Chapter #0.14: start 3441.605000, end 3961.207000
Metadata:
title : 00:57:21.605
Chapter #0.15: start 3961.207000, end 4416.412000
Metadata:
title : 01:06:01.207
Chapter #0.16: start 4416.412000, end 4954.741000
Metadata:
title : 01:13:36.412
Chapter #0.17: start 4954.741000, end 5363.608000
Metadata:
title : 01:22:34.741
Chapter #0.18: start 5363.608000, end 5730.141000
Metadata:
title : 01:29:23.608
Chapter #0.19: start 5730.141000, end 5904.482000
Metadata:
title : 01:35:30.141
Chapter #0.20: start 5904.482000, end 6423.500000
Metadata:
title : 01:38:24.482
Chapter #0.21: start 6423.500000, end 6796.540000
Metadata:
title : 01:47:03.500
Chapter #0.22: start 6796.540000, end 7018.303000
Metadata:
title : 01:53:16.540
Chapter #0.23: start 7018.303000, end 7562.555000
Metadata:
title : 01:56:58.303
Chapter #0.24: start 7562.555000, end 7856.265000
Metadata:
title : 02:06:02.555
Chapter #0.25: start 7856.265000, end 8258.041000
Metadata:
title : 02:10:56.265
Chapter #0.26: start 8258.041000, end 8632.582000
Metadata:
title : 02:17:38.041
Chapter #0.27: start 8632.582000, end 9170.912000
Metadata:
title : 02:23:52.582
Chapter #0.28: start 9170.912000, end 9568.392000
Metadata:
title : 02:32:50.912
Chapter #0.29: start 9568.392000, end 9795.536000
Metadata:
title : 02:39:28.392
Chapter #0.30: start 9795.536000, end 10136.960000
Metadata:
title : 02:43:15.536
Chapter #0.31: start 10136.960000, end 10721.687000
Metadata:
title : 02:48:56.960
Stream #0:0(eng), 41, 1/1000: Video: h264 (High), yuv420p, 1280x544,
104271/5000000, SAR 1:1 DAR 40:17, 23.98 fps, 48 tbr, 1k tbn, 47.95 tbc
(default)
Stream #0:1(eng), 160, 1/1000: Audio: dts (DTS), 48000 Hz, 5.1(side),
s16, 1536 kb/s (default)
Stream #0:2(eng), 0, 1/1000: Subtitle: text (default)
Stream #0:3(dut), 0, 1/1000: Subtitle: text
Stream #0:4(fre), 0, 1/1000: Subtitle: text
Stream #0:5(dan), 0, 1/1000: Subtitle: text
Stream #0:6(fin), 0, 1/1000: Subtitle: text
Stream #0:7(nor), 0, 1/1000: Subtitle: text
Stream #0:8(swe), 0, 1/1000: Subtitle: text
Stream #0:9(por), 0, 1/1000: Subtitle: text
Stream #0:10(slo), 0, 1/1000: Subtitle: text
Stream #0:11(tur), 0, 1/1000: Subtitle: text
Stream #0:12(kro), 0, 1/1000: Subtitle: text
Stream #0:13(cze), 0, 1/1000: Subtitle: text
Stream #0:14(est), 0, 1/1000: Subtitle: text
Stream #0:15(hun), 0, 1/1000: Subtitle: text
Stream #0:16(pol), 0, 1/1000: Subtitle: text
At least one output file must be specified
}}}
----
Here is the console output for the non-working FFmpeg remux output file:
{{{ffmpeg version 0.9-Serviio, Copyright (c) 2000-2011 the FFmpeg
developers
built on Dec 19 2011 01:36:11 with gcc 4.2.3
configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-
cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static
--disable-shared --disable-ffplay --disable-ffserver --enable-pthreads
--enable-libmp3lame --enable-librtmp --extra-version=Serviio
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mpegts @ 0xf49ab0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0xf49ab0] stream=0 stream_type=1b pid=100 prog_reg_desc=
[mpegts @ 0xf49ab0] stream=1 stream_type=6 pid=101 prog_reg_desc=
[h264 @ 0xf4d890] err{or,}_recognition separate: 1; 1
[h264 @ 0xf4d890] err{or,}_recognition combined: 1; 65537
[h264 @ 0xf4d890] no picture
Last message repeated 1 times
[mpegts @ 0xf49ab0] probing stream 1 pp:2500
[mpegts @ 0xf49ab0] Probe with size=2012, packets=1 detected mp3 with
score=1
[mpegts @ 0xf49ab0] probing stream 1 pp:2499
[mpegts @ 0xf49ab0] Probe with size=4024, packets=2 detected mp3 with
score=1
[mpegts @ 0xf49ab0] probing stream 1 pp:2498
[mpegts @ 0xf49ab0] Probe with size=6036, packets=3 detected mp3 with
score=1
[mpegts @ 0xf49ab0] probing stream 1 pp:2497
[mpegts @ 0xf49ab0] probing stream 1 pp:2496
[mpegts @ 0xf49ab0] Probe with size=10060, packets=5 detected dts with
score=51
[mpegts @ 0xf49ab0] probed stream 1
[dca @ 0xf4e0d0] err{or,}_recognition separate: 1; 1
[dca @ 0xf4e0d0] err{or,}_recognition combined: 1; 65537
[dca @ 0xf4e0d0] Unsupported bit depth: 0
[dca @ 0xf4e0d0] Stream with high frequencies VQ coding
[mpegts @ 0xf49ab0] max_analyze_duration 5000000 reached at 5002667
rfps: 23.916667 0.007536
Last message repeated 1 times
rfps: 24.000000 0.001263
Last message repeated 1 times
rfps: 47.916667 0.002860
rfps: 48.000000 0.005052
Last message repeated 1 times
rfps: 23.976024 0.000047
Last message repeated 1 times
[mpegts @ 0xf49ab0] PES packet size mismatch
Seems stream 0 codec frame rate differs from container frame rate: 47.95
(5000000/104271) -> 23.98 (24000/1001)
Input #0, mpegts, from '/volume1/public/video/Trailers and
samples/ticket1398-ffmpeg-remux-broken.m2ts':
Duration: 00:00:17.72, start: 1.400000, bitrate: 4621 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100], 122, 1/90000: Video: h264 (High) ([27][0][0][0] /
0x001B), yuv420p, 1280x544, 104271/5000000, 23.98 fps, 23.98 tbr, 90k tbn,
47.95 tbc
Stream #0:1[0x101](eng), 471, 1/90000: Audio: dts (DTS) ([6][0][0][0]
/ 0x0006), 48000 Hz, 5.1(side), s16, 1536 kb/s
At least one output file must be specified
}}}
----
Here is the console output for the tsMuxeR working remux output file:
{{{ffmpeg version 0.9-Serviio, Copyright (c) 2000-2011 the FFmpeg
developers
built on Dec 19 2011 01:36:11 with gcc 4.2.3
configuration: --arch=arm --enable-armv5te --prefix=/opt --extra-
cflags=-I/opt/include --extra-ldflags=-L/tmp/lib --enable-static
--disable-shared --disable-ffplay --disable-ffserver --enable-pthreads
--enable-libmp3lame --enable-librtmp --extra-version=Serviio
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mpegts @ 0xf49ab0] Format mpegts probed with size=2048 and score=100
[mpegts @ 0xf49ab0] stream=0 stream_type=1b pid=1011 prog_reg_desc=HDMV
[mpegts @ 0xf49ab0] stream=1 stream_type=82 pid=1100 prog_reg_desc=HDMV
[h264 @ 0xf4d6c0] err{or,}_recognition separate: 1; 1
[h264 @ 0xf4d6c0] err{or,}_recognition combined: 1; 65537
[dca @ 0xf4df70] err{or,}_recognition separate: 1; 1
[dca @ 0xf4df70] err{or,}_recognition combined: 1; 65537
[dca @ 0xf4df70] Unsupported bit depth: 0
[h264 @ 0xf4d6c0] no picture
[dca @ 0xf4df70] Stream with high frequencies VQ coding
[h264 @ 0xf4d6c0] no picture
[mpegts @ 0xf49ab0] max_analyze_duration 5000000 reached at 5002667
rfps: 23.916667 0.007466
Last message repeated 1 times
rfps: 24.000000 0.001218
rfps: 24.000000 0.008439
rfps: 47.916667 0.002653
Last message repeated 1 times
rfps: 48.000000 0.004871
rfps: 48.000000 0.011118
rfps: 23.976024 0.000000
Last message repeated 1 times
[mpegts @ 0xf49ab0] PES packet size mismatch
Seems stream 0 codec frame rate differs from container frame rate: 47.95
(5000000/104271) -> 23.98 (24000/1001)
Input #0, mpegts, from '/volume1/public/video/Trailers and
samples/ticket1398-tsmuxer-remux-working.m2ts':
Duration: 00:00:18.18, start: 599.958300, bitrate: 4504 kb/s
Program 1
Stream #0:0[0x1011](eng), 122, 1/90000: Video: h264 (High)
([27][0][0][0] / 0x001B), yuv420p, 1280x544, 104271/5000000, 23.98 fps,
23.98 tbr, 90k tbn, 47.95 tbc
Stream #0:1[0x1100](eng), 471, 1/90000: Audio: dts (DTS)
([130][0][0][0] / 0x0082), 48000 Hz, 5.1(side), s16, 1536 kb/s
At least one output file must be specified
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1398#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list