FAQ  •  Register  •  Login

MKV Files on SAMSUNG 46C6000

<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Sun Apr 15, 2012 5:38 pm

MKV Files on SAMSUNG 46C6000

Hi,

First I explain my devices:

- Mac Mini with Lion Server 10.7.3 and Serviio 0.6.2
- Samsung 46C6000 TV with the latest firmware available from Samsung

I use to build MKV files from my DVDs with MakeMKV (v1.7.4) or HandBrake (v0.9.6)

All MKV files produced with MakeMKV are not recognized when I try to play them. The others produced with HandBrake works, so far.

This is the file buikt from a Tina Turner DVD with MakeMKV:

  Code:
./ffmpeg -i /Volumes/public/Media/Videos/Musicais/Tina\ Turner/title00.mkv
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from '/Volumes/public/Media/Videos/Musicais/Tina Turner/title00.mkv':
  Duration: 01:52:32.00, start: 0.000000, bitrate: 7053 kb/s
    Chapter #0.0: start 0.000000, end 422.080000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 422.080000, end 669.080000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 669.080000, end 910.480000
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 910.480000, end 1157.080000
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1157.080000, end 1537.480000
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 1537.480000, end 1859.080000
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 1859.080000, end 2332.080000
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 2332.080000, end 2642.080000
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 2642.080000, end 2916.320000
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 2916.320000, end 3121.080000
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 3121.080000, end 3343.080000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 3343.080000, end 3548.080000
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 3548.080000, end 3739.080000
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 3739.080000, end 4086.800000
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 4086.800000, end 4396.080000
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 4396.080000, end 4871.520000
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 4871.520000, end 5100.720000
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 5100.720000, end 5705.080000
    Metadata:
      title           : Chapter 18
    Chapter #0.18: start 5705.080000, end 6023.320000
    Metadata:
      title           : Chapter 19
    Chapter #0.19: start 6023.320000, end 6473.640000
    Metadata:
      title           : Chapter 20
    Chapter #0.20: start 6473.640000, end 6752.000000
    Metadata:
      title           : Chapter 21
    Stream #0:0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 7000 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), s16, 448 kb/s (default)
    Metadata:
      title           : 3/2+1
At least one output file must be specified


This is the file built with HandBrake from the same DVD

  Code:
lince:~ eu$ ./ffmpeg -i /Volumes/public/Media/Videos/Musicais/Tina\ Turner/TINA_TURNER.mkv
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from '/Volumes/public/Media/Videos/Musicais/Tina Turner/TINA_TURNER.mkv':
  Duration: 01:52:32.00, start: 0.000000, bitrate: 4291 kb/s
    Chapter #0.0: start 0.000000, end 422.080000
    Metadata:
      title           : Chapter  1
    Chapter #0.1: start 422.080000, end 669.080000
    Metadata:
      title           : Chapter  2
    Chapter #0.2: start 669.080000, end 910.480000
    Metadata:
      title           : Chapter  3
    Chapter #0.3: start 910.480000, end 1157.080000
    Metadata:
      title           : Chapter  4
    Chapter #0.4: start 1157.080000, end 1537.480000
    Metadata:
      title           : Chapter  5
    Chapter #0.5: start 1537.480000, end 1859.080000
    Metadata:
      title           : Chapter  6
    Chapter #0.6: start 1859.080000, end 2331.960000
    Metadata:
      title           : Chapter  7
    Chapter #0.7: start 2331.960000, end 2642.080000
    Metadata:
      title           : Chapter  8
    Chapter #0.8: start 2642.080000, end 2916.320000
    Metadata:
      title           : Chapter  9
    Chapter #0.9: start 2916.320000, end 3121.080000
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 3121.080000, end 3343.080000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 3343.080000, end 3548.080000
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 3548.080000, end 3739.080000
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 3739.080000, end 4086.680000
    Metadata:
      title           : Chapter 14
    Chapter #0.14: start 4086.680000, end 4396.080000
    Metadata:
      title           : Chapter 15
    Chapter #0.15: start 4396.080000, end 4871.520000
    Metadata:
      title           : Chapter 16
    Chapter #0.16: start 4871.520000, end 5100.720000
    Metadata:
      title           : Chapter 17
    Chapter #0.17: start 5100.720000, end 5705.080000
    Metadata:
      title           : Chapter 18
    Chapter #0.18: start 5705.080000, end 6023.320000
    Metadata:
      title           : Chapter 19
    Chapter #0.19: start 6023.320000, end 6473.640000
    Metadata:
      title           : Chapter 20
    Chapter #0.20: start 6473.640000, end 6752.000000
    Metadata:
      title           : Chapter 21
    Stream #0:0(eng): Video: h264 (Main), yuv420p, 702x572 [SAR 16:15 DAR 72:55], SAR 244:229 DAR 3294:2519, 25 fps, 25 tbr, 1k tbn, 180k tbc (default)
    Stream #0:1: Audio: aac, 48000 Hz, stereo, s16 (default)
At least one output file must be specified


