Jump to content

emby detects mkv as ts


Flymy

Recommended Posts

Does anyone know what can be the reason, that my emby detects most of my mkv's as ts?

 

If i select the movie in my browser (look at picture) it says, that's a mkv (h264 and dca). But when i select DLNA devices on my TV (Samsung UE40J6250) it's a *.ts file and the can't play it.

Natively my TV can play the file (over USB), but also with another DLNA server (e.g Twonky)

 

I'm very thankful for any help!!

 

 

post-90509-0-12345800-1455289042_thumb.jpg

Link to comment
Share on other sites

For further information about the movie:

 

Allgemein

Format                           : Matroska
Dateigröße                       : 8,64 GiB
Dauer                            : 1h 57min
Gesamte Bitrate                  : 10,5 Mbps


used Encoder-Bibliothek    : libebml v1.2.0 + libmatroska v1.1.0

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format-Profil                    : High@L4.1
Format-Einstellungen für CABAC   : Ja
Format-Einstellungen für ReFrame : 3 frames
Muxing-Modus                     : Header stripping
Codec-ID                         : V_MPEG4/ISO/AVC
Dauer                            : 1h 57min
Bitrate                          : 7 500 Kbps
Breite                           : 1 920 Pixel
Höhe                             : 800 Pixel
Bildseitenverhältnis             : 2,40:1
Bildwiederholungsrate            : 23,976 FPS
ColorSpace                       : YUV
ChromaSubsampling                : 4:2:0
BitDepth/String                  : 8 bits
Scantyp                          : progressiv
Bits/(Pixel*Frame)               : 0.204
Stream-Größe                     : 5,98 GiB (69%)
verwendete Encoder-Bibliothek    : x264 core 96 r1613 81e75e9
Kodierungseinstellungen          : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=esa / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=6 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=0 / bitrate=7500 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.70 / nal_hrd=none
Sprache                          : Englisch

Audio #1
ID                               : 2
Format                           : DTS
Format/Info                      : Digital Theater Systems
Muxing-Modus                     : Header stripping
Codec-ID                         : A_DTS
Dauer                            : 1h 57min
Bitraten-Modus                   : konstant
Bitrate                          : 1 510 Kbps
Kanäle                           : 6 Kanäle
Kanal-Positionen                 : Front: L C R, Side: L R, LFE
Samplingrate                     : 48,0 KHz
BitDepth/String                  : 24 bits
Stream-Größe                     : 1,24 GiB (14%)
Sprache                          : Englisch

Audio #2
ID                               : 3
Format                           : DTS
Format/Info                      : Digital Theater Systems
Muxing-Modus                     : Header stripping
Codec-ID                         : A_DTS
Dauer                            : 1h 57min
Bitraten-Modus                   : konstant
Bitrate                          : 1 510 Kbps
Kanäle                           : 6 Kanäle
Kanal-Positionen                 : Front: L C R, Side: L R, LFE
Samplingrate                     : 48,0 KHz
BitDepth/String                  : 24 bits
Stream-Größe                     : 1,24 GiB (14%)
Sprache                          : Deutsch
 

Link to comment
Share on other sites

ok, first of all, thank you for the very quick answer. I have to say i love the idea of emby, because of the possibility to manage my medias over my tablet and stream it to my tv.

i've spent hours to check all the options to configure emby so that every single media type can be streamed on my Samsung TV without transcoding. But i have to say that i've faild.

 

For normal, the tv can play everything, really! Also with my Twonky server - it can play the movie i've mentioned without problems. But Twonky hast not this genius possibility to manage all the media also with an app.

 

I'm really out of my ideas. Sometimes i think it fails because of the subtitles, then i think because of DCA and DTS.. (is this codec really supported). I really dont know what to to anymore.

 

I have a personal DLNA profile and i tried various settings. My HTPC has not the power to transcode all the movies on the fly. On the other hand my TV can play everything. What can i do?

 

How can i supress the transcoding? I know that all with the max. bitrate etc..

 

Please look at my settings:

post-90509-0-12345800-1455289042_thumb.jpg

56bdff2352519_Unbenannt.jpg

56bdff3f50717_Unbenannt1.jpg

56bdff5363337_Unbenannt3.jpg

56bdff5ef22d5_Unbenannt4.jpg

 

Thank you!

Edited by Flymy
Link to comment
Share on other sites

additional info: i dont know why... but this file works. the only difference to the former movie, is the aspect ratio. Could this be the problem?

56be0974e99be_a.jpg

Link to comment
Share on other sites

Happy2Play

Well what is your max bitrate set to?  You say a 7.5MB bitrate file plays and a 10.2MB bitrate file doesn't.  The default max biterate is set to 10MB in Samsung profile.

Link to comment
Share on other sites

Thx for the hint. Max streaming rate is set to 100000000 = 100mBit.

