kenthinson / Convert-To-HEVC

Bash Script to automate converting media to HEVC.
MIT License
1 stars 0 forks source link

Enter command #1

Open alst74 opened 6 years ago

alst74 commented 6 years ago

Script stopped on a file waiting for "input". See below "Enter command". Not sure if it's from ffmpeg or from exiftool.

Output #0, matroska, to '/folder/101288-720p-hevc.mkv':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf56.40.101
    Stream #0:0(eng): Video: hevc (libx265), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 1k tbn, 30 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      encoder         : Lavc56.60.100 libx265
    Stream #0:1(eng): Audio: aac ([255][0][0][0] / 0x00FF), 44100 Hz, stereo, 107 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 6997 fps= 19 q=-0.0 size=   49344kB time=00:03:53.31 bitrate=1732.5kbits/s
Enter command: <target>|all <time>|-1 <command>[ <argument>]

Parse error, at least 3 arguments were expected, only 1 given in string ?
frame= 7373 fps=6.1 q=-0.0 size=   51289kB time=00:04:05.85 bitrate=1709.0kbits/s
alst74 commented 6 years ago

Seems to be filenames. Probably because of space etc in the filenames.

Similar: https://unix.stackexchange.com/questions/36310/strange-errors-when-using-ffmpeg-in-a-loop