Release Panplayer Beta 1


JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Picklelauncher has been updated, so there is a new pnd out that makes it smoother, also fixed some bugs here and there. And in order to play back 720P content, you NEED RC2 of hotfix 5, or later.


I am proud to present the PND version of PanPlayer, an optimized mplayer build for the pandora that is wrapped up in PickleLauncher with an awesome skin by EvilDragon. :)


From the Readme:



Code:
This is an optimized build of mplayer for the pandora, wrapped within the picklelauncher frontend.

 If you have Hotfix 5, RC2 or later, you can play back up to 720P files without quality loss using the omapfb video driver. 

Only problem is some files will freeze the player when attempting this, so if it does freeze:


If you are in xfce, hold down the pandora button to bring up a dialog box that you can use to kill the player. 

If in minimenu, most likely pressing pandora button will fix it. 


The next time you attempt to launch the file, mplayer will attempt to launch the file using the lowres option, which doesn't work for h264,

 but should work for at least divx encoded files. 

If this does occur, you have to play back another file using omapfb in order for display using xv to work, couldn't find a way to prevent this.

So keep this in mind.


The files created in the appdata directory are the following:


mpconfig.conf - The configuration that mplayer uses, you can say 

change the default audio and subtitle track that it looks for, 

or any number of other settings.


mpinput.conf - The input configuration file, which contains all the pandora specific keybindings,

you can find a list of the default bindings within the mpdefaults.conf file,

don't bother editing this, as it's just for reference.


mpdefaults.conf - The default mplayer keybindings can be found in this file,

it's only for reference, it's not referenced in any way by mplayer.


profile.txt - This is where picklelauncher stores it's commands and the like, 

you can add more file extensions to it so that you can then use picklelauncher to launch those files with mplayer.


config.txt - This is where picklelauncher stores it's configuration, 

it's not recommended to edit this file unless you know what you are doing,

as it can break the skin, or even worse.


omapfb-blacklist - This file lists files that failed for whatever reason when trying to attempt playback using omapfb. 

If the video freezes, press and hold down the pandora button to try to kill mplayer, but a hard reboot may be sometimes necessary in some cases. 

After you kill the player, be aware playing a video that uses omapfb is necessary in order to fix the output. 

Omapfb is invoked any time you try to play back a file that is larger than the screen size.


The default keybindings for picklelauncher are:

B - Select a file or directory

X - Go up a directory

Esc - Quit the application


It is also possible to type on the keyboard to filter the file list for files containing that string. So just type some characters to filter the list. Backspace to delete.


Default keybindings within the player are as follows:

B - Play/Pause

X - Quit

Y - Change audio track

A - Change subtitle track


Dpad:

Left/Right - Seek -/+ 10 seconds

Up/Down - Seek -/+ 60 seconds.


For most files, the default settings should just work, a safe default for a large number of files is 600mhz, but for playing back h264 files and the like, I would recomend putting it to 750, or even 800. Unfortunately 720P h264 files is just too much for it, so keep that in mind.


Download Links


PND Version


http://dl.openhandhelds.org/cgi-bin/pandora.cgi?0,0,0,0,114,329


http://apps.openpandora.org/cgi-bin/viewapp.pl?/Application/PanPlayer.inf


Binary Version


http://www.mediafire.com/file/sdkeu5nzb7gh7el/panplayer-b4.zip


The binary version you invoke by cd'ing to the directory with mplayer, /media/card/panplayer, for example, and doing a ./mplayer.sh filename. The script should handle the rest. Also this version isn't stripped, so if there is a problem, use this version and perhaps do a gdb dump by taking the options passed to mplayer,the first thing the script prints, and then passing that to mplayer, as well as the file, and running that with a gdb --args ./mplayer options filename , then typing r in the prompt. It should tell you at least what function failed, which I can try to look up.


Thanks,


JDGBOLT
 
Last edited by a moderator:

Jey123456

Member
Joined
Dec 22, 2009
Messages
228
i didnt try the pickle launcher part since, well ... i dont really care about it.


