@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