2022-03-11, 04:05 PM
Hello,
I am using NextPVR to record IPTV streams. Some streams, although correctly recorded, fail to playback in the browser.
log:
Executing: ffmpeg -y -i file:"path/file.ts" -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0? -map 0:a:0 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vf yadif=0:-1:0 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -c dvbsub -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -hls_time 5 -start_number 0 -hls_list_size 0 -y "/var/opt/nextpvr/web/temp/blabla-de791f6502164ece95104b9d27e784a8.m3u8"
...
2022-03-11 16:45:37.524 [DEBUG][61] [FFMPEG]: [mpegts @ 0x557ba6a12d40] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
2022-03-11 16:45:37.524 [DEBUG][61] [FFMPEG]: Consider increasing the value for the 'analyzeduration' and 'probesize' options
PS: I anonymized some values...
Question: can I change some setting so that ffmpeg will work with option "-probesize 512000" for example? Default ffmpeg probesize is too short for my source files...
Regards and thanks for this great piece of software!
Tux
I am using NextPVR to record IPTV streams. Some streams, although correctly recorded, fail to playback in the browser.
log:
Executing: ffmpeg -y -i file:"path/file.ts" -map_metadata -1 -threads 0 -ignore_unknown -map 0:v:0? -map 0:a:0 -map -0 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -vf yadif=0:-1:0 -b:v 2000000 -maxrate 2000000 -bufsize 4000000 -vsync vfr -profile:v high -level 41 -force_key_frames "expr:gte(t,n_forced*3)" -s 1280x720 -c dvbsub -flags -global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -hls_time 5 -start_number 0 -hls_list_size 0 -y "/var/opt/nextpvr/web/temp/blabla-de791f6502164ece95104b9d27e784a8.m3u8"
...
2022-03-11 16:45:37.524 [DEBUG][61] [FFMPEG]: [mpegts @ 0x557ba6a12d40] Could not find codec parameters for stream 0 (Video: h264 ([27][0][0][0] / 0x001B), none): unspecified size
2022-03-11 16:45:37.524 [DEBUG][61] [FFMPEG]: Consider increasing the value for the 'analyzeduration' and 'probesize' options
PS: I anonymized some values...
Question: can I change some setting so that ffmpeg will work with option "-probesize 512000" for example? Default ffmpeg probesize is too short for my source files...
Regards and thanks for this great piece of software!
Tux