Jump to content

Live TV initial pause, pixelation, and long pauses


FordGT90Concept

Recommended Posts

Thanks for the info. Unfortunately it's difficult to determine what might have happened long after the fact, but if it happens again then let's review in more detail. Thanks !

Link to comment
Share on other sites

FordGT90Concept

I still have logs from the 18th and checked...  The restart that occurred on the 18th happened in the evening by my computer...which would have just been to apply an update. None of the logs appear to be a mid-morning restart unless it occurred on the 17th which makes no sense (I attached the logs from the evening of the 17th).

 

Now I'm confused.  :blink: 

 

Yeah...wait until it happens again.  I should note that it seems like football (live sports) is really rough on things.

Edited by FordGT90Concept
Link to comment
Share on other sites

FordGT90Concept

Live TV is pretty much unusable.  Tried at about 5:15, it keeps stopping (talking like 30+ seconds) and is all pixelated. Switched to HDHomeRun which worked perfectly.  Switched to Emby again at about 5:50 and it was still terrible.  Switched to HDHomeRun and again perfect.

 

I'm getting the impression there's something seriously wrong with remuxing.  I doubt it should even be remuxing because it's going to a SHIELD.

unusable.zip

Edited by FordGT90Concept
Link to comment
Share on other sites

mwongjay

Live TV is pretty much unusable.  Tried at about 5:15, it keeps stopping (talking like 30+ seconds) and is all pixelated. Switched to HDHomeRun which worked perfectly.  Switched to Emby again at about 5:50 and it was still terrible.  Switched to HDHomeRun and again perfect.

 

I'm getting the impression there's something seriously wrong with remuxing.  I doubt it should even be remuxing because it's going to a SHIELD.

 

 

Same. Today was the first time I installed the HDHR app because of the frequent stopping. No issues with that app. 

Link to comment
Share on other sites

maegibbons

Perhaps this is just Shield related.  Do not see any LiveTV issues on ATV or Xiaomi m3 (Apart from outstanding UK HD issue)

 

Krs

 

Mark

Link to comment
Share on other sites

I'm lost as well.  The reason for the bad playback is obvious as reported in the ffmpeg log but I don't know why it is going through that process either - it is stream copying the video and transcoding the audio to what looks like the exact same thing.  No idea why that would be slow either.

 

You are on a beta version of the server though.  Does this reproduce on the stable version?

Link to comment
Share on other sites

FordGT90Concept

Kind of difficult for me to downgrade...

 

It's working fine right now but I question, again, why it is remuxing in the first place.  Attached the logs...

 

 

So it seems that something in the server is causing it to remux at a slow rate which causes the performance issues.  I can think of nothing between then and now that changed on the server.  Then again, this is secondary to the fact it shouldn't be remuxing at all.  How do I make it stop remuxing?

working.zip

Edited by FordGT90Concept
Link to comment
Share on other sites

FordGT90Concept

Live TV got a lot of use yesterday and it mostly worked like it should, however, there was issues at times.  I glanced through them and remux-dfd...... stands out. One ZIP has everything from yesterday.  The other has that remux and other ffmpeg logs that were produced at about the same time.

 

Server often does transcoding at >2x rate but...it can't manage remux?  And why remux?

 

selected.zip

all.zip

Link to comment
Share on other sites

Server often does transcoding at >2x rate but...it can't manage remux?  And why remux?

 

In the case of Live TV the rate is constrained by the speed of the input as well so it would hover right around 1x.

  • Like 1
Link to comment
Share on other sites

FordGT90Concept

Ah, yes, makes sense.  On that note, when watching on HDHomeRun, it did hitch a few times (like antenna signal degraded) but never as bad as Emby does.  It doesn't make any sense because when it's bad, it's really bad.

Link to comment
Share on other sites

FordGT90Concept

remux-b32.... (5:30-5:51pm local time)

 

It was pausing playback frequently, yet the log looks good to me.  Is it on the SHIELD software side?

mmmm.zip

Edited by FordGT90Concept
Link to comment
Share on other sites

There are a lot of links in the chain so hard to know exactly.

 

Next time this happens, try pausing for 30 seconds or so and then play from there.  Do the fits and starts still occur...?

Link to comment
Share on other sites

mwongjay

It's not just the shield. I have ATV and I experience the same. I've reviewed the logs and have compared those with logs without the issue and they look the same from what I could tell. It's only recently, maybe the past week or two, when I started seeing this behavior. 

 

Coincidentally, I had paused live tv for well over 5 min to take care of something the other night and the issue was still prevalent when I began playing again. It's more frequent with the dotnet core version. The full framework mono beta version doesn't stutter quite as frequent. However, I did not test the same program so I'm not sure if that's a factor - I only mention there may be a difference because it seemed the stuttering had a higher occurrence during live action sports like football. Had to finish watching football on the HDHR app.

  • Like 1
