petrkotek / chromecastize

Bash script to convert video files into Google Chromecast supported format.
MIT License
178 stars 34 forks source link

Processing stops when mediainfo returns an error for a file #45

Open pfrenssen opened 5 years ago

pfrenssen commented 5 years ago

I am trying to process a large number of files on my NAS. It appears that some files cannot be parsed successfully by mediainfo and return an error code. When this happens I get the following message, and the process aborts:

'' is an unknown codec. Please add it to the list in a CONFIG section.

We could check the exit status of mediainfo and skip the file if it returns an error. In order to better inform the user which files were skipped we could maintain a log file.

ghost commented 5 years ago

I second this issue as the primary blocker for using it:

general: MPEG-4 -> ok

  • input video profile: High@L4.1
  • video: AVC -> copy
  • audio: AAC -> copy
  • file should be playable by Chromecast!

    Processing: ./Gravity [2013].mp4 '' is an unknown codec. Please add it to the list in a CONFIG section. pi@PiFace:/

solrevdev commented 3 years ago

Getting same error (macOS):

Processing: ./file-upload-test-v2.mp4
- general: MPEG-4 -> ok
- input video profile: High@L4.2
- video: AVC -> copy
'' is an unknown codec. Please add it to the list in a CONFIG section.