but i did try and adopt you mplayer and mplayer script. i had a somewhat similar script that i used to call mplayer with all the paramsfrom command line, but yours give much better results.


i have some mp4 xvid encoded at 860ishx480 they were working ok with my old script (visible frameskip). but with panplayer they are reading as smoothly as they should so thank you for your work =D
 

Farox

Certified Guru
Joined
Jan 8, 2009
Messages
2,173
Age
53
Location
Italy
Website
rbnet.it
Great news :)


I can't test as don't have my unit...but i like when someone work on things like this.


Is using the DSP ?


Anyway many thanks for this, and, can't wait to try it.
 

skeezix

Internal Development
Joined
Mar 11, 2003
Messages
8,064
Website
www.codejedi.com
I think this build of mplayer definately improves things a fair bit -- a number of videos I've got didn't play quite right in stock build (I think missing sub-codecs, like certain pixel fill patterns an such) so were blurry or jerky, but play splendid with this build. It does seem to run better overall as well, though hard to say as I'm not using Serious Testing per se.


Still, looks pretty swank :)


jeff
 

valic182

Still Fresh
Joined
Feb 23, 2011
Messages
2
Very nice! the performance is much better.


Does anyone know an easy way to set the "open with" properties of AVI files to auto launch using this script?


(I already tried just setting to mplayer.sh but no go..)


Thanks!
 

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Uploaded a new beta, url reflects the change. Change is mainly an updated mplayer binary as well 720p output capability for users of RC2 of hotfix 5 that was just released. Let me know what you think. :)
 

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Okay, just had to do a quick update, I love the skin that Ed cooked up for this, looks quite sharp, after we sort out a few rough edges, it should be ready for release, at the very least a beta release. Look forward to bringing it to you all. :)
 

alerino

Well-Known Member
Joined
Aug 11, 2007
Messages
3,200
posted in gp32x:


much better player than the stock one, thanks a lot. although it crashes on playing flv's (Mplayer crashed by bad usage of CPU/FPU/RAM) and >480p (Source image dimensions are too high: 1280x542 (maximum is 800x480), it happens with 480x576 too


Panplayer output



Code:
Playing /media/My_Passport/video_files/youtube/

libavformat file format detected.



MPlayer interrupted by signal 11 in module: demux_open

- MPlayer crashed by bad usage of CPU/FPU/RAM.

  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and

  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.

- MPlayer crashed. This shouldn't happen.

  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your

  gcc version. If you think it's MPlayer's fault, please read

  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and

  won't help unless you provide this information when reporting a possible bug.



mplayer output





Code:
libavformat file format detected.

[flv @ 0x777820]Estimating duration from bitrate, this may be inaccurate

[lavf] Video stream found, -vid 0

[lavf] Audio stream found, -aid 1

VIDEO:  [FLV1]  320x240  0bpp  25.000 fps  337.6 kbps (41.2 kbyte/s)

Clip info:

 duration: 197

 videodatarate: 330

 lastkeyframetimestamp: 197

 lastkeyframelocation: 8105084

 creator: YouTube, Inc.

 metadatacreator: YouTube Metadata Injector.

 haskeyframes: true

 hasmetadata: true

==========================================================================

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

Selected video codec: [ffflv] vfm: ffmpeg (FFmpeg Flash video)

==========================================================================

==========================================================================

Forced audio codec: mad

Opening audio decoder: [libmad] libmad mpeg audio decoder

AUDIO: 22050 Hz, 1 ch, s16le, 80.0 kbit/22.68% (ratio: 10000->44100)

Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)

==========================================================================

AO: [oss] 22050Hz 1ch s16le (2 bytes per sample)

Starting playback...

Movie-Aspect is undefined - no prescaling applied.

VO: [xv] 320x240 => 320x240 Planar YV12 

A: 140.0 V: 139.9 A-V:  0.059 ct:  0.082   0/  0  8%  3%  4.6% 0 0 

Exiting... (Quit)
 

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Okay, I found the source of the issue for flv, currently working on fixing it, should be fixed shortly. :)
 

Michoko