Link to comment
Share on other sites

FordGT90Concept

Same here.  It was tuned, the user went to take a nap with it paused, came back, it was unresponsive.  Backed out of Emby and back in again, started watching.  It started pausing, paused for over 30 seconds and resumed, kept pausing.  User switched to HDHomeRun app.

logs.zip

Link to comment
Share on other sites

FordGT90Concept

Random thought but is there a profile on the HDHomeRun EXTENDs that doesn't require remuxing?

 

Pointing MPC-HC to the HDHomeRun gives me this:

Video: MPEG4 Video (H264) 1280x720 59.94fps [V: h264 high L4.0, yuv420p, 1280x720]
Audio: Dolby AC3 48000Hz stereo 384kbps [A: English [eng] (ac3, 48000 Hz, stereo, 384 kb/s)]

 

Here's the remux log header:

Application version: 3.2.32.6
http://192.168.0.128:8096/emby/videos/aa54487d3fb418742bc54a71aac82049/live.m3u8?DeviceId=ea55025c22ecaa69&MediaSourceId=49f91664f0c54272a0f6a919c8867062_heavy_de4654ba03d9b61a33941902fa73ad91_48a893682be5723f92e738d9d73fb103&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,aac,mp3&AudioStreamIndex=-1&VideoBitrate=79616000&AudioBitrate=384000&MaxAudioChannels=8&PlaySessionId=358d041f0e2d4203bee8452ba3e09566&api_key=19d7b1755681498e9c0d0051a180f1ab&LiveStreamId=a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_49f91664f0c54272a0f6a919c8867062_heavy_de4654ba03d9b61a33941902fa73ad91_48a893682be5723f92e738d9d73fb103&CopyTimestamps=true&EnableSubtitlesInManifest=false&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported
{"Protocol":"Http","Id":"49f91664f0c54272a0f6a919c8867062_heavy_de4654ba03d9b61a33941902fa73ad91_48a893682be5723f92e738d9d73fb103","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/86e7ecea052046d7b1258ddc621e1e12/stream.ts","Type":"Default","Container":"ts","IsRemote":false,"ReadAtNativeFramerate":false,"IgnoreDts":true,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"SupportsProbing":false,"EnableMpDecimate":false,"LiveStreamId":"a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_49f91664f0c54272a0f6a919c8867062_heavy_de4654ba03d9b61a33941902fa73ad91_48a893682be5723f92e738d9d73fb103","BufferMs":0,"RequiresLooping":false,"MediaStreams":[{"Codec":"h264","NalLengthSize":"0","IsInterlaced":false,"BitRate":15000000,"IsDefault":false,"IsForced":false,"Height":1080,"Width":1920,"Type":"Video","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false},{"Codec":"AC3","DisplayTitle":"Dolby Digital","IsInterlaced":false,"BitRate":448000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":-1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false}],"Formats":[],"Bitrate":15448000,"RequiredHttpHeaders":{}}
User policy for Lauren: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
C:\Users\Lee\AppData\Roaming\Emby-Server\ffmpeg\20170308\ffmpeg.exe -fflags +igndts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/86e7ecea052046d7b1258ddc621e1e12/stream.ts" -map_metadata -1 -map_chapters -1 -threads 0 -sn -codec:v:0 copy -flags -global_header -vsync cfr -codec:a:0 ac3 -ac 6 -ab 384000  -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_entry_prefix "hls/ec0348381ff500f164be3eb58c930f5b/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\ec0348381ff500f164be3eb58c930f5b.m3u8" -y "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\ec0348381ff500f164be3eb58c930f5b%d.ts"
ffmpeg version N-83781-g3016e91 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --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-zlib
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 82.102 / 57. 82.102
  libavformat    57. 66.103 / 57. 66.103
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, mpegts, from 'http://127.0.0.1:8096/LiveTv/LiveStreamFiles/86e7ecea052046d7b1258ddc621e1e12/stream.ts':
  Duration: N/A, start: 80312.020567, bitrate: N/A
  Program 3
    Stream #0:0[0x31]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, 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[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, segment, to 'C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\ec0348381ff500f164be3eb58c930f5b%d.ts':
  Metadata:
    encoder         : Lavf57.66.103
    Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s
    Metadata:
      encoder         : Lavc57.82.102 ac3

....it shouldn't be remuxing at all should it?

 

Edit...

Mapping: Stream #0:1 -> #0:1 (ac3 (native) -> ac3 (native))

Input: Stream #0:1[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s

