What difference between these files might make YouTube accept one and not the other?
Each is about 100KB or 150KB. Each of the two are one second long so are small easy to download and quick to test or fiddle with.
c_good.mp4 http://ge.tt/1ia9sWv2 (uploads)
c_bad.mp4 http://ge.tt/79FFvWv2 (does not upload)
The one that fails to upload, YouTube says "The video has failed to process. Please make sure you are uploading a supported file type."
E:\bigmoved2\22\editing\old\problem>mediainfo c_good.mp4
General
Complete name : c_good.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 143 KiB
Duration : 1s 3ms
Overall bit rate mode : Variable
Overall bit rate : 1 166 Kbps
Writing application : Lavf58.3.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.1
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1s 2ms
Bit rate : 963 Kbps
Width : 854 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.078
Stream size : 118 KiB (82%)
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1s 3ms
Bit rate mode : Variable
Bit rate : 187 Kbps
Maximum bit rate : 195 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 22.9 KiB (16%)
E:\bigmoved2\22\editing\old\problem>
E:\bigmoved2\22\editing\old\problem>mediainfo c_bad.mp4
General
Complete name : c_bad.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 97.7 KiB
Duration : 1s 22ms
Overall bit rate mode : Variable
Overall bit rate : 783 Kbps
Writing application : Lavf58.3.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.0
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1s 4ms
Bit rate : 651 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.900 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.071
Stream size : 79.7 KiB (82%)
Writing library : x264 core 152 r2851 ba24899
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 /
analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 /
is=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 /
lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / blu
trained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 /
open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh
0 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40
/ aq=1:1.00
Language : English
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1s 22ms
Bit rate mode : Variable
Bit rate : 125 Kbps
Maximum bit rate : 128 Kbps
Channel count : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 67ms
Stream size : 15.6 KiB (16%)
Language : English
E:\bigmoved2\22\editing\old\problem>
This link may help - https://support.google.com/youtube/answer/1722171 - as it mentions recommended encoding settings. Though i'm not sure what difference is making or breaking it.
Maybe if I was very good on ffmpeg I could know what to fiddle with to figure it out, but I'm not.
ffmpeg -i c_bad.mp4 -vcodec libx264 -x264-params crf=23:bframes=2 zz.mp4
(I adapted the command from the command here superuser.com/questions/996949/… ) I didmediainfo zz.mp4
I see from the output of mediainfo that bframes=2 And when I try to upload zz.mp4 to youtube, I still get the failed error."cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / is=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / blu trained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecu ..."