any commands I can do to make file A more like file B?

Questions involving a Windows version of FFmpeg.
Post Reply
garip5
Posts: 4
Joined: Mon Sep 26, 2011 11:16 pm

any commands I can do to make file A more like file B?

Post by garip5 » Fri Apr 12, 2019 2:46 am

any commands ican do to make file A more like file B?

I have these two files, each one second long, the same video, but one uploads to youtube and one doesn't.

One gives an error

The other uploads fine

I'm interested in using ffmpeg to try to change one into the other, to try to figure out what it is that makes the difference.

But I don't know ffmpeg well enough to have ideas of what to try.

So, 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."

Code: Select all

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                           : [email protected]
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                           : [email protected]
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>
Thanks

Post Reply
'