Search found 17 matches

by karnare
Wed Jan 10, 2007 6:46 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1019404

about player_main() thread.

Could someone tell me why creating a new thread to call player_main()?
I made some changes to the function, and called it directly in the main thread. It played for a while but then crashed.

What is the reason?
Thanks!
by karnare
Tue Dec 05, 2006 8:54 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

Quoted from magicK
"Further investigation showed that the stream must also contain buffering_period and pic_timing SEIs." Is that means even playing original mp4 file, we have to make the stream contain the two things?

Thanks!
by karnare
Mon Dec 04, 2006 8:47 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1019404

I want to konw how to make it support MP4 playing directly?
by karnare
Mon Dec 04, 2006 6:20 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1019404

When I play AVC movies, it always shows "AVC error: sceMpegAvcDecode failed Press square button to stop playback".And there is audio for a short time without video. If I set "use_avc_hw" in pmp.ini to 0, the movis can be played but too slow. The version what I use is ***PMPVLC009...
by karnare
Sat Dec 02, 2006 1:18 pm
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1019404

to jockyw2001:
It seems that PMPVLC0.0.9 calls only avcodec_decode_video() to play AVC? Or I am not sure in what case avc_get() will be called.Could you explain it to me?
Thanks in advance.
by karnare
Thu Nov 30, 2006 11:55 am
Forum: PSP Development
Topic: PMP VLC 0.0.9 Player
Replies: 578
Views: 1019404

I wonder if we can use avc_get() instead of avcodec_decode_video() in function video_thread() to play mpeg4.
Thanks!
by karnare
Wed Aug 23, 2006 11:26 am
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

It does work. Thank you , jonny!
by karnare
Tue Aug 22, 2006 8:22 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

The resume function is not exactly what I wanted. It does not skip the first two frames either. I`d like to realize a streaming playing, and I will save the pmp file header to a file(header.dat for example). So if I want to resume playing, it can read head.dat directly to get the header information,...
by karnare
Tue Aug 22, 2006 6:47 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

How can I skip the first frames? The buffer will be filled by fill_current_and_next_asynchronous_buffer(p, 0, p->file.packet_start, 0) in function pmp_read_open(). I would like to start the pmp at the right point where I stopped. I tried it as follows: unsigned int packet_position = get_packet_posit...
by karnare
Wed Jul 26, 2006 1:18 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

to jonny: Is it possbile to merge mod v2.0 and mod avc into one single mod? So it will be more convenient for users. I found there is much difference between two mods, but I think the only difference should be just the decoder.So we would like to see as follows: if(pmp2.0) { mp4_decode(); } else if(...
by karnare
Thu Jul 13, 2006 6:55 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

jonny wrote:this is not true when you seek with ff/rw
iirc removing/optimizing sceIoLseek32 doesn't change the performance
I see, thanks a lot!
And I wonder that why choosing sceIoReadAsync instead of sceIoRead.
Can I use sceIoRead only to get the data buf? Thanks.
by karnare
Thu Jul 13, 2006 4:10 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

to jonny:
It seems that after calling sceIoReadAsync(), the file pointer points the right place where the next packet starts. But why calling sceIoLseek32() to move to the same offset before reading the packet?
by karnare
Wed Mar 01, 2006 1:01 am
Forum: PSP Development
Topic: PMP Mod V1.02 / small mods
Replies: 254
Views: 1175295

Re: about sceIoDevctl()

That really shouldn't happen, because the sceIoDevctl() really only sends the command to the MS Device to return the free and total space in a buffer (malloc's original M4.02 also works and doesn't have the sceIoDevCtl function either). So it must be another reason why your upload to the MS will fa...
by karnare
Mon Feb 27, 2006 5:59 pm
Forum: PSP Development
Topic: PMP Mod V1.02 / small mods
Replies: 254
Views: 1175295

about sceIoDevctl()

I believe that the function sceIoDevctl() is much more than just getting the free space.You can try to remove it, and then you will find the .pmp which is writed to MS right now via USB cann`t be played any more. It seems that about 30k bytes(maybe 32k, one cluster?) at the head of the file can be r...
by karnare
Fri Feb 24, 2006 12:12 pm
Forum: PSP Development
Topic: PMP Mod v2.02 & PMP Mod AVC v1.02
Replies: 1856
Views: 8847869

the reason for the warning

I met the error "pmp_decode_get: avcodec_decode_video failed", so what could be the reason?
by karnare
Thu Feb 16, 2006 3:39 pm
Forum: PSP Development
Topic: An USB problem
Replies: 1
Views: 3116

can somebody help me?

I guess the data from pc has not been wrote to the disk, maybe in the cache or the memory. If it is, which functions in SDK can resolve it?

Or other reasons?
by karnare
Thu Feb 16, 2006 11:57 am
Forum: PSP Development
Topic: An USB problem
Replies: 1
Views: 3116

An USB problem

I just want to realize the function like this:when it activates the USB, the pc will detect it ,and put a file on the MemoryStick, and then disconnect it. After the disconnection, the function will read the file. But when open it, the handle is always invalid. I have checked that the file is correct...