#10540: Some Meridian Lossless Packing encoded files have excess samples
--------------------------------+-----------------------------------
             Reporter:  MGislv  |                    Owner:  (none)
                 Type:  defect  |                   Status:  open
             Priority:  normal  |                Component:  avcodec
              Version:          |               Resolution:
             Keywords:  mlp     |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+-----------------------------------
Comment (by Balling):

 Well, the reason is obvious. 44.1 kHz sampling rate has 1 102.500 FPS (40
 SPF, samples per frame). And indeed: 308720 is perfectly divided by 40,
 while 308700 is not. This is where shorten_by should be applied and it
 should remove those 20 samples. As for 10s-sine.wav​ it has 441000
 samples. That is also perfect divide. Same for sample from #4786.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10540#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to