Member
Joined
May 13, 2008
Messages
458
Location
France
Really exciting, I find the current solutions for playing videos on the Pandora a bit sluggish sometimes. I tried the non-pnd version, the results were much smoother and tearing-less. I can't wait for the PND version!
 

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Okay, new beta is up that should hopefully fix the issue with flv files, and perhaps other mpeg related files. Might introduce some other problems in files that used to work, so let me know if any other files crash that didn't used to. :)


JDGBOLT
 
Last edited by a moderator:

alerino

Well-Known Member
Joined
Aug 11, 2007
Messages
3,200
thanks again, getting better and better


MPEG,AVI XVID, FLV - most plays fine


3GP - out of synch - video faster than sound

libavformat file format detected.


[lavf] stream 0: video (h263), -vid 0


[lavf] stream 1: audio (amrnb), -aid 0, -alang jpn


VIDEO: [s263] 176x144 24bpp 29.970 fps 174.6 kbps (21.3 kbyte/s)


==========================================================================


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+)


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 8000 Hz, 1 ch, floatle, 12.8 kbit/5.00% (ratio: 1600->32000)


Selected audio codec: [ffamrnb] afm: ffmpeg (AMR Narrowband)


==========================================================================


AO: [alsa] 44100Hz 1ch floatle (4 bytes per sample)


Starting playback...


Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.


VO: [xv] 176x144 => 192x144 Planar YV12 [fs]


mov - out of synch - video faster than sound

libavformat file format detected.


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x944b40]multiple edit list entries, a/v desync might occur, patch welcome


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x944b40]max_analyze_duration reached


[lavf] stream 0: video (svq1), -vid 0


[lavf] stream 1: audio (qdm2), -aid 0, -alang eng


VIDEO: [sVQ1] 320x230 24bpp 10.000 fps 408.3 kbps (49.8 kbyte/s)


==========================================================================


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffsvq1] vfm: ffmpeg (FFmpeg Sorenson Video v1 (SVQ1))


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 22050 Hz, 1 ch, s16le, 20.0 kbit/5.67% (ratio: 2500->44100)


Selected audio codec: [ffqdm2] afm: ffmpeg (FFmpeg QDM2 audio)


==========================================================================


AO: [alsa] 44100Hz 1ch s16le (2 bytes per sample)


Starting playback...


Could not find matching colorspace - retrying with -vf scale...


Opening video filter: [scale]


Movie-Aspect is undefined - no prescaling applied.


[swscaler @ 0xa50528]using unscaled yuv410p -> yuv420p special converter


VO: [xv] 320x230 => 320x230 Planar YV12 [fs]


Exiting... (Quit)


RMVB - plays fine at 700mhz but messes synch up if rewinded or fast forwarded, says system is slow to play video


.

REAL file format detected.


Stream description: Audio Stream


Stream mimetype: audio/x-pn-realaudio


[real] Audio stream found, -aid 0


Stream description: Video Stream


Stream mimetype: video/x-pn-realvideo


[real] Video stream found, -vid 1


Stream mimetype: logical-fileinfo


VIDEO: [RV40] 608x336 24bpp 23.000 fps 0.0 kbps ( 0.0 kbyte/s)


==========================================================================


Opening video decoder: [realvid] RealVideo decoder


ERROR: Could not open required DirectShow codec drvc.dll.


Read the RealVideo section of the DOCS!


VDecoder init failed :(


Opening video decoder: [realvid] RealVideo decoder


ERROR: Could not open required DirectShow codec drv43260.dll.


Read the RealVideo section of the DOCS!


VDecoder init failed :(


Opening video decoder: [realvid] RealVideo decoder


Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory


ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.


Read the RealVideo section of the DOCS!


VDecoder init failed :(


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffrv40] vfm: ffmpeg (FFmpeg RV40)


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 44100 Hz, 2 ch, s16le, 64.1 kbit/4.54% (ratio: 8010->176400)


Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio)


==========================================================================


AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)


Starting playback...


Movie-Aspect is undefined - no prescaling applied.


VO: [xv] 608x336 => 608x336 Planar YV12 [fs]


Error while decoding frame!


