FAQ  •  Register  •  Login

MKV Files Not Playable with New Version

<<

cultan

Serviio newbie

Posts: 7

Joined: Fri Sep 30, 2011 12:08 am

Post Fri Sep 30, 2011 12:15 am

MKV Files Not Playable with New Version

I am streaming to a Sony BDP S370 Blu-Ray player. When I upgraded to V 06.0 most of my MKV files would not play - message something like format not supported. Had to resort back to version 5.2 in order to play these files again. Not sure why or how to correct.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Fri Sep 30, 2011 7:19 am

Re: MKV Files Not Playable with New Version

Could you provide some information about your mkv files ("ffmpeg -i" or MediaInfo result) ?
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

cultan

Serviio newbie

Posts: 7

Joined: Fri Sep 30, 2011 12:08 am

Post Sat Oct 01, 2011 12:06 am

Re: MKV Files Not Playable with New Version

Two examples of files that will not play with the new version:
Attachments
die hard.txt
(4.41 KiB) Downloaded 777 times
christnas story.txt
(4.14 KiB) Downloaded 599 times
<<

gali

Serviio newbie

Posts: 5

Joined: Sat Oct 15, 2011 2:11 am

Post Sat Oct 15, 2011 2:13 am

Re: MKV Files Not Playable with New Version

Hi, yes I confirm, same issue since the upgrade. Would you have an ETA on a fix for this please, Serviio is our only hope thanks to SONY...
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Sat Oct 22, 2011 8:45 pm

Re: MKV Files Not Playable with New Version

I think there's another thread about this. It's a bug in FFmpeg I believe. You ought to be able to fix things by swapping the FFmpeg.exe in your serviio/bin folder with the one from 0.5.2, however it won't have librtmp compiled in so you won't be able to use online feeds.

Zip was going to see about compiling FFmpeg with an old patch that used to be necessary to fix this, but which in theory should have been comitted to the source for FFmpeg 0.8. What OS are you running on?

@Zip - if you send me the patch I ought to be able to compile...
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

gali

Serviio newbie

Posts: 5

Joined: Sat Oct 15, 2011 2:11 am

Post Tue Oct 25, 2011 1:36 am

Re: MKV Files Not Playable with New Version

Hi, I use Win7 64 bit. I will try swapping the FFmpeg.exe and see what that does for me. I have also noticed that .mkv over 9GB only plays few seconds and then stop. So will let you know once I have swapped it out what the findings are.

Thanks again.
<<

diesel

Serviio newbie

Posts: 4

Joined: Tue Oct 25, 2011 8:23 pm

Location: High Wycombe, UK

Post Tue Oct 25, 2011 8:52 pm

Re: MKV Files Not Playable with New Version

Hi,

Think I might also have the FFMPEG issue. Running 0.6.01 Windows 7 64 Bit. Don't have an old Serviio, anyone help me out with a good FFMPEG.

Here's the output when running from cmd line. (See final 2 ines)

  Code:
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i H:\Temp\GREEN_ZONE_DTS.mkv -y -vcodec copy -copyts -acodec ac3 -ab 320k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts C:\Serviio\Serviio\transcoding-temp-587-MPEG2TS.stf
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enable-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-config
  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 @ 003dbfe0] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from 'H:\Temp\GREEN_ZONE_DTS.mkv':
  Duration: 01:54:46.42, start: 0.000000, bitrate: 1536 kb/s
    Stream #0.0: Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
    Stream #0.1: Audio: dca (DTS-HD MA), 48000 Hz, 5.1, s16, 1536 kb/s (default)

