maverickphillips 0 Posted June 15, 2020 Share Posted June 15, 2020 When I try to play a episode of the Simpson in safari this log entry generates and I can't play the episode - works fine in chrome 2020-06-15 21:28:46.047 Emby Server version: 4.4.2.0 Operating system: Unix 11.3.7.0 Command Line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffmpeg /usr/local/bin/ffmpeg -ffprobe /usr/local/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd_{version}_amd64.txz App: Emby Web 4.4.2.0 Safari http://192.168.1.207:8096/emby/videos/17962/hls1/main/12.ts?DeviceId=3259acfa-40e6-4175-93d5-3628de066856&MediaSourceId=174dbef9214aeb719c6ab7888428d8f5&PlaySessionId=9d1a6be50eeb410696334f43867148fd&api_key=f69146f4770845fba70832f6f6b4fd9b&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=139808000&AudioBitrate=192000&MaxWidth=1920&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline&h264-level=52&TranscodeReasons=ContainerNotSupported {"Protocol":"File","Id":"174dbef9214aeb719c6ab7888428d8f5","Path":"/NAS/TV Shows/The Simpsons/Season 12/S12E01. Treehouse.of.Horror.XI.avi","Type":"Default","Container":"avi","Size":227163908,"Name":"S12E01. Treehouse.of.Horror.XI","IsRemote":false,"RunTimeTicks":12972800000,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","CodecTag":"H264","TimeBase":"1/25","CodecTimeBase":"1/50","VideoRange":"SDR","DisplayTitle":"480p H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":1000243,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":536,"Width":720,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"90:67","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false},{"Codec":"ac3","TimeBase":"4/125","CodecTimeBase":"1/48000","DisplayTitle":"Dolby Digital stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":192000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"},{"Codec":"ac3","TimeBase":"4/125","CodecTimeBase":"1/48000","DisplayTitle":"Dolby Digital 5.1","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":192000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File"}],"Formats":[],"Bitrate":1400862,"RequiredHttpHeaders":{},"ReadAtNativeFramerate":false} >>>>>> User policy for Maverick EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True >>>>>> Processing Plan Info Name CanDoInHardware WillDoInHardware Reason Info Copy video stream >> False False Software Codec Info VideoInput >> False False Not a hardware decoder Info VideoOutput >> False False Not a hardware encoder Info Copy video stream >> False False Software Codec >>>>>> Projected Processing Formats Info Previous HW-Context Format SW-Format Next Info h264 >> - yuv420p yuv420p >> >>>>> Legacy Command /usr/local/bin/ffmpeg -ss 00:01:12.000 -f avi -noaccurate_seek -i file:"/NAS/TV Shows/The Simpsons/Season 12/S12E01. Treehouse.of.Horror.XI.avi" -threads 0 -map 0:0 -map 0:1 -sn -c:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 aac -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 6 -segment_time_delta -72 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 12 -segment_list "/Transcode/transcoding-temp/9D4E64.m3u8" -y "/Transcode/transcoding-temp/9D4E64_%d.ts" >>>>> Actual Command /usr/local/bin/ffmpeg -y -copyts -start_at_zero -f avi -ss 00:01:12.000 -noaccurate_seek -c:v:0 h264 -i "/NAS/TV Shows/The Simpsons/Season 12/S12E01. Treehouse.of.Horror.XI.avi" -map 0:0 -map 0:1 -sn -c:v:0 copy -bsf:v:0 h264_mp4toannexb -c:a:0 aac -ab:a:0 192000 -ac:a:0 2 -disposition:a:0 default -max_delay 5000000 -avoid_negative_ts disabled -f segment -map_metadata -1 -map_chapters -1 -segment_format mpegts -segment_list /Transcode/transcoding-temp/9D4E64.m3u8 -segment_list_type m3u8 -segment_time 6 -segment_time_delta -00:01:12.000 -segment_start_number 12 -break_non_keyframes 1 -individual_header_trailer 0 -write_header_trailer 0 "/Transcode/transcoding-temp/9D4E64_%d.ts" ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers built with FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.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-avresample --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libaribb24 --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --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 --disable-ladspa --disable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lto --disable-lv2 --disable-mbedtls --disable-libmfx --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-pocketsphinx --disable-libpulse --disable-librav1e --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 --disable-libvmaf --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. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 Input #0, avi, from '/NAS/TV Shows/The Simpsons/Season 12/S12E01. Treehouse.of.Horror.XI.avi': Metadata: encoder : XviD4PSP 6.0 / 54.29.105 Duration: 00:21:37.28, start: 0.000000, bitrate: 1400 kb/s Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 720x536 [SAR 1:1 DAR 90:67], 1000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 192 kb/s Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (ac3 (native) -> aac (native)) Press [q] to stop, [?] for help [segment muxer @ 0x81006c600] Value -72.000000 for parameter 'segment_time_delta' out of range [0 - 9.22337e+12] [segment muxer @ 0x81006c600] Error setting option segment_time_delta to value -00:01:12.000. Could not write header for output file #0 (incorrect codec parameters ?): Result too large Error initializing output stream 0:1 -- [aac @ 0x8105fbf00] Qavg: nan Conversion failed! Link to comment Share on other sites More sharing options...
maverickphillips 0 Posted June 15, 2020 Author Share Posted June 15, 2020 This also seems to be a problem on the Apple TV Link to comment Share on other sites More sharing options...
Luke 36881 Posted June 20, 2020 Share Posted June 20, 2020 Hi there, how did you install Emby Server? Link to comment Share on other sites More sharing options...
maverickphillips 0 Posted June 20, 2020 Author Share Posted June 20, 2020 Hi, I used the FreeNAS plugin, when updates are available I just use the link on the emby site and change the version numbers in the URL. I hope this helps Link to comment Share on other sites More sharing options...
maverickphillips 0 Posted June 22, 2020 Author Share Posted June 22, 2020 21:00:40.102 ffmpeg version 4.3.0-emby_2020_05_23 Copyright (c) 2000-2019 the FFmpeg developers and softworkz for Emby LLC 21:00:40.103 built with FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) 21:00:40.103 Execution Date: 2020-06-22 21:00:40 21:00:40.232 Input #0, avi, from '/NAS/TV Shows/The Simpsons/Season 12/S12E02. Tale.of.Two.Springfields.avi': 21:00:40.232 Metadata: 21:00:40.232 encoder : XviD4PSP 6.0 / 54.29.105 21:00:40.232 Duration: 00:21:21.24, start: 0.000000, bitrate: 1400 kb/s 21:00:40.232 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 720x536 [SAR 1:1 DAR 90:67], 999 kb/s, Level 41, 25 fps, 25 tbr, 25 tbn, 50 tbc 21:00:40.232 Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo, fltp, 192 kb/s 21:00:40.232 Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 192 kb/s 21:00:40.232 Stream mapping: 21:00:40.232 Stream #0:0 -> #0:0 (copy) 21:00:40.232 Stream #0:2 -> #0:1 (ac3 (native) -> mp3 (libmp3lame)) 21:00:40.232 Press [q] to stop, [?] for help 21:00:40.235 Output #0, segment, to '/Transcode/transcoding-temp/E9DAD4_%d.ts': 21:00:40.235 Metadata: 21:00:40.235 encoder : Lavf58.35.100 21:00:40.235 Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 720x536 [SAR 1:1 DAR 90:67], q=2-31, 999 kb/s, Level 41, 25 fps, 25 tbr, 90k tbn, 25 tbc 21:00:40.235 Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp, 192 kb/s (default) 21:00:40.235 Metadata: 21:00:40.235 encoder : Lavc58.62.100 libmp3lame 21:00:40.235 [segment @ 0x80ce82c00] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 21:00:40.236 [mpegts @ 0x80ce83800] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly 21:00:40.236 [mpegts @ 0x80ce83800] first pts value must be set 21:00:40.236 av_interleaved_write_frame(): Invalid data found when processing input 21:00:40.236 21:00:40.236 [mpegts @ 0x80ce83800] first pts value must be set 21:00:40.236 [segment @ 0x80ce82c00] Opening '/Transcode/transcoding-temp/E9DAD4.m3u8.tmp' for writing 21:00:40.236 SegmentComplete=video:0 Index=0 Start=0.000000 End=0.000000 Duration=0.000000 offset_pts=0 start_pts=0 Frames=2 filename=E9DAD4_0.ts 21:00:40.236 Error writing trailer of /Transcode/transcoding-temp/E9DAD4_%d.ts: Invalid data found when processing input 21:00:40.236 frame= 6 fps=0.0 q=-1.0 Lsize= 3kB time=00:00:00.20 bitrate=N/A throttle=off speed= 0x 21:00:40.236 video:2kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% Last message repeated 1 times 21:00:40.236 EXIT 21:00:40.237 Conversion failed! 21:00:40.237 Link to comment Share on other sites More sharing options...
maverickphillips 0 Posted June 22, 2020 Author Share Posted June 22, 2020 just updated the jail and emby server and the issue still follows Link to comment Share on other sites More sharing options...
Luke 36881 Posted July 1, 2020 Share Posted July 1, 2020 @maverickphillips can you please attach the complete emby server and ffmpeg log files from 4.4.3? Thanks ! Link to comment Share on other sites More sharing options...
maverickphillips 0 Posted July 2, 2020 Author Share Posted July 2, 2020 Please see attached log ffmpeg-remux-ea43bb7a-9aaa-49b2-bbfd-9da4bf5d2392_1.txt Link to comment Share on other sites More sharing options...
Luke 36881 Posted July 9, 2020 Share Posted July 9, 2020 @maverickphillips so is this only an issue with .avi files? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now