2023-09-15

FFMPEG Container ERROR Playback cannot continue. No available working or supported playlists [closed]

I tried to convert a mkv video to hls with a docker container, I get the error message "Playback cannot continue. No available working or supported playlists.". But when I did it without the docker container video.js could play it too, probably I forgot an important line? Docker code

docker run --rm \
  -v /mnt:/config \
  linuxserver/ffmpeg \
  -i /config/input.mkv \
  -c:v copy \
  -c:a copy \
  -sn \
  -f hls \
  -hls_list_size 0 \
  /config/homepage/assets/hls/videos/output.m3u8

Normal command

ffmpeg -i input.mkv -c:v h264 -master_pl_name master.m3u8 -hls_time 10 -hls_list_size 0 -f hls -map 0 -c:a aac -b:a 128k -strict -2 -vf "subtitles=input.mkv" -map a -map v -map s -var_stream_map "a:0,v:0,s:0 a:1,v:1 s:1" test/stream_%v.m3u8

The result of the docker format can not be played in the browser but with vlc, with the normal command it is the other way around, on the web page yes, vlc no. there is no need to look at the directory structure, it works. Is the Syntax right?



No comments:

Post a Comment