Re: BD-S580 no longer works after upgrade from 0.5.2 to 0.6.
Also, for the sake of completeness, I compared the transcode commands for the given test file coming out of serviio 0.5.2 and 0.6.1 and, unsurprisingly, they are identical, so serviio itself is not doing anything different - it's definately a change in ffmpeg that is causing my problem ...
Patters - I built your version of ffmpeg from the tarball you linked to and, using serviio's generated transcode command (taken from the log), manually tried to transcode (edit: actually, its a remux rather than a transcode) the test file using all 3 versions (i.e. yours, ffmpeg packaged with V0.6.1, ffmpeg packaged with 0.5.2 )
Results are as follows :
pattter's supplied version - version 0.8.2.git-05a2673 - (FAIL):
- Code:
sudo ffmpeg -i "Test File 1.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf
ffmpeg version 0.8.2.git-05a2673, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 5 2011 07:40:27 with gcc 4.5.2
configuration:
libavutil 51. 13. 0 / 51. 13. 0
libavcodec 53. 11. 0 / 53. 11. 0
libavformat 53. 9. 0 / 53. 9. 0
libavdevice 53. 3. 0 / 53. 3. 0
libavfilter 2. 34. 1 / 2. 34. 1
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 0x93493a0] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 100.00 (100/1)
Input #0, matroska,webm, from 'Test File 1.mkv':
Duration: 00:25:07.80, start: 0.000000, bitrate: 128 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 720x574 [SAR 64:45 DAR 512:287], SAR 233:164 DAR 20970:11767, 25 fps, 100 tbr, 1k tbn, 180k tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s (default)
[mpegts @ 0x934ed80] muxrate VBR, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf':
Metadata:
encoder : Lavf53.9.0
Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 720x574 [SAR 233:164 DAR 20970:11767], q=2-31, 90k tbn, 1k tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 128 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpegts @ 0x934ed80] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -7200 >= -7200
av_interleaved_write_frame(): Invalid argument
ffmpeg packaged with V 0.6.1 - version 0.8.git - (FAIL)
- Code:
sudo ffmpeg-061 -i "Test File 1.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf
ffmpeg version 0.8.git, Copyright (c) 2000-2011 the FFmpeg developers
built on Sep 25 2011 08:14:32 with gcc 4.5.2
configuration:
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
[matroska,webm @ 0xa882380] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 100.00 (100/1)
Input #0, matroska,webm, from 'Test File 1.mkv':
Duration: 00:25:07.80, start: 0.000000, bitrate: 128 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 720x574 [PAR 64:45 DAR 512:287], PAR 233:164 DAR 20970:11767, 25 fps, 100 tbr, 1k tbn, 180k tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s (default)
[mpegts @ 0xa884e80] muxrate VBR, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf':
Metadata:
encoder : Lavf53.6.0
Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 720x574 [PAR 233:164 DAR 20970:11767], q=2-31, 90k tbn, 1k tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 128 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpegts @ 0xa884e80] Application provided invalid, non monotonically increasing dts to muxer in stream 0: -7200 >= -7200
av_interleaved_write_frame(): Invalid argument
ffmpeg packaged with V 0.5.2 - version UNKNOWN - (SUCCESS)
- Code:
sudo ffmpeg-052 -i "Test File 1.mkv" -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf
FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 4 2011 13:56:56 with gcc 4.5.2
configuration:
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 0 / 0.16. 0
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.92. 0 / 52.92. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.72. 0 / 1.72. 0
libswscale 0.12. 0 / 0.12. 0
[matroska,webm @ 0xaaa74c0] Estimating duration from bitrate, this may be inaccurate
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 500.00 (500/1)
Input #0, matroska,webm, from 'Test File 1.mkv':
Duration: 00:25:07.80, start: 0.000000, bitrate: 128 kb/s
Stream #0.0(eng): Video: h264, yuv420p, 720x574 [PAR 64:45 DAR 512:287], PAR 233:164 DAR 20970:11767, 25 fps, 500 tbr, 1k tbn, 180k tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s
[mpegts @ 0xaaad810] muxrate VBR, pcr every 100 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-2539-MPEG2TS.stf':
Metadata:
encoder : Lavf52.92.0
Stream #0.0(eng): Video: [0][0][0][0] / 0x0000, yuv420p, 720x574 [PAR 233:164 DAR 20970:11767], q=2-31, 90k tbn, 1k tbc
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 9955 fps=9130 q=-1.0 size= 162435kB time=399.48 bitrate=3331.0kbits/s
frame=16561 fps=10334 q=-1.0 size= 262562kB time=664.04 bitrate=3239.1kbits/s
frame=18165 fps=7474 q=-1.0 size= 290020kB time=728.36 bitrate=3261.9kbits/s
frame=22999 fps=7848 q=-1.0 size= 373290kB time=921.72 bitrate=3317.7kbits/s
frame=26382 fps=7680 q=-1.0 size= 429487kB time=1057.12 bitrate=3328.2kbits/s
frame=32113 fps=8153 q=-1.0 size= 490314kB time=1287.80 bitrate=3119.0kbits/s
frame=34838 fps=7801 q=-1.0 size= 527146kB time=1396.96 bitrate=3091.3kbits/s
frame=37563 fps=8022 q=-1.0 Lsize= 569020kB time=1507.68 bitrate=3091.8kbits/s
video:499946kB audio:23560kB global headers:0kB muxing overhead 8.694141%
Conclusion : oldest version of ffmpeg (i.e. the one packaged with 0.5.2 ) is the only one that works for me with mkvs

What's troubling me is the fact that if everybody's mkv playback was broken, there would be a lot more posts here about it - this is quite perplexing ...