Jump to content

Transcoding when it shouldn't be


MSattler

Recommended Posts

MSattler

Server Version:  3.2.10

Android TV Version:  1.3.21

Nvidia Shield

 

So watching a Harry Potter movie I get direct playback.  Client is set to 100Mbps.

 

However, watching a different Harry Potter movie it always transcodes.

 

MediaInfo:

 

General
Unique ID                                : 192776223869563650344971441623864240620 (0x910759A77825415CCEC279891A14E9EC)
Complete name                            : \\tower\FamilyMovies\Harry Potter - HalfBlood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
Format                                   : Matroska
Format version                           : Version 2
File size                                : 22.3 GiB
Duration                                 : 2h 33mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 20.8 Mbps
Movie name                               : Harry Potter and the Half-Blood Prince
Encoded date                             : UTC 2015-05-18 19:43:49
Writing application                      : MakeMKV v1.9.2 win(x64-release)
Writing library                          : libmakemkv v1.9.2 (1.3.0/1.4.1) win(x64-release)
 
Video
ID                                       : 1
Format                                   : VC-1
Format profile                           : Advanced@L3
Codec ID                                 : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint                            : Microsoft
Duration                                 : 2h 33mn
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Language                                 : English
Default                                  : No
Forced                                   : No
 
Audio #1
ID                                       : 2
Format                                   : TrueHD
Codec ID                                 : A_TRUEHD
Duration                                 : 2h 33mn
Bit rate mode                            : Variable
Maximum bit rate                         : 3 369 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 1 200.000 fps (40 spf)
Bit depth                                : 24 bits
Compression mode                         : Lossless
Title                                    : Surround 5.1
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
Audio #2
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 33mn
Bit rate mode                            : Constant
Bit rate                                 : 640 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 spf)
Compression mode                         : Lossy
Stream size                              : 703 MiB (3%)
Title                                    : Surround 5.1
Language                                 : English
Default                                  : No
Forced                                   : No
 
Audio #3
ID                                       : 4
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format profile                           : Dolby Digital
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 33mn
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 spf)
Compression mode                         : Lossy
Stream size                              : 211 MiB (1%)
Title                                    : Stereo
Language                                 : English
Default                                  : No
Forced                                   : No
 
Audio #4
ID                                       : 5
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 2h 33mn
Bit rate mode                            : Constant
Bit rate                                 : 448 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Frame rate                               : 31.250 fps (1536 spf)
Compression mode                         : Lossy
Stream size                              : 492 MiB (2%)
Title                                    : Surround 5.1
Language                                 : German
Default                                  : No
Forced                                   : No
 
Text
ID                                       : 6
Format                                   : PGS
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Language                                 : English
Default                                  : No
Forced                                   : No
 
Menu
00:00:00.000                             : en:Chapter 01
00:05:28.453                             : en:Chapter 02
00:12:13.691                             : en:Chapter 03
00:14:57.104                             : en:Chapter 04
00:18:42.830                             : en:Chapter 05
00:22:30.307                             : en:Chapter 06
00:27:35.987                             : en:Chapter 07
00:32:04.589                             : en:Chapter 08
00:37:48.182                             : en:Chapter 09
00:44:48.227                             : en:Chapter 10
00:49:31.718                             : en:Chapter 11
00:54:55.333                             : en:Chapter 12
01:00:00.263                             : en:Chapter 13
01:03:09.368                             : en:Chapter 14
01:05:57.119                             : en:Chapter 15
01:09:13.649                             : en:Chapter 16
01:14:00.060                             : en:Chapter 17
01:21:09.739                             : en:Chapter 18
01:26:31.436                             : en:Chapter 19
01:33:37.361                             : en:Chapter 20
01:39:57.282                             : en:Chapter 21
01:43:16.231                             : en:Chapter 22
01:48:24.706                             : en:Chapter 23
01:52:30.076                             : en:Chapter 24
01:56:53.631                             : en:Chapter 25
02:02:11.407                             : en:Chapter 26
02:08:33.497                             : en:Chapter 27
02:15:00.258                             : en:Chapter 28
02:19:08.048                             : en:Chapter 29
02:23:54.125                             : en:Chapter 30
 

 

 

