[FFmpeg-trac] #3233(undetermined:new): PSP PMF audio

FFmpeg trac at avcodec.org
Fri Dec 22 06:13:38 EET 2017

#3233: PSP PMF audio
             Reporter:  cehoyos      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegps pmf   |               Resolution:
  atrac3 atrac3p videolan            |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by misty):

 I noticed that the original patch in this ticket fails on parsing MPS
 files, which is a related format also used on the PSP. MPS files are MPEG
 files used on PSP Video discs. They lack the PSMF header used by .pms
 files, and so the special casing in the original patch fails to support
 their audio. I've attached a patch that fixes this by unconditionally
 reading a new byte for the `startcode` for `PRIVATE_STREAM_1` sections,
 and doing the comparison on that to find ATRAC-3 streams. In my testing,
 it works fine for both MPS and PSMF files.

 Is there anything else that devs would like to see before these patches
 can be accepted?

Ticket URL: <https://trac.ffmpeg.org/ticket/3233#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list