Jump to content

Server Transcoding a file to Android TV it shouldn't be...


Recommended Posts

gsadasivan
Posted (edited)

Client is a Sony Android TV - 4k HDR, running the latest software downloaded two days ago.

 

Here is the media information:

 

 

 

Media Info

 

Video Codec    H264
AVC                  No
Profile              High
Level                40
Resolution      1920x1080
Aspect ratio   16:9
Anamorphic   No
Interlaced       Yes
Framerate       29.97003
Bitrate            10092 kbps
Bit depth        8 bit
Pixel format   yuv420p
Ref frames     1
NAL                0
Title                1080I H264

Audio Languageeng
Codec            AC3
Layout           5.1
Channels      6 ch
Bitrate           384 kbps
Sample rate  48000 Hz
Default          No
Title               Eng Dolby Digital 5.1

Container     mpegts

2018-01-05 15:36:26.816
Application version: 3.2.60.0

http://192.168.0.210:8096/emby/videos/5bf61f9253f763cbb761f60bd7ba97b6/hls1/main/0.ts?DeviceId=12af857d28d940ab&MediaSourceId=5bf61f9253f763cbb761f60bd7ba97b6&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=20872000&AudioBitrate=128000&MaxAudioChannels=2&PlaySessionId=0dea69f0b5a34cf8b2699f265bada895&api_key=58c3220fccf2414c9adb33222573efd9&CopyTimestamps=true&SubtitleMethod=Encode&EnableSubtitlesInManifest=false&Tag=c894150374afbbb4f54c9c623824ec15&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&mpeg2video-deinterlace=true&hevc-profile=Main,Main10

{"Protocol":"File","Id":"5bf61f9253f763cbb761f60bd7ba97b6","Path":"H:\\TVShows\\The Late Show With Stephen Colbert\\Season 03\\S03E62-America Ferrera; David Harbour; Julien Baker.mpg","Type":"Default","Container":"mpegts","Name":"S03E62-America Ferrera; David Harbour; Julien Baker.mpg","IsRemote":false,"ETag":"c894150374afbbb4f54c9c623824ec15","RunTimeTicks":24285999104,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1001/60000","DisplayTitle":"1080I H264","NalLengthSize":"0","IsInterlaced":true,"IsAVC":false,"BitRate":10092058,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":10092058,"RequiredHttpHeaders":{}}

User policy for MEDIASERVER$: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

C:\Program Files\Emby\system\ffmpeg.exe -c:v h264_cuvid  -i file:"H:\TVShows\The Late Show With Stephen Colbert\Season 03\S03E62-America Ferrera; David Harbour; Julien Baker.mpg" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -vf "yadif=1:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset default -b:v 10092058 -maxrate 10092058 -bufsize 20184116 -profile:v high -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8" -y "F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855%d.ts"

ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mpegts, from 'file:H:\TVShows\The Late Show With Stephen Colbert\Season 03\S03E62-America Ferrera; David Harbour; Julien Baker.mpg':
  Duration: 00:40:28.60, start: 1.400000, bitrate: 10092 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8550.ts' for writing
Output #0, segment, to 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855%d.ts':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (h264_nvenc) (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 10092 kb/s, 59.94 fps, 90k tbn, 59.94 tbc
    Metadata:
      encoder         : Lavc57.107.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 10092058/0/10092058 buffer size: 20184116 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
