mp4mux: should add support for PSP ftyp
Submitted by an unknown user
Link to original bug (#660783)
Description
the Playstation portable uses its own ftyp for what is basically a mp42 file with some size/fps and codec limitations. List below of file information as provided by the mediainfo tool.
General
Complete name : PSPGO_FINAL.MP4
Format : MPEG-4
Format profile : Sony PSP
Codec ID : MSNV
File size : 32.6 MiB
Duration : 1mn 44s
Overall bit rate : 2 610 Kbps
Encoded date : UTC 2009-05-26 23:23:08
Tagged date : UTC 2009-05-26 23:23:08
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L2.1
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1mn 44s
Bit rate mode : Variable
Bit rate : 1 568 Kbps
Width : 480 pixels
Height : 270 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.404
Stream size : 19.6 MiB (60%)
Language : English
Encoded date : UTC 2009-05-26 23:23:08
Tagged date : UTC 2009-05-26 23:23:08
Color primaries : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Transfer characteristics : BT.601-6 525, BT.601-6 625, BT.1358 525, BT.1358 625, BT.1700 NTSC, SMPTE 170M
Matrix coefficients : BT.601-6 525, BT.1358 525, BT.1700 NTSC, SMPTE 170M
Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 1mn 44s
Bit rate mode : Variable
Bit rate : 128 Kbps
Maximum bit rate : 384 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 1.60 MiB (5%)
Language : English
Encoded date : UTC 2009-05-26 23:23:08
Tagged date : UTC 2009-05-26 23:23:08
Correct example file:
http://gstreamer.freedesktop.org/media/large/PSPGO_FINAL.MP4