Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Sony AVC sample
as some might already know Sony's PSP supports AVC playback
now it seems that this doesnt work from .mp4 (as for AAC and MPEG-4 part2 video from the Memory Stick), but from the ".pmf" format the .pmf format seemed to be a proprieatary container developed by sony, but now showed itself to be simply .mpg (mpeg-ps) therefore if you wanna have a look at an avc stream from sony 1) grab the following pmf sample file 2) extract the video from it with mplayer via Code:
mplayer -dumpvideo -dumpfile raw.264 icon1.pmf the stream (300 frames) uses CABAC, Access Unit Delimiters (as mandatory for .mpg files), no B-Frames, no Deblocking, and no multiple reference frames the stream is full of buffering_period and pic_timing SEI, which maybe should make the decoding easier? the stream seems to be problematic because it uses different PPS every keyframe (pic_init_qp_minus26 changes in every PPS), which can bork at least the libavcodec/ffmpeg decoder (as used in videolan, mplayer or ffdshow) when placing the stream in .mp4 (with either mp4box or mp4creator) is it allowed to have varying PPS every keyframe?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
|
|
|
|
#3 | Link |
|
Registered User
Join Date: Feb 2002
Posts: 63
|
JohnV,
I attempted to play a .pmf from the memory stick but it wasn't recognized. I'm assuming this is something UMD only. I'm really starting to think the UMD's have an AVC playback app that runs. I doubt there's anything more than MPEG4 SP support in the OS. This is just a guess right now, but maybe more can be found when they start looking at the UMD movie file dumps. |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: May 2002
Posts: 308
|
That sample doesn't contain a PSM, that is needed to qualify the codec
used (AVC in this case), missing which the default is MPEG2, so mplayer/vlc/tcvp can't play the samples unless you dump video. Do you have any other sample? It's ironic that the directory is called PSMC ![]() I could fix mplayer's demuxer with a specific parameter, but it would be really bad. Someone should warn Sony to implement the standard properly, not only part of it. |
|
|
|
|
|
#5 | Link | |||
|
Registered User
Join Date: Nov 2001
Posts: 9,770
|
Quote:
Quote:
Quote:
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free Last edited by bond; 8th May 2005 at 11:28. |
|||
|
|
|
|
|
#6 | Link |
|
Registered User
Join Date: May 2002
Posts: 308
|
thanks for those samples.
There are funny, bad and mysterious things: - the video stream doesn't seems to contain VUI messages and/or framerate informations (so you have to specify -fps xx when playing the stream with mplayer) - audio is stored as private1 stream with substream id = 0; from the dump I couldn't identify the format/codec used, but I have the feeling (I'm afraid) it is AAC in raw payload format (without ADTS headers); in this case it's next to impossible to decode if you don't identify the configurator - there is a private2 stream that contains hundred of bytes every now and then; to me it seems way too long to contain AAC headers Do you know anything more precise or a link to a specification? |
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: Nov 2001
Posts: 9,770
|
the audio is sony's proprieatary atrac3 format pretty sure
is it stored correctly as "private stream"?
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
|
|
|
|
|
#9 | Link | |
|
Digigami
Join Date: Jul 2005
Location: Los Angeles, CA
Posts: 182
|
Quote:
__________________
Digigami MoviesForMyPod MPEG-4 H.264 iPod Converter - Popular, free, easy. MegaPEG MPEG-2 Encoder - Like Rodney Dangerfield, gets no respect (except from customers). MPressionist MPEG-2 Analyzer - no problems with this one, everybody likes it, including me. Last edited by digigami; 15th January 2006 at 08:58. |
|
|
|
|
|
|
#11 | Link | |
|
Digigami
Join Date: Jul 2005
Location: Los Angeles, CA
Posts: 182
|
http://www.maxconsole.net/?mode=news&newsid=7679
Quote:
__________________
Digigami MoviesForMyPod MPEG-4 H.264 iPod Converter - Popular, free, easy. MegaPEG MPEG-2 Encoder - Like Rodney Dangerfield, gets no respect (except from customers). MPressionist MPEG-2 Analyzer - no problems with this one, everybody likes it, including me. |
|
|
|
|
![]() |
|
|