frame=    0 fps=0.0 q=0.0 size=N/A time=00:00:01.25 bitrate=N/A speed=2.51x    
frame=   44 fps= 44 q=22.0 size=N/A time=00:00:02.00 bitrate=N/A speed=   2x    
frame=   88 fps= 58 q=28.0 size=N/A time=00:00:02.73 bitrate=N/A speed=1.81x    
frame=  132 fps= 66 q=30.0 size=N/A time=00:00:03.43 bitrate=N/A speed=1.71x    
frame=  178 fps= 71 q=26.0 size=N/A time=00:00:04.20 bitrate=N/A speed=1.67x    
frame=  224 fps= 74 q=25.0 size=N/A time=00:00:05.01 bitrate=N/A speed=1.66x    
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8.tmp' for writing
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8551.ts' for writing
frame=  268 fps= 76 q=24.0 size=N/A time=00:00:05.71 bitrate=N/A speed=1.62x    
frame=  306 fps= 76 q=24.0 size=N/A time=00:00:06.35 bitrate=N/A speed=1.57x    
frame=  353 fps= 78 q=25.0 size=N/A time=00:00:07.14 bitrate=N/A speed=1.57x    
frame=  396 fps= 78 q=22.0 size=N/A time=00:00:07.82 bitrate=N/A speed=1.55x    
frame=  438 fps= 79 q=22.0 size=N/A time=00:00:08.55 bitrate=N/A speed=1.54x    
frame=  482 fps= 80 q=22.0 size=N/A time=00:00:09.30 bitrate=N/A speed=1.54x    
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8.tmp' for writing
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8552.ts' for writing
frame=  526 fps= 80 q=23.0 size=N/A time=00:00:10.00 bitrate=N/A speed=1.52x    
frame=  568 fps= 80 q=28.0 size=N/A time=00:00:10.73 bitrate=N/A speed=1.52x    
frame=  614 fps= 81 q=21.0 size=N/A time=00:00:11.49 bitrate=N/A speed=1.52x    
frame=  659 fps= 82 q=21.0 size=N/A time=00:00:12.24 bitrate=N/A speed=1.52x    
frame=  702 fps= 82 q=22.0 size=N/A time=00:00:12.97 bitrate=N/A speed=1.51x    
frame=  746 fps= 82 q=24.0 size=N/A time=00:00:13.67 bitrate=N/A speed=1.51x    
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8.tmp' for writing
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8553.ts' for writing
frame=  785 fps= 82 q=22.0 size=N/A time=00:00:14.35 bitrate=N/A speed= 1.5x    
frame=  826 fps= 82 q=22.0 size=N/A time=00:00:15.06 bitrate=N/A speed=1.49x    
frame=  871 fps= 82 q=27.0 size=N/A time=00:00:15.78 bitrate=N/A speed=1.49x    
frame=  916 fps= 83 q=23.0 size=N/A time=00:00:16.53 bitrate=N/A speed=1.49x    
frame=  962 fps= 83 q=19.0 size=N/A time=00:00:17.30 bitrate=N/A speed=1.49x    
frame= 1002 fps= 83 q=21.0 size=N/A time=00:00:17.94 bitrate=N/A speed=1.48x    
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8.tmp' for writing
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8554.ts' for writing
frame= 1042 fps= 83 q=19.0 size=N/A time=00:00:18.60 bitrate=N/A speed=1.48x    
frame= 1086 fps= 83 q=28.0 size=N/A time=00:00:19.37 bitrate=N/A speed=1.48x    
frame= 1132 fps= 83 q=19.0 size=N/A time=00:00:20.13 bitrate=N/A speed=1.48x    
frame= 1176 fps= 83 q=19.0 size=N/A time=00:00:20.84 bitrate=N/A speed=1.48x    
frame= 1222 fps= 84 q=30.0 size=N/A time=00:00:21.61 bitrate=N/A speed=1.48x    
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c855.m3u8.tmp' for writing
[segment @ 0000018033420560] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\4de861ce74ce71c67b05808f49b4c8555.ts' for writing
frame= 1264 fps= 84 q=24.0 size=N/A time=00:00:22.31 bitrate=N/A speed=1.47x    

General
ID                                       : 1 (0x1)
Complete name                            : H:\TVShows\The Late Show With Stephen Colbert\Season 03\S03E62-America Ferrera; David Harbour; Julien Baker.mpg
Format                                   : MPEG-TS
File size                                : 2.85 GiB
Duration                                 : 40 min 27 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.1 Mb/s
Movie name                               : 18SWT7205N
FileExtension_Invalid                    : ts m2t m2s m4t m4s tmf ts tp trp ty
 
Video
ID                                       : 256 (0x100)
Menu ID                                  : 1 (0x1)
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 2 frames
Codec ID                                 : 27
Duration                                 : 40 min 27 s
Bit rate mode                            : Variable
Bit rate                                 : 9 210 kb/s
Maximum bit rate                         : 12.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : MBAFF
Scan type, store method                  : Interleaved fields
Scan order                               : Top Field First
Bits/(Pixel*Frame)                       : 0.148
Stream size                              : 2.60 GiB (91%)
 
Audio
ID                                       : 257 (0x101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Codec ID                                 : 129
Duration                                 : 40 min 28 s
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
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)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Delay relative to video                  : -1 s 164 ms
Stream size                              : 111 MiB (4%)
Language                                 : English
Service kind                             : Complete Main
 