The problem ist not, that emby starts to transcode, the problem is, that my TV says that "the chosen file is not supported yet" :( If i put it on an usb stick it works. It also works, if Twonky streams the movie over DLNA...

Edited by Flymy
Link to comment
Share on other sites

I see the same on a lot of my MP4 files. Sound is AAC and Video h264. I note that with the PLEX server is does not happen I tried playing with a lot of different settings, nothing seems to make a difference.

 

BTW, I reported this in July '15 also http://emby.media/community/index.php?/topic/23496-some-mp4-files-showing-up-as-ts-files-and-do-not-play/

Edited by ronvp
  • Like 1
Link to comment
Share on other sites

The profile for the device is telling the server to present the content as .ts to the device. That is why it shows .ts. If the profile needs adjustment, then please help us research what exactly needs to change. We do not have every device available on-hand for testing, which DLNA really requires, so for this type of thing we really need community involvement to help hunt them down.

Link to comment
Share on other sites

The profile for the device is telling the server to present the content as .ts to the device. That is why it shows .ts. If the profile needs adjustment, then please help us research what exactly needs to change. We do not have every device available on-hand for testing, which DLNA really requires, so for this type of thing we really need community involvement to help hunt them down.

 

 

I would dearly love to support you in finding DLNA settings (especially for Samsung TV's ;)) I said it before... it's really brilliant to administrate my media over the iOS app and send the stream to my TV.

Link to comment
Share on other sites

HEUREKA! I got a breakthrough .... at least in parts of my problems...

 

 

Now my TV plays the movie i mentioned, if i select it with the remote control of my TV in the DLNA options (now it's been showing as *.mkv and not as *.ts). The server does not transcode it at all! There is no ffmpeg process in the task manager!

 

BUT... and thats interesting... if i select the same file in my browser or in the ios app and want to send it to my TV, the server starts to transcode! But unfortunately the TV says again that "the chosen file is not supported yet" :( i'm really freaking out! 

 

Why works the same file if i select it on my tv, and does not work if i send it? 

Link to comment
Share on other sites

the dlna server and dlna play to features use two different detection methods, so different profiles are being used. so the profile will need adjustment to make sure they are both detected the same way.

Link to comment
Share on other sites

the dlna server and dlna play to features use two different detection methods, so different profiles are being used. so the profile will need adjustment to make sure they are both detected the same way.

 

 

ookay.... and where can i find the "second" profile for the "play to feature"?

Link to comment
Share on other sites

there is only one profile but each profile has two detection methods - http headers, and then device identification values. the dlna server uses the http headers while the play to features uses the device identification criteria. so you'll want to check the server log to see what profile was used.

Link to comment
Share on other sites

there is only one profile but each profile has two detection methods - http headers, and then device identification values. the dlna server uses the http headers while the play to features uses the device identification criteria. so you'll want to check the server log to see what profile was used.

 

 

ok.. you mean with the "identification values" this?:

56bfa07dbcac5_ID.png

Link to comment
Share on other sites

If you're running windows try the beta from the website. i put in a fix for the dlna server for samsung. it won't affect play to but it's a major fix for server browsing.

Link to comment
Share on other sites

Happy2Play

You could restart your server to start with a new log and play something via DLNA then play something via Play To and post a log to verify what profile is being used.

 

Not positive if needed but I would enable debug logging for server and dlna (restart server after enabling these option for debug logging to start).

Link to comment
Share on other sites

If you're running windows try the beta from the website. i put in a fix for the dlna server for samsung. it won't affect play to but it's a major fix for server browsing.

 

Very nice! Thx! I'll try it!

 

You could restart your server to start with a new log and play something via DLNA then play something via Play To and post a log to verify what profile is being used.

 

Not positive if needed but I would enable debug logging for server and dlna (restart server after enabling these option for debug logging to start).

 

 

Good idea!

 

 

 

Actually i'm very happy what i've achieved!! Thx to you!

It's very important to know those things about the detection modes! Now i am able playing to my TV from the app AND browse on Samsung TV. But for some reasons, which i don't know yet, the server now starts to transcode again in both methods. Yesterday it only transcoded when i've played it to the TV. 

And i recognized, that i'm not allowed to delete the settings under "transcoding", because then i'm not able to start the movie on TV... But i don't understand what the http protocol has to do with that? Especially with these settings:

The movie is an *.mkv and here the container describes a *.ts.

56bfd6734574b_Bildschirmfoto20160214um02

 

I've to go to sleep now :D good night ;) 

Link to comment
Share on other sites

eh.. one more thing :D

 

is it possible to improve the iOS app. It has some bugs in displaying the media - sometimes. 

 

AND, that would be really great: can you integrate an "offline mode" in the app? So we can see all the media (titel and description) although the ipad is not connected or the HTPC is shut down. Maybe you've realized this with "emby premiere".. i don't know.  ^_^

Link to comment
Share on other sites

Problems solved!

 

I'm so happy, although i'm sure that this was the hardest "try and error project" i've ever had. However I was and I'm convinced about "emby.media" and so my motivation was not the problem.

 

Now I'm able to play to my TV without transcoding anything (mkv's with high bitrates as well as avi's and ts). I had to modify your default "Samsung Smart TV" DLNA profile. There was one digit, which made all my problems and did not let me play to the TV or vice versa. Since I adjusted it, the other half of my movies finallly appeared as mkv's instead of *ts.

 

It's now so easy to handle my media with my ipad and send it easily only with DLNA to my TV. I'm also able to use play and pause (forward and backward) on the remote control, as well as with the app. 

 

I can now say, that emby server works fine with a Samsung UE40J6250 (so probably with the whole J6000 series).

In one week i can tell you, if my profile also works with the D6000 series, if you wish!

 

One of the most interesting things is, that i need no identification details and that this is enough for the http header: name="User-Agent" value="SEC_".

In former times, i thought i also need  value="SEC_HPP_" and  value="SEC_HPP_TV"

 

Thx for all, and i hope you will make further improvements!

Flymy

Edited by Flymy
Link to comment
Share on other sites

Della Dog

Could you somehow post the profile. Many of us have struggled with the default Samsung profile with poor results. I've abandoned it all together.

Thanks

Link to comment
Share on other sites

Could you somehow post the profile. Many of us have struggled with the default Samsung profile with poor results. I've abandoned it all together.

Thanks

 

ME too!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...