Jump to content

autoplay / pause-resume probs? ipv6? help? lol


NErdgOd56
 Share

Recommended Posts


so if im watching a tv series, SOMETIMES the video will end and then nothing happens. also, most of the time when i pause to go to the bathroom or something,

when i come back and press play, thevideo works for a bit (i assume its playing from cache) but then it will freeze for a few seconds,

turn black and not play again until i return to the previous page and refresh then select the video again

 

 

this is the only thing weird i noticed in the embyserver.txt log

 

2019-07-12 18:13:58.939 Debug App: SessionInfoWebSocketListener Begin transmitting over websocket to [::ffff:192.168.1.1]:51650

2019-07-12 18:13:58.939 Debug App: ScheduledTasksWebSocketListener Begin transmitting over websocket to [::ffff:192.168.1.1]:51650

2019-07-12 18:13:58.941 Debug App: ActivityLogWebSocketListener Begin transmitting over websocket to [::ffff:192.168.1.1]:51650

2019-07-12 18:13:58.941 Debug App: ActivityLogWebSocketListener Begin transmitting over websocket to [::ffff:192.168.1.1]:51650

 

looks like its combining ipv6 anbd ipv4 address, even though ipv6 is disabled on my router(s)

i have since disabled ipv6 on the linux server and will report back if that helped

 

full embyserver : https://pastebin.com/yWDqZKkE

hardwaredetection.txt : https://pastebin.com/9ZsVGAKd

ffmpeg-transcode of video that failed to reach the end after a pause: https://pastebin.com/V7N8Wq8b

ffmpeg-transcode of video that stopped when it should have autoplay'd : next time it happens ill pastebin

 

 

possibly important info:

os is installed on mdadm raid with ext4..... and theyre usb3.0 flash drives.... pls dont judge me

media storage is a btrfs raid 0 between 3 drives 2 sata, one usb (not flash).

opt is bind mount of .opt on media drive

i use hd-idle to keep all drives alive for 2.5 hours before idling and problem occurs with or without usb drives included in hd-idle

could be related to arch/manjaro, had the same setup on ubuntu without these problems

 

PS: i wouldnt mind someone testing the server themselves, but dont be a dbag. bowtie-ent.com/emby will redirect you, test user is password free.

 

 

Edited by NErdgOd56
Link to comment
Share on other sites

pause/resume late failed again, found the error in embyserver and related ffmpeg-transcodes:
 