Here is the transcoding log:

 

 
{"Protocol":"File","Id":"dc4b5335ee81d0ec5ae8dbed292abb8a","Path":"\\\\tower\\familymovies\\Harry Potter and the Half Blood Prince\\Harry_Potter_and_the_Half-Blood_Prince.mkv","Type":"Default","Container":"mkv","Name":"1080P/VC1/TRUEHD","IsRemote":false,"ETag":"87bfe1450828978ea6b6f147449d285a","RunTimeTicks":92118687744,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"vc1","CodecTag":"WVC1","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1001/48000","IsInterlaced":false,"BitRate":20771167,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":23.97602,"RealFrameRate":23.97602,"Profile":"Advanced","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":3,"IsAnamorphic":false},{"Codec":"truehd","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 5.1","DisplayTitle":"Eng Surround 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitDepth":24,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 5.1","DisplayTitle":"Eng Surround 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":640000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Stereo","DisplayTitle":"Eng Stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":3,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ac3","Language":"deu","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Surround 5.1","DisplayTitle":"Deu Surround 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":448000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"PGSSUB","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/1000","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"srt","Language":"ger","DisplayTitle":"Ger","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":6,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"\\\\tower\\familymovies\\Harry Potter and the Half Blood Prince\\Harry_Potter_and_the_Half-Blood_Prince.ger.srt","IsAnamorphic":true}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":22051167,"RequiredHttpHeaders":{}}
 
B:\Users\Administrator\AppData\Roaming\Emby-Server\ffmpeg\20160410\ffmpeg.exe -ss 02:00:19.613 -c:v vc1_qsv  -i file:"\\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_qsv -force_key_frames "expr:gte(t,n_forced*5)" -preset 7 -look_ahead 0 -b:v 20771167 -maxrate 20771167 -bufsize 41542334 -vsync -1 -profile:v high -level 4.1 -level 41 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "aresample=async=1,volume=2" -y "B:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\transcoding-temp\022ca08c734740dfffc1a8c80de1e99f.ts"
 
 
ffmpeg version N-79277-g0c90b2e Copyright © 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 20.100 / 55. 20.100
  libavcodec     57. 34.100 / 57. 34.100
  libavformat    57. 32.100 / 57. 32.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 41.100 /  6. 41.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[matroska,webm @ 00000000009433c0] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'file:\\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv':
  Metadata:
    title           : Harry Potter and the Half-Blood Prince
    encoder         : libmakemkv v1.9.2 (1.3.0/1.4.1) win(x64-release)
    creation_time   : 2015-05-18 19:43:49
  Duration: 02:33:31.87, start: 0.000000, bitrate: 20771 kb/s
    Chapter #0:0: start 0.000000, end 328.453125
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 328.453125, end 733.691292
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 733.691292, end 897.104542
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 897.104542, end 1122.830042
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1122.830042, end 1350.307292
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 1350.307292, end 1655.987667
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 1655.987667, end 1924.589333
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 1924.589333, end 2268.182583
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 2268.182583, end 2688.227208
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 2688.227208, end 2971.718750
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 2971.718750, end 3295.333708
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 3295.333708, end 3600.263333
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 3600.263333, end 3789.368917
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 3789.368917, end 3957.119833
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 3957.119833, end 4153.649500
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 4153.649500, end 4440.060625
    Metadata:
      title           : Chapter 16
    Chapter #0:16: start 4440.060625, end 4869.739875
    Metadata:
      title           : Chapter 17
    Chapter #0:17: start 4869.739875, end 5191.436250
    Metadata:
      title           : Chapter 18
    Chapter #0:18: start 5191.436250, end 5617.361750
    Metadata:
      title           : Chapter 19
    Chapter #0:19: start 5617.361750, end 5997.282958
    Metadata:
      title           : Chapter 20
    Chapter #0:20: start 5997.282958, end 6196.231708
    Metadata:
      title           : Chapter 21
    Chapter #0:21: start 6196.231708, end 6504.706542
    Metadata:
      title           : Chapter 22
    Chapter #0:22: start 6504.706542, end 6750.076667
    Metadata:
      title           : Chapter 23
    Chapter #0:23: start 6750.076667, end 7013.631625
    Metadata:
      title           : Chapter 24
    Chapter #0:24: start 7013.631625, end 7331.407417
    Metadata:
      title           : Chapter 25
    Chapter #0:25: start 7331.407417, end 7713.497458
    Metadata:
      title           : Chapter 26
    Chapter #0:26: start 7713.497458, end 8100.258833
    Metadata:
      title           : Chapter 27
    Chapter #0:27: start 8100.258833, end 8348.048042
    Metadata:
      title           : Chapter 28
    Chapter #0:28: start 8348.048042, end 8634.125500
    Metadata:
      title           : Chapter 29
    Chapter #0:29: start 8634.125500, end 9211.869333
    Metadata:
      title           : Chapter 30
    Stream #0:0(eng): Video: vc1 (WVC1 / 0x31435657), nv12, 1920x1080 [sAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit) (default)
    Metadata:
      title           : Surround 5.1
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
    Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
    Metadata:
      title           : Stereo
    Stream #0:4(deu): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s
    Metadata:
      title           : Surround 5.1
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
Output #0, mpegts, to 'B:\Users\Administrator\AppData\Roaming\Emby-Server\transcoding-temp\transcoding-temp\022ca08c734740dfffc1a8c80de1e99f.ts':
  Metadata:
    encoder         : Lavf57.32.100
    Stream #0:0: Video: h264 (h264_qsv), nv12, 1920x1080 [sAR 1:1 DAR 16:9], q=2-31, 20771 kb/s, 23.98 fps, 90k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc57.34.100 h264_qsv
    Side data:
      cpb: bitrate max/min/avg: 20771167/0/20771167 buffer size: 41542334 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (24 bit), 128 kb/s (default)
    Metadata:
      encoder         : Lavc57.34.100 aac