The first one does not work when I try to play it on TV, the second one works fine.

If I change the profile assigned to the TV from "Samsung TV / player (C/D-series)" to "Generic DLNA profile" both files work fine.

I look at serviio.log and I get this

  Code:
[ProcessExecutor] Process /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg has a return code of 1! This is a possible error.
2012-04-15 17:48:52,068 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
   at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
   at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
   at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
   at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
   at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
   at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
   at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
   at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
   at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
   at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)


This is how far I can go, with my knowledge:(

Any ideas/clues to solve this problem?

How can I activate DEBUG mode on Serviio log, for instance?

Regards,

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17145

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 16, 2012 12:05 pm

Re: MKV Files on SAMSUNG 46C6000

enable detailed logging, try to play again and find the ffmpeg command used to transcode (the ne giving you the error above). Then try to run it manually and post the error ffmpeg output.
<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Mon Apr 16, 2012 3:24 pm

Re: MKV Files on SAMSUNG 46C6000

That is one of my questions:) How do I enable detailed logging?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17145

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 17, 2012 11:56 am

Re: MKV Files on SAMSUNG 46C6000

<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Sat Apr 21, 2012 4:21 pm

Re: MKV Files on SAMSUNG 46C6000

Hi there,

Her goes the result of ffmpeg invocation

  Code:
lince:~ eu$ sudo /Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -i /Volumes/Lidl/Media/Videos/Musicais/Tina\ Turner/title01.mkv -y -threads 1 -async 1 -vcodec copy -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Serviio/transcoding-temp-37535-MPEG2TS.stf
Password:
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, matroska,webm, from '/Volumes/Lidl/Media/Videos/Musicais/Tina Turner/title01.mkv':
  Duration: 00:30:42.00, start: 0.000000, bitrate: 6599 kb/s
    Chapter #0.0: start 0.000000, end 11.080000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 11.080000, end 111.080000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 111.080000, end 280.080000
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 280.080000, end 454.080000
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 454.080000, end 568.080000
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 568.080000, end 666.480000
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 666.480000, end 810.080000
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 810.080000, end 941.760000
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 941.760000, end 1019.280000
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 1019.280000, end 1106.120000
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 1106.120000, end 1195.760000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 1195.760000, end 1280.080000
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 1280.080000, end 1576.080000
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 1576.080000, end 1842.000000
    Metadata:
      title           : Chapter 14
    Stream #0:0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 6319 kb/s, 25 fps, 25 tbr, 1k tbn, 50 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, s16, 448 kb/s (default)
    Metadata:
      title           : 2/0
[mpegts @ 0x101978000] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Serviio/transcoding-temp-37535-MPEG2TS.stf':
  Metadata:
    encoder         : Lavf53.32.100
    Chapter #0.0: start 0.000000, end 11.080000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 11.080000, end 111.080000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 111.080000, end 280.080000
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 280.080000, end 454.080000
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 454.080000, end 568.080000
    Metadata:
      title           : Chapter 05
    Chapter #0.5: start 568.080000, end 666.480000
    Metadata:
      title           : Chapter 06
    Chapter #0.6: start 666.480000, end 810.080000
    Metadata:
      title           : Chapter 07
    Chapter #0.7: start 810.080000, end 941.760000
    Metadata:
      title           : Chapter 08
    Chapter #0.8: start 941.760000, end 1019.280000
    Metadata:
      title           : Chapter 09
    Chapter #0.9: start 1019.280000, end 1106.120000
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 1106.120000, end 1195.760000
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 1195.760000, end 1280.080000
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 1280.080000, end 1576.080000
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 1576.080000, end 1842.000000
    Metadata:
      title           : Chapter 14
    Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=2-31, 6319 kb/s, 25 fps, 90k tbn, 25 tbc
    Stream #0:1(eng): Audio: ac3, 48000 Hz, stereo, 448 kb/s (default)
    Metadata:
      title           : 2/0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mpegts @ 0x101978000] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 7200 >= 7200
av_interleaved_write_frame(): Invalid argument


Regards,
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17145

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 22, 2012 11:24 pm

Re: MKV Files on SAMSUNG 46C6000

hmm, that is a bug in FFmpeg that I thought was fixed by a patch that I use for it. Obviously it doesn't catch all cases. You can try to remux it yourself using mkvmerge or similar tool.
<<

pfonseca

Serviio newbie

Posts: 13

Joined: Sun Apr 15, 2012 11:41 am

Location: Lisbon / OPorto - Portugal

Post Tue Apr 24, 2012 10:44 pm

Re: MKV Files on SAMSUNG 46C6000

Hi,

Thx for your answer.

I'm using a different version of FFMPEG from the one included with Serviio v0.6.2 trying to figure if that will solve the problem. It did'nt.

For now I think the solution is to use Handbrake instead of MakeMKV. In the meantime I'm gonna wait for Serviio v1.0 that I think it's in Beta now.

Regards and thank you again for your excellent work with Serviio:)

Return to Samsung

Who is online

Users browsing this forum: No registered users and 9 guests

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