2019-07-18 07:22:48.258 Info HttpServer: HTTP Response 200 to 192.168.1.1. Time: 5ms. https://bowtie-ent.com:8920/emby/videos/5975/hls1/main/873.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82OC4wfDE1NjM0MjcwNTg4ODE1&MediaSourceId=28e7236354a6343c9680206fb92d6fb2&PlaySessionId=d2b79c8edd504f9094b567ea355b1b86&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139868384&AudioBitrate=131616&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported
2019-07-18 07:22:48.324 Info HttpServer: HTTP POST https://bowtie-ent.com:8920/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
2019-07-18 07:22:48.326 Info HttpServer: HTTP Response 204 to 192.168.1.1. Time: 2ms. https://bowtie-ent.com:8920/emby/Sessions/Playing/Progress
2019-07-18 07:22:50.455 Info HttpServer: HTTP GET https://bowtie-ent.com:8920/emby/videos/5975/hls1/main/874.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82OC4wfDE1NjM0MjcwNTg4ODE1&MediaSourceId=28e7236354a6343c9680206fb92d6fb2&PlaySessionId=d2b79c8edd504f9094b567ea355b1b86&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139868384&AudioBitrate=131616&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported. Host=bowtie-ent.com:8920, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0, Accept=*/*, Accept-Language=en-US,en;q=0.5, Accept-Encoding=gzip, deflate, br, Referer=https://bowtie-ent.com:8920/web/index.html, DNT=1, Connection=keep-alive
2019-07-18 07:22:50.456 Debug App: Starting transcoding because currentTranscodingIndex=null
2019-07-18 07:22:50.456 Debug App: KillTranscodingJob - JobId ddb66e8e-6331-49ee-abe1-bc697ccdf064 PlaySessionId d2b79c8edd504f9094b567ea355b1b86. Killing transcoding
2019-07-18 07:22:50.456 Debug App: CodecValidation: FindVideoDecoder - MediaType: mpeg4, Mode: 2
2019-07-18 07:22:50.456 Debug App: CodecValidation: FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
2019-07-18 07:22:50.456 Debug App: CodecValidation: FindVideoDecoder - Check successful - selecting 'Automatic software decoder'
2019-07-18 07:22:50.456 Debug App: CodecValidation: FindVideoEncoder - Media: h264, UseHardwareCodecs: False, Mode: 2
2019-07-18 07:22:50.456 Debug App: CodecValidation: FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
2019-07-18 07:22:50.457 Debug App: CodecValidation: Encoder supports input stream
2019-07-18 07:22:50.457 Debug App: CodecValidation: FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'
2019-07-18 07:22:50.462 Info App: ProcessRun 'StreamTranscode e95fdd' Execute: /usr/bin/ffmpeg-emby -ss 00:43:42.000  -f avi -i file:"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi" -threads 1 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p  -maxrate 2923683 -bufsize 5847366 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0  -copyts -vsync -1 -codec:a:0 aac -disposition:a:0 default -ac:a:0 2 -ab:a:0 131616  -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_write_temp 1 -segment_list_type m3u8 -segment_start_number 874 -segment_list "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8" -y "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts"
2019-07-18 07:22:50.478 Info App: ProcessRun 'StreamTranscode e95fdd' Started.
2019-07-18 07:22:50.678 Info App: ProcessRun 'StreamTranscode e95fdd' Process exited with code 0
2019-07-18 07:22:50.680 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.1.1.0
	Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
	Operating system: Unix 4.19.56.1
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/dotnet/shared/Microsoft.NETCore.App/2.2.3/System.Private.CoreLib.dll
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /usr/lib/emby-server
	System.Exception: System.Exception: Error starting ffmpeg
	   at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, EncodingOptions encodingOptions, EncodingDiagnosticOptions encodingDiagnosticOptions, CancellationTokenSource cancellationTokenSource, Boolean acquireResources)
	   at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String playlistId, String segmentId, Int32 subtitleStreamIndex)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
	

2019-07-18 05:42:43.693
Application version: 4.1.1.0

https://bowtie-ent.com:8920/emby/videos/5975/hls1/main/0.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82OC4wfDE1NjM0MjcwNTg4ODE1&MediaSourceId=28e7236354a6343c9680206fb92d6fb2&PlaySessionId=d2b79c8edd504f9094b567ea355b1b86&api_key=e9f2242d5859423bb660fe51e2cd6e49&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139868384&AudioBitrate=131616&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"28e7236354a6343c9680206fb92d6fb2","Path":"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi","Type":"Default","Container":"avi","Size":366980590,"Name":"House MD Season 1 Episode 13 - Cursed","IsRemote":false,"RunTimeTicks":26237900800,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"XVID","TimeBase":"125/2997","CodecTimeBase":"125/2997","VideoRange":"SDR","DisplayTitle":"SD MPEG4","IsInterlaced":false,"BitRate":974561,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":352,"Width":624,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"Advanced Simple Profile","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":5,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"3/125","CodecTimeBase":"1/48000","DisplayTitle":"MP3 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":131616,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":1118932,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}

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

Affected codecs:
>>>>>>  NVENC GeForce GTX 680 - H.264 (AVC)
        Adapter #0: 'GeForce GTX 680' ComputeCapability: 3.0
        Frame Sizes: max 4096x4096 - Width Alignment: 2 - Height Alignment: 2
        Color Formats: NV12, P010, CUDA, YUV420P
        Profiles: Baseline Profile (Level 5.1), Main Profile (Level 5.1), High Profile (Level 5.1), High 4:4:4 Profile (Level 5.1)


>>>>>>  FindVideoDecoder - MediaType: mpeg4, Mode: 2
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 2
Info    FindVideoEncoder - Checking: 'NVENC GeForce GTX 680 - H.264 (AVC)' (Priority: 100)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'NVENC GeForce GTX 680 - H.264 (AVC)'

