On 19-12-2018 09:51 AM, Chris wrote:
The original audio is:

ID                                       : 2
Format                                   : PCM
Format settings                          : Big / Signed
Codec ID                                 : twos
Duration                                 : 1 min 42 s
Bit rate mode                            : Constant
Bit rate                                 : 1 536 kb/s
Channel(s)                               : 2 channels
Sampling rate                            : 48.0 kHz
Bit depth                                : 16 bits

This is writing invalid files. mp4 does not allow pcm_s16be.
That is the audio ffmpeg is being told to copy. In v 4.0 it successfully copies 
the audio which can then be played back.

In v 4.1 it does not copy the audio but rather throws errors.
Changed by commit 4cfb01d6ae5 : lavf/movenc: Fail when codec tag is invalid for format

FWIW, PCM audio isn't allowed in MP4, only MOV, see http://mp4ra.org/#/codecs
It was a regression in ffmpeg 3.4 - 40 that allowed this.

Gyan
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to