petrkotek/chromecastize

Processing stops when mediainfo returns an error for a file

pfrenssen opened this issue · 2 comments

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.

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:/

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.