Jump to content

Error on resume video (fire tv client)


gbarone123

Recommended Posts

gbarone123

2018-12-14 17:38:59.628

Application version: 3.6.0.76

 

http://192.168.1.4:8096/emby/videos/56836/hls1/main/825.ts?DeviceId=dbc7bfb0aca0a802&MediaSourceId=aff14fe3928235d6dac86418c4cb1a09&VideoCodec=h264,mpeg2video&AudioCodec=aac,mp3&VideoBitrate=79808000&AudioBitrate=192000&PlaySessionId=1fe77cbd10a1493d869c85cf60cd507e&api_key=3dc0a4f66f584afd8ac830453380af92&AudioStreamIndex=1&SubtitleMethod=Encode&CopyTimestamps=true&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&mpeg2video-deinterlace=true&h264-deinterlace=true&TranscodeReasons=DirectPlayError,VideoCodecNotSupported&AllowVideoStreamCopy=false

 

{"Protocol":"File","Id":"aff14fe3928235d6dac86418c4cb1a09","Path":"/media/Movies/Die Hard With a Vengeance (1995)/Die Hard With a Vengeance.avi","Type":"Default","Container":"avi","Size":886425600,"Name":"Die Hard With a Vengeance","IsRemote":false,"RunTimeTicks":77039706112,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"mpeg4","CodecTag":"XVID","TimeBase":"100/2997","CodecTimeBase":"100/2997","VideoRange":"SDR","DisplayTitle":"SD MPEG4","IsInterlaced":false,"BitRate":716615,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":272,"Width":636,"AverageFrameRate":29.97,"RealFrameRate":29.97,"Profile":"Advanced Simple Profile","Type":"Video","AspectRatio":"2.35:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":5,"IsAnamorphic":false},{"Codec":"mp3","TimeBase":"1/24000","CodecTimeBase":"1/44100","DisplayTitle":"MP3 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"Formats":[],"Bitrate":920486,"RequiredHttpHeaders":{}}

 

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

 

Affected codecs:

>>>>>> libx264 Software Encoder

Color Formats: YUV420P, YUVJ420P, YUV422P, YUVJ422P, YUV444P, YUVJ444P, NV12, NV16, NV21, YUV420P10LE, YUV422P10LE, YUV444P10LE, NV20LE

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 Predictive Profile (Level 6.2)

 

 

>>>>>> FindVideoDecoder - MediaType: mpeg4, Mode: 0

Info FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)

Info FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

 

>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0

Info FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)

Info Encoder supports input stream

Info FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

 

>>>>>> FindVideoDecoder - MediaType: mpeg4, Mode: 0

Info FindVideoDecoder - Checking: 'Automatic software decoder' (Priority: 0)

Info FindVideoDecoder - Check successful - selecting 'Automatic software decoder'

 

>>>>>> FindVideoEncoder - Media: h264, UseHardwareCodecs: True, Mode: 0

Info FindVideoEncoder - Checking: 'libx264 Software Encoder' (Priority: 0)

Info Encoder supports input stream

Info FindVideoEncoder - Check successful - selecting 'libx264 Software Encoder'

 

/usr/local/bin/ffmpeg -ss 00:41:15.000 -f avi -i file:"/media/Movies/Die Hard With a Vengeance (1995)/Die Hard With a Vengeance.avi" -threads 0 -map 0:0 -map 0:1 -map -0:s -c:v:0 libx264 -pix_fmt yuv420p -maxrate 2149845 -bufsize 4299690 -profile high -level 4.1 -crf 23 -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))" -copyts -vsync -1 -codec:a:0 copy -disposition:a:0 default -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -segment_time_delta -2475 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 825 -segment_list "/var/db/emby-server/transcoding-temp/476092979d701a6836ae5df8c9fc9ee7.m3u8" -y "/var/db/emby-server/transcoding-temp/476092979d701a6836ae5df8c9fc9ee7%d.ts"

 

ffmpeg version 4.1 Copyright © 2000-2018 the FFmpeg developers

built with FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)

configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --disable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --enable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --disable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --disable-sdl2 --disable-libsmbclient --disable-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi

libavutil 56. 22.100 / 56. 22.100

libavcodec 58. 35.100 / 58. 35.100

libavformat 58. 20.100 / 58. 20.100

libavdevice 58. 5.100 / 58. 5.100

libavfilter 7. 40.101 / 7. 40.101

libavresample 4. 0. 0 / 4. 0. 0

libswscale 5. 3.100 / 5. 3.100

libswresample 3. 3.100 / 3. 3.100

libpostproc 55. 3.100 / 55. 3.100

Input #0, avi, from 'file:/media/Movies/Die Hard With a Vengeance (1995)/Die Hard With a Vengeance.avi':

Duration: 02:08:23.97, start: 0.000000, bitrate: 920 kb/s

Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 636x272 [sAR 1:1 DAR 159:68], 716 kb/s, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.98 tbc

Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 44100 Hz, stereo, fltp, 192 kb/s

Please use -profile:a or -profile:v, -profile is ambiguous

Stream mapping:

Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (libx264))

Stream #0:1 -> #0:1 (copy)

Press [q] to stop, [?] for help

[NULL @ 0x80ce16a00] Failed to parse extradata

[mpeg4 @ 0x80cfb4500] 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 @ 0x80ce19700] using SAR=1/1

[libx264 @ 0x80ce19700] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2

[libx264 @ 0x80ce19700] profile Main, level 4.1

[libx264 @ 0x80ce19700] 264 - core 155 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=4 chroma_me=0 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 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=2 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=2149 vbv_bufsize=4299 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00

[segment muxer @ 0x80ce68e00] Value -2475.000000 for parameter 'segment_time_delta' out of range [0 - 9.22337e+12]

[segment muxer @ 0x80ce68e00] Error setting option segment_time_delta to value -2475.

Could not write header for output file #0 (incorrect codec parameters ?): Result too large

Error initializing output stream 0:0 --

Conversion failed!

Link to comment
Share on other sites

gbarone123

I saw you posted the 3.6.0.77 beta on git. Will the freenas version be added soon for this beta? Reading the release notes, I was hoping this might solve some ffmpeg issues.

 

One other thought, I read in a few places that it may be a version 4.1 ffmpeg issue. Should I try running on 4.0.1?

Link to comment
Share on other sites

I saw you posted the 3.6.0.77 beta on git. Will the freenas version be added soon for this beta? Reading the release notes, I was hoping this might solve some ffmpeg issues.

 

One other thought, I read in a few places that it may be a version 4.1 ffmpeg issue. Should I try running on 4.0.1?

 

We are working on them, but in the meantime for immediate relief you will need to see the link I posted above.

 

And yes, ffmpeg 4.0.1, not 4.1.

 

Thanks.

Link to comment
Share on other sites

gbarone123

Update on this:

 

I upgraded to 3.6.0.79 beta last night. The resume playback error seems to have been resolved.

 

Well done gents.

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