0

I have PCM audio which has frame rate of 199.964 FPS (240 SPF). When I convert it to AC3 the frame rate changes to 31.250 FPS (1536 SPF). This causes sync issues and I dont want to convert the video again. So is it possible to change the audio frame rate separately.

Command used to convert to AC3:

ffmpeg -i out.wav -c:a ac3 -b:a 448k out.ac3

Original audio info:

Format : PCM
Format settings : Little / Signed
Codec ID : A_PCM/INT/LIT
Duration : 2 h 18 min
Bit rate mode : Constant
Bit rate : 1 536 kb/s
Channel(s) : 2 channels
Sampling rate : 48.0 kHz
Frame rate : 199.964 FPS (240 SPF)
Bit depth : 16 bits

Converted audio info:

Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Duration : 2 h 18 min
Bit rate mode : Constant
Bit rate : 448 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Giacomo1968
  • 58,727
paperskyline
  • 111
  • 4

1 Answers1

0

In case you were still looking for a solution, I posted this answer to my own similar question, which I received from another post:

ffmpeg -i input.mp4 -c:v copy -c:a ac3 output.mp4
Giacomo1968
  • 58,727
kronus
  • 111