Text #1
ID                                       : 256 (0x100)-CC1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 40 min 27 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
CaptionServiceName                       : CC1
 
Text #2
ID                                       : 256 (0x100)-CC3
Menu ID                                  : 1 (0x1)
Format                                   : EIA-608
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 40 min 27 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
CaptionServiceName                       : CC3
 
Text #3
ID                                       : 256 (0x100)-1
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 40 min 27 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
 
Text #4
ID                                       : 256 (0x100)-2
Menu ID                                  : 1 (0x1)
Format                                   : EIA-708
Muxing mode                              : SCTE 128 / DTVCC Transport
Muxing mode, more info                   : Muxed in Video #1
Duration                                 : 40 min 27 s
Bit rate mode                            : Constant
Stream size                              : 0.00 Byte (0%)
 
Menu
ID                                       : 4096 (0x1000)
Menu ID                                  : 1 (0x1)
Duration                                 : 40 min 27 s
List                                     : 256 (0x100) (AVC) / 257 (0x101) (AC-3, English)
Title                                    : 18SWT7205N
Language                                 :  / English
Service name                             : Service01
Service provider                         : FFmpeg
Service type                             : digital television
Edited by gsadasivan
Posted

hi, what Emby app are you trying to play this with?

gsadasivan
Posted (edited)
MEDIASERVER$ has started playing The Late Show With Stephen Colbert - America Ferrera, David Harbour, Julien Baker

1/5/2018, 3:57:55 pm

App: AndroidTv, Device: Sony BRAVIA 4K 2015

 

Andriod App 1.5.22g downloaded from google Play Store on to my TV.

 

I will check in a minute to see what happened on my Samsung last night - the playback was all jerky and that is why started investigating, and found that transcoding was happening. Did not want to report the Samsung stuff, as that client is experimental :)

 

[update]

 

 DirectPlaying to Samsung

 MEDIASERVER$ has started playing The Late Show With Stephen Colbert - America Ferrera, David Harbour, Julien Baker



1/5/2018, 4:19:31 pm

App: Samsung TV, Device: Samsung UN55D8000



dvr

Edited by gsadasivan
Posted

Is that the emby Samsung app from the Samsung app store?

gsadasivan
Posted (edited)
2018-01-05 16:44:00.273
Application version: 3.2.60.0

http://192.168.0.210:8096/emby/videos/105b401a851ad6a4dfabab0a6aab5110/hls1/main/8.ts?DeviceId=12af857d28d940ab&MediaSourceId=105b401a851ad6a4dfabab0a6aab5110&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=aac,mp3&AudioStreamIndex=1&VideoBitrate=20872000&AudioBitrate=128000&MaxAudioChannels=2&PlaySessionId=1d9cb270ddc94154b11a739d36aabafe&api_key=58c3220fccf2414c9adb33222573efd9&CopyTimestamps=true&EnableSubtitlesInManifest=false&Tag=0a98ba90a6c823e4cbc26abe3834ed89&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true&mpeg2video-deinterlace=true&hevc-profile=Main,Main10