>>>>>>  FindVideoDecoder - MediaType: mpeg4, Mode: 2
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 2
Info    FindVideoEncoder - Checking: 'NVENC GeForce GTX 680 - H.264 (AVC)' (Priority: 100)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'NVENC GeForce GTX 680 - H.264 (AVC)'

/usr/bin/ffmpeg-emby -f avi -i file:"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi" -threads 1 -map 0:0 -map 0:1 -map -0:s -c:v:0 h264_nvenc -pix_fmt yuv420p  -b:v:0 2923683 -maxrate 2923683 -bufsize 5847366 -profile:v:0 high -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0  -copyts -vsync -1 -codec:a:0 aac -disposition:a:0 default -ac:a:0 2 -ab:a:0 131616  -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_write_temp 1 -segment_list_type m3u8 -segment_start_number 0 -segment_list "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8" -y "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts"

ffmpeg version 4.0.3-emby_2019_04_09 Copyright (c) 2000-2018 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 8.3.0 (GCC)
Local Time: 05:42:43
T=0.000s
T=0.006s
Input #0, avi, from 'file:/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi':
  Metadata:
    artist          : TSV Productions
  Duration: 00:43:43.79, start: 0.000000, bitrate: 1118 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 974 kb/s, Level 5, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 131 kb/s
T=0.064s
    Last message repeated 3 times
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_nvenc))
  Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))
T=0.064s
Press [q] to stop, [?] for help
[mpeg4 @ 0x564daf615640] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.

Affected codecs:
>>>>>>  libx264 Software Encoder
        Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)

Info    Previous transcoding attempt failed. Falling back to software transcoding.

>>>>>>  FindVideoDecoder - MediaType: mpeg4, Mode: 2
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: False, Mode: 2
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'


/usr/bin/ffmpeg-emby -f avi -i file:"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi" -threads 1 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p  -maxrate 2923683 -bufsize 5847366 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0  -copyts -vsync -1 -codec:a:0 aac -disposition:a:0 default -ac:a:0 2 -ab:a:0 131616  -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_write_temp 1 -segment_list_type m3u8 -segment_start_number 0 -segment_list "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8" -y "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts"

ffmpeg version 4.0.3-emby_2019_04_09 Copyright (c) 2000-2018 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 8.3.0 (GCC)
Local Time: 05:42:45
T=0.000s
T=0.005s
Input #0, avi, from 'file:/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi':
  Metadata:
    artist          : TSV Productions
  Duration: 00:43:43.79, start: 0.000000, bitrate: 1118 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 974 kb/s, Level 5, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 131 kb/s
T=0.058s
    Last message repeated 2 times
T=0.059s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))
T=0.059s
Press [q] to stop, [?] for help
[mpeg4 @ 0x5609c36f4e80] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
[libx264 @ 0x5609c36e5fc0] using SAR=1/1
[libx264 @ 0x5609c36e5fc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x5609c36e5fc0] profile Main, level 4.1, 4:2:0, 8-bit
[libx264 @ 0x5609c36e5fc0] 264 - core 157 r2945 72db437 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=1 lookahead_threads=1 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=72 keyint_min=37 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2923 vbv_bufsize=5847 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[segment @ 0x5609c372a940] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca0.ts.tmp' for writing
Output #0, segment, to '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 624x352 [SAR 1:1 DAR 39:22], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 2923000/0/0 buffer size: 5847000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 131 kb/s (default)
    Metadata:
      encoder         : Lavc58.18.100 aac