Stream mapping:
  Stream #0:0 -> #0:0 (vc1 (vc1_qsv) -> h264 (h264_qsv))
  Stream #0:1 -> #0:1 (truehd (native) -> aac (native))
Press [q] to stop, [?] for help
frame=   35 fps=0.0 q=-0.0 size=    3113kB time=00:00:01.66 bitrate=15326.5kbits/s speed=3.33x    
frame=  107 fps=107 q=-0.0 size=   11487kB time=00:00:04.67 bitrate=20142.4kbits/s speed=4.67x    
frame=  183 fps=122 q=-0.0 size=   20367kB time=00:00:07.87 bitrate=21195.3kbits/s speed=5.24x    
 
 
Any thoughts?
Link to comment
Share on other sites

MSattler

Found this also:

 

2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, No direct play profiles found for Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
2017-04-13 00:54:36.5714 Info App: RemoteClientBitrateLimit: 45000000, RemoteIp: 192.168.1.92, IsInLocalNetwork: True
2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, No direct play profiles found for Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
2017-04-13 00:54:36.5714 Info App: RemoteClientBitrateLimit: 45000000, RemoteIp: 192.168.1.92, IsInLocalNetwork: True
2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2017-04-13 00:54:36.5714 Info App: Profile: Android-VLC, No direct play profiles found for Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
2017-04-13 00:54:36.5714 Info HttpServer: HTTP Response 200 to 192.168.1.92. Time: 0ms. http://192.168.1.125:8096/emby/Items/dc4b5335ee81d0ec5ae8dbed292abb8a/PlaybackInfo?format=json
2017-04-13 00:54:36.6340 Info HttpServer: HTTP POST http://192.168.1.125:8096/emby/Items/dc4b5335ee81d0ec5ae8dbed292abb8a/PlaybackInfo?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.0; SHIELD Android TV Build/NRD90M)
2017-04-13 00:54:36.6340 Info App: Profile: Android-Exo, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2017-04-13 00:54:36.6340 Info App: Profile: Android-Exo, No direct play profiles found for Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
2017-04-13 00:54:36.6340 Info App: RemoteClientBitrateLimit: 45000000, RemoteIp: 192.168.1.92, IsInLocalNetwork: True
2017-04-13 00:54:36.6340 Info App: Profile: Android-Exo, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
2017-04-13 00:54:36.6340 Info App: Profile: Android-Exo, No direct play profiles found for Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv
2017-04-13 00:54:36.6340 Info App: RemoteClientBitrateLimit: 45000000, RemoteIp: 192.168.1.92, IsInLocalNetwork: True
2017-04-13 00:54:36.6340 Info App: Profile: Android-Exo, Path: \\tower\familymovies\Harry Potter and the Half Blood Prince\Harry_Potter_and_the_Half-Blood_Prince.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True
Link to comment
Share on other sites

That item has a TrueHD track and it appears the device/connections don't support Dolby or anything over stereo.

 

You should have 1.3.35 by now.

Link to comment
Share on other sites

MSattler

That item has a TrueHD track and it appears the device/connections don't support Dolby or anything over stereo.

 

You should have 1.3.35 by now.

 

This is on my son's account and he is not signed up for the beta.

 

Odd though, because this is a Nvidia Shield connected to a pretty new TV.   I thought it would just use the AC3 track if it exists.

 

Ok thanks.

Link to comment
Share on other sites

1.3.35 was released to the public yesterday.

 

He may have set the app to mix down to stereo.

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...