Decode mp4(avc) problem with sound

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
rafgra2
Posts: 3
Joined: Sat Nov 01, 2008 4:02 am

Decode mp4(avc) problem with sound

Post by rafgra2 »

Hello

I found a sample to decode mp4(avc) http://forums.ps2dev.org/viewtopic.php?t=9927
(I download all files from svn -> http://code.google.com/p/pspplayer/source/detail?r=610)
it works fine play my test.mp4 file but it wouldn't play sound (I check many mp4 files). I have 5.00 M33-3 soft on my psp.

What could I do to play the sound ??

P.S
To make Test.mp4 I'm using MediaCoder and PSP profile (MPEG-4 AVC).

I have 3 warnings:
main.c:339: warning: implicit declaration of function 'sceMpegGetAvcNalAu'
main.c:349: warning: implicit declaration of function 'sceMpegAvcDecodeDetail2'
main.c:386: warning: implicit declaration of function 'sceMpegBaseCscAvc'
Thank you for help
:)
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

Warnings are because those functions are not defined. You'll probably need a stub or a prototype pointing to the function address.
Post Reply