Output: Stream #0:1: Audio: ac3, 48000 Hz, 5.1, fltp, 384 kb/s

 

Is it seriously just upmixing stereo to 5.1?  Because if it is, that is absurd: TV only has two speakers.  Also, when upmixing, the bitrate should increase as well, no?

Edited by FordGT90Concept
Link to comment
Share on other sites

@@FordGT90Concept I would just like to express my thanks for you being a part of the beta testing team. That will need deeper investigation but yes it appears that one might not need remuxing at all.

Link to comment
Share on other sites

FordGT90Concept

I think eliminating that remuxing issue should prevent the audio desync issue too, at least for me.  Haven't seen the audio desync bug much lately but it is always remuxing Live TV (or seems like anyway).

Link to comment
Share on other sites

Hi.  What version of the app was the above test run with?

 

What is the state of the option in the app to "Direct stream live TV"?

Link to comment
Share on other sites

FordGT90Concept

Not Live TV but one of the boxes is watch NCIS and it's transcoding.  The only difference versus above is 1080p29.97 versus 720p60 (bandwidth wise, about the same no?):

Video: MPEG4 Video (H264) 1920x1080 29.97fps [V: h264 high L4.0, yuv420p, 1920x1080]

Audio: Dolby AC3 48000Hz stereo 384kbps [A: English [eng] (ac3, 48000 Hz, stereo, 384 kb/s)]

 

The target is an NVIDIA SHIELD 2017.

Application version: 3.2.32.9

http://192.168.0.128:8096/emby/videos/e369edcf89ae3c3a1cb80cdabfa90980/hls1/main/0.ts?DeviceId=ea55025c22ecaa69&MediaSourceId=e369edcf89ae3c3a1cb80cdabfa90980&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=79616000&AudioBitrate=384000&MaxAudioChannels=8&MaxFramerate=60&PlaySessionId=c417de2ddd9c4ac08288cbfb471c1bcd&api_key=19d7b1755681498e9c0d0051a180f1ab&CopyTimestamps=true&EnableSubtitlesInManifest=false&Tag=052fe570ca5a286b6612387c03832dc3&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported&h264-profile=high,main,baseline,constrained%20baseline&h264-level=51&h264-deinterlace=true&mpeg2video-deinterlace=true&hevc-profile=none

{"Protocol":"File","Id":"e369edcf89ae3c3a1cb80cdabfa90980","Path":"E:\\Recordings\\NCIS\\Season 15\\NCIS S15E01 House Divided.ts","Type":"Default","Container":"mpegts","Name":"1080P/H264/AC3","IsRemote":false,"ETag":"052fe570ca5a286b6612387c03832dc3","RunTimeTicks":35994439680,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"EnableMpDecimate":false,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1001/60000","NalLengthSize":"0","IsInterlaced":true,"IsAVC":false,"BitRate":9636936,"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","CodecTag":"AC-3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":384000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":10020936,"RequiredHttpHeaders":{}}

User policy for Lauren: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

C:\Users\Lee\AppData\Roaming\Emby-Server\ffmpeg\20170308\ffmpeg.exe -f mpegts -i file:"E:\Recordings\NCIS\Season 15\NCIS S15E01 House Divided.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 9636936 -bufsize 19273872 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 copy -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048.m3u8" -y "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048%d.ts"

ffmpeg version N-83781-g3016e91 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --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-zlib
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 82.102 / 57. 82.102
  libavformat    57. 66.103 / 57. 66.103
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, mpegts, from 'file:E:\Recordings\NCIS\Season 15\NCIS S15E01 House Divided.ts':
  Duration: 00:59:59.44, start: 64962.382878, bitrate: 9636 kb/s
  Program 3 
    Stream #0:0[0x31]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, 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[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0000000001f29040] using SAR=1/1
[libx264 @ 0000000001f29040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000000001f29040] profile Main, level 4.1
[libx264 @ 0000000001f29040] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=9636 vbv_bufsize=19273 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, segment, to 'C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048%d.ts':
  Metadata:
    encoder         : Lavf57.66.103
    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.82.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 9636000/0/0 buffer size: 19273000 vbv_delay: -1
    Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

 

Is that really necessary?

ffmpeg-transcode-713cf52a-ce3b-443d-a8af-6bf1959d34bc.txt

Edited by FordGT90Concept
Link to comment
Share on other sites

mwongjay

Not Live TV but one of the boxes is watch NCIS and it's transcoding.  The only difference versus above is 1080p29.97 versus 720p60 (bandwidth wise, about the same no?):

Video: MPEG4 Video (H264) 1920x1080 29.97fps [V: h264 high L4.0, yuv420p, 1920x1080]

Audio: Dolby AC3 48000Hz stereo 384kbps [A: English [eng] (ac3, 48000 Hz, stereo, 384 kb/s)]

 

