The audio of an FFmpeg converted mov file works in VLC but fails in Adobe Premiere cs5

1

I use this line to convert the mov file (Mark II 5D footage) to 720p:

ffmpeg -i source.mov -s 1280x728 -vf crop=1280:720:0:0 -sameq -acodec copy dest_file.mov

When I drag the result file to premiere, I can only hear the first 17 frames of audio. It's the correct audio, but I don't know why premiere thinks the rest is silence. The result file plays well in CS3 and VLC.

This is the source file in MediaInfo:

General
Complete name                    : E:\Stuff\TopLessProductions\Testing2011\Raw\MVI_9019.MOV
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 173 MiB
Duration                         : 31s 800ms
Overall bit rate                 : 45.5 Mbps
Encoded date                     : UTC 2010-06-17 09:24:40
Tagged date                      : UTC 2010-06-17 09:24:40

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : Baseline@L5.0
Format settings, CABAC           : No
Format settings, ReFrames        : 1 frame
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 31s 800ms
Bit rate mode                    : Variable
Bit rate                         : 44.0 Mbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Original height                  : 1 088 pixels
Display aspect ratio             : 16:9
Original display aspect ratio    : 16:9
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.849
Stream size                      : 167 MiB (97%)
Language                         : English
Encoded date                     : UTC 2010-06-17 09:24:40
Tagged date                      : UTC 2010-06-17 09:24:40
Color primaries                  : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics         : BT.709-5, BT.1361
Matrix coefficients              : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M

Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : sowt
Duration                         : 31s 800ms
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 5.82 MiB (3%)
Language                         : English
Encoded date                     : UTC 2010-06-17 09:24:40
Tagged date                      : UTC 2010-06-17 09:24:40

This is the result file in MediaInfo:

General
Complete name                    : E:\Stuff\TopLessProductions\Testing2011\Resized\brMVI_9019.MOV
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt  
File size                        : 47.7 MiB
Duration                         : 31s 800ms
Overall bit rate                 : 12.6 Mbps
Writing application              : Lavf53.1.0

Video
ID                               : 1
Format                           : MPEG-4 Visual
Format profile                   : Simple@L1
Format settings, BVOP            : No
Format settings, QPel            : No
Format settings, GMC             : No warppoints
Format settings, Matrix          : Default (H.263)
Codec ID                         : 20
Duration                         : 31s 800ms
Bit rate mode                    : Constant
Bit rate                         : 11.1 Mbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Compression mode                 : Lossy
Bits/(Pixel*Frame)               : 0.480
Stream size                      : 41.9 MiB (88%)
Writing library                  : Lavc53.6.0
Language                         : English

Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : sowt
Duration                         : 31s 800ms
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 5.82 MiB (12%)
Language                         : English

Anybody have an idea what to do? A workaround for me was to avoid "-acodec copy" and use:

-ab 256k

Which means aac. But I wonder if there's a real solution or an idea as to why Premiere is acting up, or how to analyze the difference between the 2 audio streams metadata.

ubershmekel

Posted 2011-05-21T18:58:22.837

Reputation: 123

Answers

0

You've actually changed the video codec metadata as well, but I don't think that's your issue. I'm not well versed in Premiere but it's probably not expecting PCM in a MOV container. Googling tells me Premiere doesn't support MKV, so it might be worth demuxing the file and importing the video and audio separately. If you're not worried about audio quality loss, keep your video settings the same but change the audio codec to aac with a recent (2016) version of ffmpeg and use mp4 as the container. See https://trac.ffmpeg.org/wiki/Encode/AAC#NativeFFmpegAACencoder.

Adam Baxter

Posted 2011-05-21T18:58:22.837

Reputation: 196

Many cameras record to PCM in MOV, like the Canon 5D series, and Premiere works with those. – Gyan – 2016-09-18T05:42:12.280

0

Why don't you just use Premiere to convert it to 720p? Seems that it is incompatible with ffmpeg...

Tamara Wijsman

Posted 2011-05-21T18:58:22.837

Reputation: 54 163

I'm using ffmpeg to batch convert a large amount of videos and extract the audio at the same time. The strange thing is it worked great in all previous versions of premiere. – ubershmekel – 2011-05-22T20:41:25.683

@ubershmekel: Ah, you could try to see if other options for ffmpeg help you then or something, I don't know enough of it to help you further. Incompatibility is a bad thing, but it happens... :( – Tamara Wijsman – 2011-05-22T20:46:59.477