stheid/tripper

ffprobe does not work on odroid xu4

Closed this issue · 1 comments

ffprobe fails with an encoding error:
image

some ideas how to work around that issue:

  • get a more recent docker-arm image and try the code there, with hopefully a newer ffmpeg version
  • use console version of youtube-dl with --get-url to check if the final video url contains the string "geoblock", because the cdn that we get redirected to is called similarly for the orf. Thats however a very fragile fix.

The main problem is, that ffprobe is currently used to detect the filesize and duration of the video file. This in turn is used to determine if a the filesize is realistic. This can detect download issues such as geoprotection where we would only download a small video that informs about the geoprotection.

All in all this issue only appears on the ubuntu 18.04 on my XU4. The code works properly on a normal machine.

another idea is to use youtube-dl over the console with a timeout and parse its outputs. I know of now way to get this information programmably. when installed via pip (and it is a dependency) it is also available as a console script.