The target is an NVIDIA SHIELD 2017.

Application version: 3.2.32.9

http://192.168.0.128:8096/emby/videos/e369edcf89ae3c3a1cb80cdabfa90980/hls1/main/0.ts?DeviceId=ea55025c22ecaa69&MediaSourceId=e369edcf89ae3c3a1cb80cdabfa90980&VideoCodec=h264,mpeg2video,hevc,h265&AudioCodec=ac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=79616000&AudioBitrate=384000&MaxAudioChannels=8&MaxFramerate=60&PlaySessionId=c417de2ddd9c4ac08288cbfb471c1bcd&api_key=19d7b1755681498e9c0d0051a180f1ab&CopyTimestamps=true&EnableSubtitlesInManifest=false&Tag=052fe570ca5a286b6612387c03832dc3&RequireAvc=false&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported&h264-profile=high,main,baseline,constrained%20baseline&h264-level=51&h264-deinterlace=true&mpeg2video-deinterlace=true&hevc-profile=none

{"Protocol":"File","Id":"e369edcf89ae3c3a1cb80cdabfa90980","Path":"E:\\Recordings\\NCIS\\Season 15\\NCIS S15E01 House Divided.ts","Type":"Default","Container":"mpegts","Name":"1080P/H264/AC3","IsRemote":false,"ETag":"052fe570ca5a286b6612387c03832dc3","RunTimeTicks":35994439680,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"EnableMpDecimate":false,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","TimeBase":"1/90000","CodecTimeBase":"1001/60000","NalLengthSize":"0","IsInterlaced":true,"IsAVC":false,"BitRate":9636936,"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","CodecTag":"AC-3","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":384000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":10020936,"RequiredHttpHeaders":{}}

User policy for Lauren: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

C:\Users\Lee\AppData\Roaming\Emby-Server\ffmpeg\20170308\ffmpeg.exe -f mpegts -i file:"E:\Recordings\NCIS\Season 15\NCIS S15E01 House Divided.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 9636936 -bufsize 19273872 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 copy -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3  -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048.m3u8" -y "C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048%d.ts"

ffmpeg version N-83781-g3016e91 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --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-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --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-zlib
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 82.102 / 57. 82.102
  libavformat    57. 66.103 / 57. 66.103
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 74.100 /  6. 74.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, mpegts, from 'file:E:\Recordings\NCIS\Season 15\NCIS S15E01 House Divided.ts':
  Duration: 00:59:59.44, start: 64962.382878, bitrate: 9636 kb/s
  Program 3 
    Stream #0:0[0x31]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, 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[0x34](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0000000001f29040] using SAR=1/1
[libx264 @ 0000000001f29040] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0000000001f29040] profile Main, level 4.1
[libx264 @ 0000000001f29040] 264 - core 148 r2762 90a61ec - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=4 chroma_me=0 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=9636 vbv_bufsize=19273 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
Output #0, segment, to 'C:\Users\Lee\AppData\Roaming\Emby-Server\transcoding-temp\0fea3c4e941fe33777980058c4a76048%d.ts':
  Metadata:
    encoder         : Lavf57.66.103
    Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.82.102 libx264
    Side data:
      cpb: bitrate max/min/avg: 9636000/0/0 buffer size: 19273000 vbv_delay: -1
    Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))

 

Is that really necessary?

 

 

This may be caused because the yadif flag was applied. It shouldn't have been because the probe detected that the video is not interlaced. 

Link to comment
Share on other sites

pünktchen

This may be caused because the yadif flag was applied. It shouldn't have been because the probe detected that the video is not interlaced.

Read your log again! The stream is detected as interlaced and that's why transcoding with deinterlacing happens.
Link to comment
Share on other sites

FordGT90Concept

Is that the case here? It's h264 1080i29.97 and it's converting it to x264 1080p30? If that's the case, what about transcoding on the frontside (during recording) instead of the backside (playback)? Is there a way to request the HDHomeRun deinterlace internally?

Link to comment
Share on other sites

pünktchen

Is that the case here? It's h264 1080i29.97 and it's converting it to x264 1080p30? If that's the case, what about transcoding on the frontside (during recording) instead of the backside (playback)? Is there a way to request the HDHomeRun deinterlace internally?

The question should be this one: https://emby.media/community/index.php?/topic/50118-HDHR-UK-HD-Channels-No-Longer-Play&do=findComment&comment=491897
Link to comment
Share on other sites

FordGT90Concept

It's makes sense to compute at the source rather than the destination because there can be multiple destinations all wanting the same thing. This is especially true in my case because I have HDHomeRun EXTENDs which have some compute capability.

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