{"Protocol":"File","Id":"105b401a851ad6a4dfabab0a6aab5110","Path":"H:\\TVShows\\The Late Show With Stephen Colbert\\Season 03\\ColbertPart.mpg","Type":"Default","Container":"mpegts","Name":"ColbertPart.mpg","IsRemote":false,"ETag":"0a98ba90a6c823e4cbc26abe3834ed89","RunTimeTicks":242540000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1001/60000","DisplayTitle":"1080I H264","NalLengthSize":"0","IsInterlaced":true,"IsAVC":false,"BitRate":10105545,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":29.97003,"RealFrameRate":29.97003,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":10105545,"RequiredHttpHeaders":{}}

User policy for MEDIASERVER$: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

C:\Program Files\Emby\system\ffmpeg.exe -ss 00:00:24.000 -c:v h264_cuvid  -i file:"H:\TVShows\The Late Show With Stephen Colbert\Season 03\ColbertPart.mpg" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_nvenc -vf "yadif=1:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset default -b:v 10105545 -maxrate 10105545 -bufsize 20211090 -profile:v high -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 128000 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -segment_time_delta -24 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 8 -segment_list "F:\Emby\Transcode-Temp\transcoding-temp\67e356e1e91d6841d45522766a505b4a.m3u8" -y "F:\Emby\Transcode-Temp\transcoding-temp\67e356e1e91d6841d45522766a505b4a%d.ts"

ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mpegts, from 'file:H:\TVShows\The Late Show With Stephen Colbert\Season 03\ColbertPart.mpg':
  Duration: 00:00:24.25, start: 1.400000, bitrate: 10105 kb/s
  Program 1 
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x101](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
Press [q] to stop, [?] for help
Finishing stream 0:0 without any data written to it.
[segment @ 000002281778e020] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\67e356e1e91d6841d45522766a505b4a8.ts' for writing
Output #0, segment, to 'F:\Emby\Transcode-Temp\transcoding-temp\67e356e1e91d6841d45522766a505b4a%d.ts':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (h264_nvenc) (High), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 10105 kb/s, 59.94 fps, 90k tbn, 59.94 tbc
    Metadata:
      encoder         : Lavc57.107.100 h264_nvenc
    Side data:
      cpb: bitrate max/min/avg: 10105545/0/10105545 buffer size: 20211090 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
[segment @ 000002281778e020] Opening 'F:\Emby\Transcode-Temp\transcoding-temp\67e356e1e91d6841d45522766a505b4a.m3u8.tmp' for writing
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=00:00:24.17 bitrate=N/A speed=70.7x    
video:0kB audio:2kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[aac @ 00000228171900a0] Qavg: 168.989 

Posting the first few seconds of the file here..

ColbertPart.mpg

Edited by gsadasivan
gsadasivan
Posted (edited)

Samsung App the one I got from @@OddbOd ...  https://emby.media/community/index.php?/topic/54201-d-series-not-playing-videos-that-m-series-is-playing/ 

 

Not sure if I caused confusion...

 

Trancoding is happening when I play on the official Android App downloaded from PlayStore to the TV @@ebr

 

Directplay is happening when I play using Samsung App - OddBod

Edited by gsadasivan
gsadasivan
Posted

@@Luke, I tried the Samsung App from the store on another Samsung I have ( UN40MU6300, 4K, 2017 model ), the video snippet plays in DirectPlay mode. One thing I notice is that the playback is jerky, on both Samsungs.

Posted

if it's jerky in direct play there won't be much we can about it. we're using Samsung's stock video player. it's the only option for Samsung apps.

 

Although if you can provide a sample file for testing we can report an issue to Samsung if we can reproduce it. Thanks.

gsadasivan
Posted (edited)

@@Luke,

 

A sample file with 24 secs of video is attached on post #5 above, along with transcode log. Two problems:

 

(1) On official Andriod client, version 1.5.22g, running on Sony TV, the server is transcoding this file, the log is pasted in post #5

(2) On Samsung M (2017) and D (2011), the playback is terribly jerky, Directplay

 

For some reason, the server thinks this is an MPEG4 file and not MPEG2

 

@@OddbOd, can you please play this file on your Samsung and let us know if you seeing the jerky playback I am seeing?

 

 

One other thing, for some reason, I am not able to download any files from here, even my own attachment in #5

Edited by gsadasivan
Posted

The Android TV app is transcoding it to de-interlace and also convert the audio (device reports only stereo capable).

gsadasivan
Posted

@@ebr, thanks for looking into this.

 

Neither is needed, correct. The TV is perfectly capable of doing both, considering this is OTA broadcast clip.

 

So, is the bug in the client application, reporting the wrong information to the server?

Posted

What is the audio setting in the app set to?

 

If it is direct, then the TV is reporting it can only accept a stereo input signal (or a previous attempt to play the file resulted in an error).

 

For the jerky playback issue, I would try turning off nvenc.

gsadasivan
Posted (edited)

@@ebr, I don't think nvenc is the issue as there is no transcoding happening with jerky playback, both Samsung clients are in DirectPlay mode.

 

Audio is set to Direct.

 

I think I remember watching the Dashboard, first it showed DirectPlay and then immediately switched to Transcoding.

 

TV model is  Sony XBR-55X850D - 2016 model.

Edited by gsadasivan
Posted

I think I remember watching the Dashboard, first it showed DirectPlay and then immediately switched to Transcoding.

 

That would probably indicate there was an error trying to direct play it so we fell back to transcoding.

 

This is all done automatically to ensure that playback "just works".

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