sindresorhus / Gifski

🌈 Convert videos to high-quality GIFs on your Mac
https://sindresorhus.com/gifski
MIT License
7.79k stars 295 forks source link

Gifski told me to file a bug: "The video file is not supported." #149

Closed chrismessina closed 4 years ago

chrismessina commented 5 years ago

AVAsset debug info

Extension: mp4 Video codec: H264 (avc1) Audio codec: nil Duration: 27s Dimension: 1152×720 Frame rate: 29.97 File size: 11.2 MB Is readable: true Is playable: false Is exportable: true Has protected content: false

Track #1

Type: Video Codec: H264 (avc1) Duration: 27s Dimensions: 1152×720 Natural size: (1152.0, 720.0) Frame rate: 29.97 Is playable: false Is decodable: false

tina-demo.mp4.zip

sindresorhus commented 5 years ago

Thanks for opening this issue! We've seen a lot of these in Crashlytics, but no one has bothered to actually open an issue until now 🎉 I'll look into it.

sindresorhus commented 5 years ago

How was the video encoded? What app did you use to export it?

sindresorhus commented 5 years ago

Debug info from MediaInfo:

General
Complete name                            : /Users/sindresorhus/Downloads/tina-demo.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 10.7 MiB
Duration                                 : 27s 294ms
Overall bit rate                         : 3 282 Kbps
Writing application                      : Lavf58.20.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 Predictive@L3.1
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 27s 294ms
Bit rate                                 : 3 281 Kbps
Width                                    : 1 152 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.132
Stream size                              : 10.7 MiB (100%)
Writing library                          : x264 core 148 r2643 5c65704
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=0 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=4 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0
Codec configuration box                  : avcC
sindresorhus commented 4 years ago

@chrismessina I'm gonna report this to Apple, but I need to know what app you used to produce the video file.

chrismessina commented 4 years ago

OMG... this was in Oct last year. That said, I believe I was attempting to convert this video to attach it to this post to Product Hunt.

sindresorhus commented 4 years ago

I have submitted feedback to Apple about this. Not much more we can do, unfortunately.