Ticket #300 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Trouble playing .mkv files on Samsung TV

Reported by: pjunod Assigned to: dev
Priority: minor Milestone:
Component: Core Version:
Keywords: Cc:

Description

I am using the latest stable version of coherence to stream movies to my Samsung UN40B7000 TV. The .mkv files do not play. The tv just says they aren't supported, when the movies are encoded with video/audio codecs the tv supports. If I copy the movie to a thumb drive, the tv plays the movie fine. If I rename the .mkv file to .avi, it plays it just fine.

I am not sure exactly what is making the .mkv files not work, but I am wondering if there is some sort of way to append some config to the xml config file to make coherence and the tv handle .mkv files like it handles .avi files.

I looked through all of your tickets and could not find general info for how to create custom configs to map mime types differently for different devices. If you could tell me how to do this I would appreciate it.

I have a very basic config.xml file, which I will attach

Attachments

coherence (1.0 kB) - added by pjunod on 14.04.2010 23:34:52.

Change History

14.04.2010 23:34:52 changed by pjunod

  • attachment coherence added.

14.04.2010 23:37:35 changed by pjunod

correction: I'm using the old format config file. I am not currently using the config.xml file, but will move to it once I have the configs I need to make these mkv files work correctly on my tv.

15.04.2010 09:13:45 changed by jmsizun

Just to be sure: the listing on TV includes the mkv file, but when you try to play it, if fails? Is it correct?

15.04.2010 18:53:10 changed by pjunod

Yes that is correct.

18.04.2010 09:23:46 changed by pyg

Changing mkv mimetype to video/mpeg makes Samsung TV play that kind of files.

file "coherence/backends/fs_storage.py" : mimetypes.add_type('video/mpeg', '.mkv')

23.05.2010 23:46:43 changed by jmsizun

you may try the software developpement version in svn branch "client-device-config": it now supports customizing "extension to mimetype" mappings directly in config file.

still a development versionk though. :-)

24.05.2010 05:06:31 changed by pjunod

Thanks I will try this. It may be more useful to have the ability to deal with the media by codec type instead, since .mkv files are only containers that can have different types of codecs being used such as x.264 and divx/xvid, for example. I bring this up because I'm actually having an issue with .mkv files right now since all .mkv files are mapped to the video/mpeg type and many of them that I have and am getting are x.264.

Also, It would be useful to be able to customize these mappings and settings for individual devices. For example, I have a Samsung ln40b7000 tv and a PS3, and their compatibilities for different file types differ. In some cases, changing one setting to make one work will break that file/codec type on the other.

I was thinking you could just create config sections named after the identifier the device sends and have settings for it that are specific to that device.

24.05.2010 09:28:37 changed by jmsizun

You may have a look at DeviceSpecificities and check what is currently proposed in the development version. Seems to me we are pretty close.

The idea would be to:

  • define a "default" system-wide mimetype mapping for the mkv extension (the one which which works in most of the cases)
  • force another value for the rebellious devices