maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Request: TCPMP (https://talk.maemo.org/showthread.php?t=19989)

josiahg777 2008-05-12 15:33

Re: Request: TCPMP
 
Hmmm... my 0.02:

TCPMP was an amazing program that really was the only thing besides EasyCalc that made me hold on to my Palm Zire72 as long as I did. I could download almost any movie/media file and put it on my media card and TCPMP would play it without (in most cases) breaking a sweat. Even high-bitrate/fast action sequences rendered beautifully. I never had to worry about optomizations or how large I coded my videos.

Despite all this, we definitely don't need to port over the entire application. But adding some of these features (equalizer, preamp, and automatic frame dropping/resizing) would make mplayer so much more amazing :) re-encoding videos just so I can watch them on my tablet is a pain in the butt.

@Serge - TCPMP has a really nice built in benchmarking tool :) On the Palm it's available from the "File" menu. It'll play back the current media file as fast as possible on your device and display the output :)

PS: I'm still looking for a good replacement for EasyCalc

iliaden 2008-05-12 15:38

Re: Request: TCPMP
 
SUCCESS!!!
was finally able to obtain a similar playback as for the n311, low resolution mode.

$ mplayer -quiet - benchmark -noslices -hardframedrop -lavdopts lowres=1
the quality of the video is similar; the framerate is perfect: no lag, no stall (continuous video playback, you can't see individual frames.

Quote:

'-hardframedrop' (but you may get artefacts on screen)
happens from time to time; does not disturb much

iliaden 2008-05-12 15:42

Re: Request: TCPMP
 
Quote:

Originally Posted by josiahg777 (Post 180776)
we definitely don't need to port over the entire application. But adding some of these features (equalizer, preamp, and automatic frame dropping/resizing) would make mplayer so much more amazing :) re-encoding videos just so I can watch them on my tablet is a pain in the butt.

second that. I considered my n311 dead. just resuscitated it yesterday. still, the external speaker doesn't work, and if I use earphones, I must be really careful not to move them too much - this actually freezes the device :(

Quote:

PS: I'm still looking for a good replacement for EasyCalc
if you find one - tell me!
other calculators I miss: spacetime (great graphing tools, as well as the capacity to derivate, integrate, take limits and matrices)

Serge 2008-05-12 15:49

Re: Request: TCPMP
 
Quote:

Originally Posted by iliaden (Post 180775)
$ mplayer -quiet - benchmark -noslices -framedrop
I don't get any system stats due to the -quiet!

You should get the stats when video playback finishes.

Statistics report should look like this:
http://www.internettablettalk.com/fo...&postcount=429

Pay attention to the lines:
Code:

BENCHMARKs: VC:  34.048s VO:  16.537s A:  0.202s Sys:  10.959s =  61.746s
BENCHMARK%: VC: 55.1418% VO: 26.7831% A:  0.3266% Sys: 17.7485% = 100.0000%
BENCHMARKn: disp: 1439 (23.31 fps)  drop: 1 (0%)  total: 1440 (23.32 fps)

Quote:

$ mplayer -quiet - benchmark -noslices -hardframedrop
get about 1fps video. no stats available yet

p.s. plz tell me how to interpret the stats
How to interpret what stats? Looks like you are doing something wrong (probably stopping playback too early).

iliaden 2008-05-12 15:59

Re: Request: TCPMP
 
strange: now , when I run
$ mplayer -quiet - benchmark -noslices -hardframedrop -lavdopts lowres=1
, the program crashes with
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM
Recompile MPlayer with --enable-debug and make 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports.html#bugreports_crash.
- MPlayer crasher. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version.

Serge 2008-05-12 16:01

Re: Request: TCPMP
 
Quote:

Originally Posted by iliaden (Post 180788)
strange: now , when I run
$ mplayer -quiet - benchmark -noslices -hardframedrop -lavdopts lowres=1
, the program crashes with
MPlayer interrupted by signal 11 in module: decode_video
- MPlayer crashed by bad usage of CPU/FPU/RAM
Recompile MPlayer with --enable-debug and make 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports.html#bugreports_crash.
- MPlayer crasher. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version.

That's one more reason to upload this test video files somewhere, so that I could take a look at it ;)

iliaden 2008-05-12 17:12

Re: Request: TCPMP
 
tried another [high-bitrate] file.
link: http://adrive.com/public/740d3197f11...d8a7dd862.html
stats:
$ mplayer -quiet - benchmark -noslices -hardframedrop -lavdopts lowres=1
BENCHMARKs:VC: 167.870s VO: 7.662s A: 2.276s Sys: 22.319s = 200.127s
BENCHMARK%: VC: 83.8817% VO: 3.8286% A: 1.1374% sys:11.1522% =100.0000%
BENCHMARKn: disp: 3818 (19.08 fps) drop: 1138 (22%) total: 4956 (24.76fps)

$ mplayer -quiet – benchmark
BENCHMARKs:VC: 223.302s VO: 0.522s A: 2.487s Sys: 1.581s = 227.892s
BENCHMARK%: VC: 97.9860% VO: 0.2292% A: 1.0912% sys:0.6937% =100.0000%
BENCHMARKn: disp: 34 (0.15 fps) drop: 4305 (99%) total: 4339 (19.04fps)

TCPMP low resolution:
Average Speed: 69.32%
Video Frames: 3695
Audio Samples: 7347072
Amount of data: 48148

Bench. Time: 3:33.226
Bench. Frame rate: 17.33
Bench. Sample rate: 34457
Bench. Data rate: 1.8Mbit/s

Original time: 2.27.779
Original framerate: 25.00
Original sample rate: 48000
Original data rate: 2.6 Mbit/s

TCPMP normal resolution
Average Speed: 38.65%
Video Frames: 3695
Audio Samples: 7268246
Amount of data: 48148

Bench. Time: 6:22.408
Bench. Frame rate: 9.66
Bench. Sample rate: 19006
Bench. Data rate: 1.0Mbit/s

Original time: 2.27.779
Original framerate: 25.00
Original sample rate: 48000
Original data rate: 2.6 Mbit/s



NOTE: TCPMP displays EVERY SIMGLE frame, yet this increases the time of the video playback.
MPlayer kills the frames, yet has the playback time of the original video.

iliaden 2008-05-12 17:35

Re: Request: TCPMP
 
http://adrive.com/public/27488d8bcb1...7fc0fcd8f.html
this is the file I have been performing tests on previously (the one that crashed)

Serge 2008-05-13 12:27

Re: Request: TCPMP
 
Can you provide MD5 for both these files? Looks one file is slightly corrupted in the middle (the one that crashes mplayer) and the other one is completely broken and does not even show video when played.

iliaden 2008-05-13 13:01

Re: Request: TCPMP
 
sorry, I don't know what MD5 is...

I'll try uploading the second one (Les rois du monde) again... would make no sence that I could play it and you couldn't


All times are GMT. The time now is 00:13.

vBulletin® Version 3.8.8