Transcoding Errors?
-
Hi all. I have Owncast running in a shared Cloudron environment 10 other deployed apps. The server itself is housed on a Dedicated CPU Linode instance with 8gb of RAM.
When I start sending data to my server, Cloudron logs spit out the following:
Nov 28 14:38:33 INFO[2022-11-28T19:38:33Z] Video transcoder started using x264 with 2 stream variants. Nov 28 14:45:52 INFO[2022-11-28T19:45:52Z] Inbound stream connected. Nov 28 14:45:52 INFO[2022-11-28T19:45:52Z] Video transcoder started using x264 with 2 stream variants. Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [NULL @ 0x5f31040] No start code is found. Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [NULL @ 0x5f31040] missing picture in access unit with size 323 Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [h264 @ 0x5f31040] missing picture in access unit with size 423 Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:53 ERRO[2022-11-28T19:45:53Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] missing picture in access unit with size 1240 Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] missing picture in access unit with size 758 Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] missing picture in access unit with size 881 Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] missing picture in access unit with size 287 Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] missing picture in access unit with size 310 Nov 28 14:45:54 ERRO[2022-11-28T19:45:54Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] missing picture in access unit with size 347 Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] missing picture in access unit with size 924 Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] missing picture in access unit with size 957 Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] missing picture in access unit with size 435 Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] missing picture in access unit with size 1174 Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:55 ERRO[2022-11-28T19:45:55Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] missing picture in access unit with size 416 Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] missing picture in access unit with size 342 Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] non-existing PPS 1 referenced Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] missing picture in access unit with size 889 Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] missing picture in access unit with size 415 Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] missing picture in access unit with size 474 Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:56 ERRO[2022-11-28T19:45:56Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] missing picture in access unit with size 633 Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] missing picture in access unit with size 524 Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] missing picture in access unit with size 657 Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:57 ERRO[2022-11-28T19:45:57Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] missing picture in access unit with size 724 Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] missing picture in access unit with size 344 Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] missing picture in access unit with size 556 Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] missing picture in access unit with size 281 Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] missing picture in access unit with size 313 Nov 28 14:45:58 ERRO[2022-11-28T19:45:58Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 1021 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 1020 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 511 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] no frame! Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 699 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 529 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] sps_id 4 out of range Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] missing picture in access unit with size 300 Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] sps_id 4 out of range Nov 28 14:45:59 ERRO[2022-11-28T19:45:59Z] [h264 @ 0x5f31040] no frame! Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] missing picture in access unit with size 908 Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] missing picture in access unit with size 602 Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] missing picture in access unit with size 825 Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:00 ERRO[2022-11-28T19:46:00Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] non-existing PPS 32 referenced Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] no frame! Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 1116 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 951 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 385 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] no frame! Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 413 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] no frame! Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 760 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] missing picture in access unit with size 647 Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:01 ERRO[2022-11-28T19:46:01Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] missing picture in access unit with size 890 Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] No start code is found. Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] Error splitting the input into NAL units. Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] missing picture in access unit with size 417 Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] Invalid NAL unit 0, skipping. Nov 28 14:46:02 ERRO[2022-11-28T19:46:02Z] [h264 @ 0x5f31040] no frame!
Then, when the stream stops, the following results:
Nov 28 14:46:05 ERRO[2022-11-28T19:46:05Z] Cannot determine format of input stream 0:1 after EOF Nov 28 14:46:05 ERRO[2022-11-28T19:46:05Z] Error marking filters as finished Nov 28 14:46:05 ERRO[2022-11-28T19:46:05Z] transcoding error. look at data/logs/transcoder.log to help debug. your copy of ffmpeg may not support your selected codec of libx264 https://owncast.online/docs/codecs/
Has anyone seen this problem before? I am a bit confused — the same settings work fine when Owncast is deployed by itself via the pull script on a VPS.
-
@nebulon Hey Nebulon, thanks for your reply. Here's the content of my
transcoder.log
file:ffmpeg started on 2022-11-28 at 19:51:05 Report written to "data/logs/transcoder.log" Log level: 32 Command line: /tmp/ffmpeg -hide_banner -loglevel warning -fflags +genpts -i ./data/tmp/offline.ts289961991 -map v:0 -c:v:0 libx264 -b:v:0 608k -maxrate:v:0 656k -g:v:0 120 -keyint_min:v:0 120 -r:v:0 24 -x264-params:v:0 "scenecut=0:open_gop=0" -bufsize:v:0 656k -profile:v:0 high -map "a:0?" -c:a:0 copy -sws_flags bilinear -filter:v:0 "scale=1920:1080" -preset faster -map v:0 -c:v:1 libx264 -b:v:1 408k -maxrate:v:1 440k -g:v:1 120 -keyint_min:v:1 120 -r:v:1 24 -x264-params:v:1 "scenecut=0:open_gop=0" -bufsize:v:1 440k -profile:v:1 high -map "a:0?" -c:a:1 copy -preset superfast -var_stream_map "v:0,a:0 v:1,a:1 " -f hls -hls_time 5 -hls_list_size 5 -hls_flags program_date_time+independent_segments -hls_playlist_type event -segment_format_options "mpegts_flags=mpegts_copyts=1" -tune zerolatency -pix_fmt yuv420p -sc_threshold 0 -master_pl_name stream.m3u8 -hls_segment_filename "http://127.0.0.1:45199/%v/stream-offline-%d.ts" -max_muxing_queue_size 400 -method PUT "http://127.0.0.1:45199/%v/stream.m3u8" Input #0, mpegts, from './data/tmp/offline.ts289961991': Duration: 00:00:08.09, start: 1.439333, bitrate: 1135 kb/s Program 1 Metadata: service_name : Owncast Offline service_provider: FFmpeg Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], 24 fps, 24 tbr, 90k tbn Stream #0:1[0x101](eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 113 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (copy) Stream #0:0 -> #0:2 (h264 (native) -> h264 (libx264)) Stream #0:1 -> #0:3 (copy) Press [q] to stop, [?] for help [libx264 @ 0x5f29fc0] using SAR=1281/1280 [libx264 @ 0x5f29fc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x5f29fc0] profile High, level 4.0, 4:2:0, 8-bit [libx264 @ 0x5f29fc0] 264 - core 164 r3098 7628a56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=120 keyint_min=61 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=abr mbtree=0 bitrate=608 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=656 vbv_bufsize=656 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 [libx264 @ 0x5e08b00] using SAR=1/1 [libx264 @ 0x5e08b00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [libx264 @ 0x5e08b00] profile High, level 3.0, 4:2:0, 8-bit [libx264 @ 0x5e08b00] 264 - core 164 r3098 7628a56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x3 me=dia subme=1 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=4 lookahead_threads=4 sliced_threads=1 slices=4 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=1 keyint=120 keyint_min=61 scenecut=0 intra_refresh=0 rc_lookahead=0 rc=abr mbtree=0 bitrate=408 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=440 vbv_bufsize=440 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 Output #0, hls, to 'http://127.0.0.1:45199/%v/stream.m3u8': Metadata: encoder : Lavf59.27.100 Stream #0:0: Video: h264, yuv420p(tv, progressive), 1920x1080 [SAR 1281:1280 DAR 427:240], q=2-31, 608 kb/s, 24 fps, 90k tbn (default) Metadata: encoder : Lavc59.37.100 libx264 Side data: cpb: bitrate max/min/avg: 656000/0/608000 buffer size: 656000 vbv_delay: N/A Stream #0:1(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 113 kb/s (default) Stream #0:2: Video: h264, yuv420p(progressive), 854x480 [SAR 1:1 DAR 427:240], q=2-31, 408 kb/s, 24 fps, 90k tbn Metadata: encoder : Lavc59.37.100 libx264 Side data: cpb: bitrate max/min/avg: 440000/0/408000 buffer size: 440000 vbv_delay: N/A Stream #0:3(eng): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 113 kb/s frame= 2 fps=0.0 q=39.0 q=30.0 size=N/A time=00:00:00.08 bitrate=N/A dup=2 drop=0 speed=25.9x frame= 52 fps=0.0 q=23.0 q=17.0 size=N/A time=00:00:02.26 bitrate=N/A dup=2 drop=0 speed=4.45x frame= 105 fps=103 q=27.0 q=20.0 size=N/A time=00:00:04.52 bitrate=N/A dup=2 drop=0 speed=4.45x [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/0/stream-offline-0.ts' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/0/stream.m3u8' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/1/stream-offline-0.ts' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/1/stream.m3u8' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/stream.m3u8' for writing frame= 178 fps=117 q=16.0 q=9.0 size=N/A time=00:00:07.46 bitrate=N/A dup=2 drop=0 speed=4.91x [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/0/stream-offline-1.ts' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/0/stream.m3u8' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/1/stream-offline-1.ts' for writing [hls @ 0x5f20840] Opening 'http://127.0.0.1:45199/1/stream.m3u8' for writing frame= 194 fps=118 q=15.0 Lq=8.0 size=N/A time=00:00:08.10 bitrate=N/A dup=2 drop=0 speed=4.94x video:751kB audio:227kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 0x5f29fc0] frame I:2 Avg QP:17.64 size: 9194 [libx264 @ 0x5f29fc0] frame P:192 Avg QP:14.66 size: 2311 [libx264 @ 0x5f29fc0] mb I I16..4: 89.9% 7.3% 2.8% [libx264 @ 0x5f29fc0] mb P I16..4: 5.3% 1.0% 0.0% P16..4: 5.6% 0.0% 0.0% 0.0% 0.0% skip:88.1% [libx264 @ 0x5f29fc0] 8x8 transform intra:14.9% inter:15.1% [libx264 @ 0x5f29fc0] coded y,uvDC,uvAC intra: 4.9% 18.3% 9.1% inter: 0.4% 1.6% 0.1% [libx264 @ 0x5f29fc0] i16 v,h,dc,p: 91% 4% 3% 2% [libx264 @ 0x5f29fc0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 12% 31% 6% 10% 9% 8% 5% 4% [libx264 @ 0x5f29fc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 20% 25% 4% 4% 5% 5% 5% 5% [libx264 @ 0x5f29fc0] i8c dc,h,v,p: 78% 9% 9% 5% [libx264 @ 0x5f29fc0] Weighted P-Frames: Y:1.0% UV:0.5% [libx264 @ 0x5f29fc0] kb/s:457.33 [libx264 @ 0x5e08b00] frame I:2 Avg QP:10.84 size: 6722 [libx264 @ 0x5e08b00] frame P:192 Avg QP: 9.88 size: 1521 [libx264 @ 0x5e08b00] mb I I16..4: 85.3% 5.6% 9.1% [libx264 @ 0x5e08b00] mb P I16..4: 9.6% 0.5% 0.1% P16..4: 11.5% 0.0% 0.0% 0.0% 0.0% skip:78.3% [libx264 @ 0x5e08b00] 8x8 transform intra:4.7% inter:5.5% [libx264 @ 0x5e08b00] coded y,uvDC,uvAC intra: 4.6% 10.8% 8.4% inter: 3.0% 3.6% 1.0% [libx264 @ 0x5e08b00] i16 v,h,dc,p: 93% 2% 3% 1% [libx264 @ 0x5e08b00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 12% 32% 6% 9% 10% 7% 4% 5% [libx264 @ 0x5e08b00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 22% 25% 4% 5% 4% 4% 4% 4% [libx264 @ 0x5e08b00] i8c dc,h,v,p: 88% 4% 5% 3% [libx264 @ 0x5e08b00] Weighted P-Frames: Y:0.5% UV:0.5% [libx264 @ 0x5e08b00] kb/s:302.40
-
Also, here is the tail from
owncast.log
:time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x630e880] Invalid NAL unit 0, skipping." time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x630e880] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x63dd740] Invalid NAL unit 0, skipping." time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x63dd740] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x5f528c0] slice type 32 too large at 9" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x5f528c0] decode_slice_header error" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x5f528c0] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x5f75240] Invalid NAL unit 0, skipping." time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x5f75240] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x623fc00] slice type 32 too large at 2" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x623fc00] decode_slice_header error" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x623fc00] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="[h264 @ 0x630e880] no frame!" time="2022-11-28T19:46:05Z" level=error msg="Error while decoding stream #0:1: Invalid data found when processing input" time="2022-11-28T19:46:05Z" level=error msg="Cannot determine format of input stream 0:1 after EOF" time="2022-11-28T19:46:05Z" level=error msg="Error marking filters as finished" time="2022-11-28T19:46:05Z" level=error msg="transcoding error. look at data/logs/transcoder.log to help debug. your copy of ffmpeg may not support your selected codec of libx264 https://owncast.online/docs/codecs/" time="2022-11-28T19:51:05Z" level=info msg="Video transcoder started using x264 with 2 stream variants."
-
thanks for the logs, unfortunately I can't make out much of those now. But I am neither a codec nor owncast expert. Maybe you could ask the upstream project about this as well as currently I wouldn't even know where to look in our package to make it work
Or since you mentioned, that you have a working instance, are there any logs to compare both and maybe then detect some mismatch from the logs?
-
-
@nebulon thanks for your effort anyway.
Just for anyone else, I thought maybe this was an issue with memory allotment making transcoding trip up, but I tried resizing the RAM of my VPS instance as well as the app within Cloudron — no dice. Didn't seem to be an issue that was solveable by switching to another encoder preset.