[segment @ 0x5609c372a940] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8.tmp' for writing
SegmentComplete=video:0 Index=0 Start=0.000000 End=3.044711 Duration=3.044711 offset_pts=0 start_pts=0 Frames=72 filename=8bd55865a36f22870a7a04aa02fa85ca0.ts
...
...  continues as usual
...
[segment @ 0x5609c372a940] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca873.ts.tmp' for writing
[segment @ 0x5609c372a940] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8.tmp' for writing
SegmentComplete=video:0 Index=873 Start=2621.663333 End=2623.832167 Duration=2.168833 offset_pts=0 start_pts=-1673303963 Frames=52 filename=8bd55865a36f22870a7a04aa02fa85ca873.ts
elapsed=00:04:01.95 frame=62908 fps=260 q=28.0 Lsize=  193597kB time=00:43:43.76 bitrate= 604.5kbits/s throttle=off speed=10.8x    
video:151388kB audio:42210kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
T=281.436s
Local Time: 05:46:47
[libx264 @ 0x5609c36e5fc0] frame I:874   Avg QP:19.09  size: 16943
[libx264 @ 0x5609c36e5fc0] frame P:17923 Avg QP:22.86  size:  5399
[libx264 @ 0x5609c36e5fc0] frame B:44111 Avg QP:26.55  size:   985
[libx264 @ 0x5609c36e5fc0] consecutive B-frames:  3.6%  6.9%  5.7% 83.8%
[libx264 @ 0x5609c36e5fc0] mb I  I16..4: 19.8%  0.0% 80.2%
[libx264 @ 0x5609c36e5fc0] mb P  I16..4: 16.3%  0.0%  0.0%  P16..4: 55.5%  0.0%  0.0%  0.0%  0.0%    skip:28.3%
[libx264 @ 0x5609c36e5fc0] mb B  I16..4:  1.1%  0.0%  0.0%  B16..8: 18.7%  0.0%  0.0%  direct: 5.4%  skip:74.8%  L0:33.5% L1:43.4% BI:23.1%
[libx264 @ 0x5609c36e5fc0] coded y,uvDC,uvAC intra: 53.0% 55.1% 20.5% inter: 10.9% 8.2% 0.2%
[libx264 @ 0x5609c36e5fc0] i16 v,h,dc,p: 49% 20% 15% 16%
[libx264 @ 0x5609c36e5fc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 34% 18% 10%  7%  6%  7%  5%  6%  6%
[libx264 @ 0x5609c36e5fc0] i8c dc,h,v,p: 36% 20% 34% 10%
[libx264 @ 0x5609c36e5fc0] Weighted P-Frames: Y:3.4% UV:1.6%
[libx264 @ 0x5609c36e5fc0] kb/s:472.66
[aac @ 0x5609c3701580] Qavg: 412.182

second ffmpeg-transcode::
 

2019-07-18 07:22:50.461
Application version: 4.1.1.0

https://bowtie-ent.com:8920/emby/videos/5975/hls1/main/874.ts?DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjguMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82OC4wfDE1NjM0MjcwNTg4ODE1&MediaSourceId=28e7236354a6343c9680206fb92d6fb2&PlaySessionId=d2b79c8edd504f9094b567ea355b1b86&api_key=e9f2242d5859423bb660fe51e2cd6e49&VideoCodec=h264&AudioCodec=aac&VideoBitrate=139868384&AudioBitrate=131616&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&TranscodeReasons=ContainerNotSupported

{"Protocol":"File","Id":"28e7236354a6343c9680206fb92d6fb2","Path":"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi","Type":"Default","Container":"avi","Size":366980590,"Name":"House MD Season 1 Episode 13 - Cursed","IsRemote":false,"RunTimeTicks":26237900800,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"XVID","TimeBase":"125/2997","CodecTimeBase":"125/2997","VideoRange":"SDR","DisplayTitle":"SD MPEG4","IsInterlaced":false,"BitRate":974561,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":352,"Width":624,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"Advanced Simple Profile","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":5,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"3/125","CodecTimeBase":"1/48000","DisplayTitle":"MP3 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":131616,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":1118932,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false}

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

Affected codecs:
>>>>>>  libx264 Software Encoder
        Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10, YUV422P10, YUV444P10, NV20
        Profiles: Baseline Profile (Level 6.2), Main Profile (Level 6.2), High Profile (Level 6.2), High 10 Profile (Level 6.2), High 4:2:2 Profile (Level 6.2), High 4:4:4 Profile (Level 6.2)


>>>>>>  FindVideoDecoder - MediaType: mpeg4, Mode: 2
Info    FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)
Info    FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

>>>>>>  FindVideoEncoder - Media: h264, UseHardwareCodecs: False, Mode: 2
Info    FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)
Info    Encoder supports input stream
Info    FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

