lbryio / spee.ch

An image hosting service on top of the LBRY protocol.
https://spee.ch
MIT License
186 stars 77 forks source link

If the `ffmpeg` module fails, an invalid `file` entry is inserted and claim insertion is invalid (`NaN` for height) #576

Open skhameneh opened 6 years ago

skhameneh commented 6 years ago
  1. Errors on ffmpeg go uncaught.
  2. Uncaught errors create invalid artifacts.
tzarebczan commented 6 years ago

Running into the below sometimes when loading new videos. We should consider fixing this soon.

Unfortunately, we couldn't download your asset from LBRY. You can help us out by sharing the following error message in the LBRY discord.

Command failed: ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width /home/lbry/Downloads/blockwolf-cryptocandor-hashoshi-crypto-zombie-live-stream-cryptocurrency-chat-btc-eth-xrp.mp4 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1ebcd80] moov atom not found /home/lbry/Downloads/blockwolf-cryptocandor-hashoshi-crypto-zombie-live-stream-cryptocurrency-chat-btc-eth-xrp.mp4: Invalid data found when processing input
tzarebczan commented 6 years ago

Broke out into https://github.com/lbryio/spee.ch/issues/626