Error while decoding frame!


Error while decoding frame!


Error while decoding frame!


Error while decoding frame!


Error while decoding frame!



MP4 - green screen

libavformat file format detected.


[lavf] stream 0: audio (aac), -aid 0, -alang und


[lavf] stream 1: video (h264), -vid 0


VIDEO: [H264] 1280x720 24bpp 29.970 fps 2000.9 kbps (244.2 kbyte/s)


==========================================================================


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 44100 Hz, 2 ch, s16le, 125.4 kbit/8.89% (ratio: 15675->176400)


Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))


==========================================================================


WMV - better than stock mplayer, but some slowing down at 700

ASF file format detected.


[asfheader] Audio stream found, -aid 1


[asfheader] Video stream found, -vid 2


VIDEO: [WMV3] 640x480 24bpp 1000.000 fps 1016.6 kbps (124.1 kbyte/s)


Load subtitles in /media/My_Passport/Videos/


Opening video filter: [ass auto=1]


[ass] auto-open


==========================================================================


Requested video codec family [wmv9dmo] (vfm=dmo) not available.


Enable it at compilation.


Requested video codec family [wmvdmo] (vfm=dmo) not available.


Enable it at compilation.


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg WMV3/WMV9)


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.26% (ratio: 3995->176400)


Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))


==========================================================================


AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)


Starting playback...


Movie-Aspect is undefined - no prescaling applied.


VO: [xv] 640x480 => 640x480 Planar YV12 [fs]



MKV - green screen

[mkv] Track ID 1: audio (A_AAC), -aid 0, -alang eng


[mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0


[mkv] Will play video track 2.


Matroska file format detected.


VIDEO: [avc1] 1280x720 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)


Load subtitles in /media/My_Passport/


Opening video filter: [ass auto=1]


[ass] auto-open


==========================================================================


Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family


Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)


==========================================================================


==========================================================================


Forced audio codec: mad


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders


AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)


Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))


==========================================================================


AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)


Starting playback...


Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.


VO: [omapfb] 1280x720 => 1280x720 Planar YV12 [fs]


[ASPECT] Warning: No suitable new res found!


[ASPECT] Warning: No suitable new res found!
 
Last edited by a moderator:

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Yeah, it will support them, you just need to create an entry for them in profile.txt, though we are currently working to include a less buggy version of picklelauncher. :)
 

dsleaf67

Member
Joined
Aug 12, 2007
Messages
357
Age
54
Location
Canada
Website
Visit site
Thanks, I figured that out now I guess I need to figure out settings for it to play properly. When sound enabled it doesn't show video (will show current frame when paused). With sound disabled video shows too fast. Will try to increase CPU enven though It plays fine in VLC.
 

Jey123456

Member
Joined
Dec 22, 2009
Messages
228
the lastest version work great for me. using the pnd one and i have yet to find a video (in acceptable resolution. i didnt try any 1080p divx) that crashed or was unwatchable. (could see a few hitch in some of my 720p vids but still at least 30 times better than i could get a week ago >_>).
 

JDGBOLT

Member
Joined
Aug 29, 2008
Messages
103
Okay, we finally worked out some of the issues with the pnd, especially a typo on my part that made flv files unplayable. Also the profile.txt should be much easier to understand. It's just a list of the extensions it supports, quite simple really. Also hopefully fixed an issue where I guess using mplayer could screw up the sdl framebuffer stuff. Also picklelauncher is updated which should hopefully be more stable, and also the filtering is now case insensitive, so if you have a ton of files, just type a few characters to narrow it down. Also m4v's are now in the list, I tried to put in all the extensions I could think of, but I'm sure I missed some, so let me know if there are any others. :)


JDGBOLT
 
Last edited by a moderator:

dsleaf67

Member
Joined
Aug 12, 2007
Messages
357
Age
54
Location
Canada
Website
Visit site
OK, I added w and e key from default config to panscan in and out. Should this work now or is it just allowing to play video thats larger than screen?


I any case when I use them (with audio switched - thats only way to play) the video goes like horizontal is out of whack until I put it back whole video on screen.
 
Top