/usr/bin/ffmpeg-emby -ss 00:43:42.000  -f avi -i file:"/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi" -threads 1 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p  -maxrate 2923683 -bufsize 5847366 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0  -copyts -vsync -1 -codec:a:0 aac -disposition:a:0 default -ac:a:0 2 -ab:a:0 131616  -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_write_temp 1 -segment_list_type m3u8 -segment_start_number 874 -segment_list "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8" -y "/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts"

ffmpeg version 4.0.3-emby_2019_04_09 Copyright (c) 2000-2018 the FFmpeg developers and softworkz for Emby LLC
  built with gcc 8.3.0 (GCC)
Local Time: 07:22:50
T=0.000s
T=0.004s
Input #0, avi, from 'file:/mnt/Share/Media/Library/TV/House (2004)/Season 01/House - S01E13 - Cursed -[2005-03-01]/House MD Season 1 Episode 13 - Cursed.avi':
  Metadata:
    artist          : TSV Productions
  Duration: 00:43:43.79, start: 0.000000, bitrate: 1118 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 624x352 [SAR 1:1 DAR 39:22], 974 kb/s, Level 5, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 131 kb/s
T=0.051s
    Last message repeated 2 times
T=0.052s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))
T=0.052s
Press [q] to stop, [?] for help
[NULL @ 0x558c1caa5b80] Failed to parse extradata
[mpeg4 @ 0x558c1cacb880] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
[libx264 @ 0x558c1caaa780] using SAR=1/1
[libx264 @ 0x558c1caaa780] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0x558c1caaa780] profile Main, level 4.1, 4:2:0, 8-bit
[libx264 @ 0x558c1caaa780] 264 - core 157 r2945 72db437 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=1 lookahead_threads=1 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=72 keyint_min=37 scenecut=0 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=2923 vbv_bufsize=5847 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00
[segment @ 0x558c1cad0700] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca874.ts.tmp' for writing
Output #0, segment, to '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca%d.ts':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 624x352 [SAR 1:1 DAR 39:22], q=-1--1, 23.98 fps, 90k tbn, 23.98 tbc
    Metadata:
      encoder         : Lavc58.18.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 2923000/0/0 buffer size: 5847000 vbv_delay: -1
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 131 kb/s (default)
    Metadata:
      encoder         : Lavc58.18.100 aac
[segment @ 0x558c1cad0700] Opening '/opt/.emby/transcode/transcoding-temp/8bd55865a36f22870a7a04aa02fa85ca.m3u8.tmp' for writing
SegmentComplete=video:0 Index=874 Start=0.000000 End=2623.832167 Duration=2623.832167 offset_pts=0 start_pts=0 Frames=44 filename=8bd55865a36f22870a7a04aa02fa85ca874.ts
elapsed=00:00:00.12 frame=   44 fps=0.0 q=28.0 Lsize=       3kB time=00:43:43.77 bitrate=   0.0kbits/s throttle=off speed=2.14e+04x    
video:2kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
T=0.180s
Local Time: 07:22:50
[libx264 @ 0x558c1caaa780] frame I:1     Avg QP: 9.01  size:   108
[libx264 @ 0x558c1caaa780] frame P:11    Avg QP:10.36  size:    21
[libx264 @ 0x558c1caaa780] frame B:32    Avg QP:12.69  size:    18
[libx264 @ 0x558c1caaa780] consecutive B-frames:  2.3%  0.0%  6.8% 90.9%
[libx264 @ 0x558c1caaa780] mb I  I16..4: 99.9%  0.0%  0.1%
[libx264 @ 0x558c1caaa780] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 0x558c1caaa780] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[libx264 @ 0x558c1caaa780] coded y,uvDC,uvAC intra: 0.0% 0.2% 0.2% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x558c1caaa780] i16 v,h,dc,p: 96%  0%  4%  0%
[libx264 @ 0x558c1caaa780] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu:  0%  0% 100%  0%  0%  0%  0%  0%  0%
[libx264 @ 0x558c1caaa780] i8c dc,h,v,p: 100%  0%  0%  0%
[libx264 @ 0x558c1caaa780] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x558c1caaa780] kb/s:3.93
[aac @ 0x558c1cac9cc0] Qavg: 65174.477

is there anything i can try or is this a common/known issue?

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
 Share

×
×
  • Create New...