redotvideo / revideo

Create Videos with Code
https://re.video
MIT License
2.58k stars 87 forks source link

Issue Rendering HLS Streams: ffprobe Receives Incorrect File Path #320

Closed Yidaotus closed 1 month ago

Yidaotus commented 1 month ago
error checking for audioStream for file /home/yidaotus/Projects/social-editor-mono/revideo/public/blob:http:/localhost:9000/73878f0e-bc44-4750-974c-06dd32960eea Error: ffprobe exited with code 1
ffprobe version N-66595-gc2b38619c0-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2023 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      58. 14.100 / 58. 14.100
  libavcodec     60. 22.100 / 60. 22.100
  libavformat    60. 10.100 / 60. 10.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9.  8.102 /  9.  8.102
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
/home/yidaotus/Projects/social-editor-mono/revideo/public/blob:http:/localhost:9000/73878f0e-bc44-4750-974c-06dd32960eea: No such file or directory

I'm attempting to render a project that loads an m3u8 file in the Video element. While the player itself functions correctly, it seems the video file is not being downloaded properly during rendering. The file path looks weird. I converted the HLS stream to an MP4 container, which works as expected. The debug output shows the video being downloaded, and the rendering is correct.

The project files simply yields a Video element with the m3u8 stream as the source.

Yidaotus commented 1 month ago

Seems fixed in ^0.10.1