WyattBlue / auto-editor

Auto-Editor: Efficient media analysis and rendering
https://auto-editor.com
The Unlicense
2.86k stars 418 forks source link

Error! Unable to parse option value "bt470bg" #452

Closed salimbenfarhat closed 6 months ago

salimbenfarhat commented 6 months ago

Bug description

Hello. When I run the following command on Google Colab I get this error : "Error! Unable to parse option value "bt470bg"

What's your platform?

Python Version: 3.10.12 64-bit
Platform: Linux 6.1.58+ x86_64
FFmpeg Version: 4.4.2-0ubuntu0.22.04.1
FFmpeg Path: /usr/bin/ffmpeg
Auto-Editor Version: 24w09a

What command did you use

!auto-editor "/content/drive/MyDrive/Colab Notebooks/VID.mp4" --margin 0.2sec

What properties does your input video have?

!auto-editor info "/content/drive/MyDrive/Colab Notebooks/VID.mp4"

/content/drive/MyDrive/Colab Notebooks/VID.mp4:
 - video:
   - track 0:
     - codec: h264
     - fps: 1504500000/50147099
     - resolution: 1080x1920
     - aspect ratio: 9:16
     - pixel aspect ratio: 1
     - duration: 100.294198
     - pix fmt: yuv420p
     - color range: tv
     - color space: bt470bg
     - color primaries: smpte170m
     - color transfer: bt470bg
     - timebase: 1/1000000
     - bitrate: 12567502
     - lang: und
 - audio:
   - track 0:
     - codec: aac
     - samplerate: 44100
     - channels: 2
     - duration: 100.21700680272109
     - bitrate: 223701
     - lang: und
 - container:
   - duration: 100.310198
   - bitrate: 12797712

!ffmpeg -hide_banner -i "/content/drive/MyDrive/Colab Notebooks/VID.mp4"

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/content/drive/MyDrive/Colab Notebooks/VID.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : bytevehwavc
  Duration: 00:01:40.30, start: 0.000000, bitrate: 12799 kb/s
  Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt470bg/bt470bg/smpte170m), 1080x1920, 12567 kb/s, 30 fps, 30 tbr, 1000k tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 223 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
At least one output file must be specified

Comments

No response

salimbenfarhat commented 6 months ago

fixed here #417