[ac3 @ 0139bfa0] channel_layout not specified
[ac3 @ 0139bfa0] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[mpegts @ 003db6e0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every40 pkts
Output #0, mpegts, to 'C:\Serviio\Serviio\transcoding-temp-587-MPEG2TS.stf':
  Metadata:
    encoder         : Lavf53.6.0
    Stream #0.0: Video: WVC1 / 0x31435657, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 23.98 tbc (default)
    Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 320 kb/s (default)
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
Input stream #0.1 frame changed from rate:48000 fmt:s16 ch:6 to rate:48000 fmt:s16 ch:2
[mpegts @ 003db6e0] first pts value must set
av_interleaved_write_frame(): Operation not permitted
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Oct 26, 2011 7:01 am

Re: MKV Files Not Playable with New Version

yes probably the ffmpeg issue, look at this: viewtopic.php?f=11&t=3778&start=10#p25208
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

diesel

Serviio newbie

Posts: 4

Joined: Tue Oct 25, 2011 8:23 pm

Location: High Wycombe, UK

Post Wed Oct 26, 2011 8:17 pm

Re: MKV Files Not Playable with New Version

thx, checking it out now.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Oct 27, 2011 11:50 am

Re: MKV Files Not Playable with New Version

try not to select Downmix to stereo.
<<

diesel

Serviio newbie

Posts: 4

Joined: Tue Oct 25, 2011 8:23 pm

Location: High Wycombe, UK

Post Thu Oct 27, 2011 5:59 pm

Re: MKV Files Not Playable with New Version

Tried that zip but no luck.

I did try the new windows FFMPEG build 25/10/2011 and got the same result.
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 23. 0 / 53. 23. 0
libavformat 53. 17. 0 / 53. 17. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 0 / 2. 45. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0

BTW - Am I OK to do this - or is your FFMPEG a custom build?

My workflow for this file is >AVCHD >tsmuxer demux>mkvmerge the H264 and dts - tried with and without header compression. Looks like Serviio is picking up VC1_TS_AP_L2_AC3_ISO. Using your Sony BD profile on a BD S570 but FFMPEG (old and new) failing with:
[mpegts @ 0003F420] first pts value must set
av_interleaved_write_frame(): Operation not permitted

Full log.
C:\Program Files (x86)\Serviio\lib>ffmpeg.exe -i H:\Temp\GREEN_ZONE_DTS.mkv -y -
vcodec copy -copyts -acodec ac3 -ab 320k -ac 6 -map 0:0 -map 0:1 -sn -f mpegts C
:\Serviio\Serviio\transcoding-temp-595-MPEG2TS.stf
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 14 2011 23:37:53 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
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 @ 013bbfe0] Estimating duration from bitrate, this may be inaccur
ate
Input #0, matroska,webm, from 'H:\Temp\GREEN_ZONE_DTS.mkv':
Duration: 01:54:46.42, start: 0.000000, bitrate: 1536 kb/s
Stream #0.0: Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2
3.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Stream #0.1: Audio: dca (DTS-HD MA), 48000 Hz, 5.1, s16, 1536 kb/s (default)

[ac3 @ 013be7a0] channel_layout not specified
[ac3 @ 013be7a0] No channel layout specified. The encoder will guess the layout,
but it might be incorrect.
[mpegts @ 013bb6c0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every
40 pkts
Output #0, mpegts, to 'C:\Serviio\Serviio\transcoding-temp-595-MPEG2TS.stf':
Metadata:
encoder : Lavf53.6.0
Stream #0.0: Video: WVC1 / 0x31435657, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9]
, q=2-31, 90k tbn, 23.98 tbc (default)
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 320 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
[mpegts @ 013bb6c0] first pts value must set
av_interleaved_write_frame(): Operation not permitted
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 28, 2011 1:53 pm

Re: MKV Files Not Playable with New Version

actually I think I remember FFmpeg having issues with muxing VC1 to mpegts. You might either use TSmuxer to do that manually (ie convert your mkv VC1/DTS to mpegts) to keep quality or try to create your files with AC3 audio track instead of DTS so that you don't have to transcode anything.
<<

gali

Serviio newbie

Posts: 5

Joined: Sat Oct 15, 2011 2:11 am

Post Sun Oct 30, 2011 8:47 pm

Re: MKV Files Not Playable with New Version

Thanks, for now I re installed the 0.5.2 again and my mkv's are playing again, as long as it works, no new features will benefit me as long as I have a Sony anyway :) Next time round I am buying a Panasonic or Samsung!
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Oct 31, 2011 6:20 pm

Re: MKV Files Not Playable with New Version

So does VC1 remuxing actually work with a Sony using 0.5.2? I don't have a sample in mkv, but I have VC1 in m2ts from some kind of HD-DVD demo. On the Sony BDP it plays with muted audio.
What happens if you take the ffmpeg from 0.5.2 and use it with 0.6.0.1 (obviously online feeds won't work, but it would be useful to know whether it fixes stuff)? I seem to remember that I couldn't find anything that would remux VC1 properly.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

gali

Serviio newbie

Posts: 5

Joined: Sat Oct 15, 2011 2:11 am

Post Mon Oct 31, 2011 8:25 pm

Re: MKV Files Not Playable with New Version

All I can say is that my .mkv's now play again that did not under 0.6.0.1. I still find at times that it will come up saying 'File type not recognised', but then I just try it again and it plays fine. I am still to find a DLNA player taht will play mkv's over 8GB
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Mon Oct 31, 2011 10:23 pm

Re: MKV Files Not Playable with New Version

I have recently watched a 10GB mkv on my Sony BDP so I'm not sure why you would have problems. It was h264 - are all yours VC1?
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to Sony

Who is online

Users browsing this forum: No registered users and 16 guests

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