View Single Post
MikeL's Avatar
Posts: 356 | Thanked: 27 times | Joined on Jun 2006 @ Madrid, Spain
#129
Serge

I am using the latest version of mplayer (.deb) and attempting to stream mpeg1 provided files from TVersity. When the files are on the Nokia's MMC the files play very well on the Nokia 770 using mplayer with a 320x240 video resolution (Set in TVersity profiles.xml for Nokia 770), with only a slight audio miss-alignment.

If however I attempt to stream the file to the Nokia 770 it's locking up, however I then noticed that the mplayer has an option to add a "bandwidth" value.

So....

I added mplayer -bandwidth to a TVersity supplied Video URL and what do you know; I had almost perfect streaming, not withstanding the above audio issue and some slight frame dropping. (The bandwidth I used is a wild guess at this stage)

The following is a capture of the xterm information while streaming this mpeg1 video file.

mplayer -bandwidth 10000000 http://***.***.****.***:41952/geturl...f%26ext%3d.mpg
MPlayer 1.0pre8-maemo.4 (C) 2000-2006 MPlayer Team
CPU: ARM


Unknown option on the command line: -bandwidth
Error parsing option on the command line: -bandwidth
/ $ mplayer -bandwidth 10000000 http://***.***.****.***:41952/geturl...f%26ext%3d.mpg
MPlayer 1.0pre8-maemo.4 (C) 2000-2006 MPlayer Team
CPU: ARM


/usr/share/fonts/SwaRR4nh.ttf doesn't look like a font description, ignoring.
Cannot load font: /usr/share/fonts/SwaRR4nh.ttf
Terminal type `xterm' is not defined.

Playing http://***.***.****.***:41952/geturl...f%26ext%3d.mpg.
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %31A2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
String appears to be already escaped in url_escape %21F2
STREAM_HTTP(1), URL: http://***.***.****.***:41952/geturl...f%26ext%3d.mpg
Connecting to server ***.***.****.***[***.***.****.***]: 41952...
Cache size set to 300 KBytes
Cache fill: 2.67% (8192 bytes)
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 1) 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
================================================== ========================
Trying to force audio codec driver family libmad...
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio decoder)
================================================== ========================
[VO_SDL] Using driver: x11.
================================================== ========================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 240 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
================================================== ========================
[AO ESD] latency: [server: 0.28s, net: 0.00s] (adjust 0.28s)
AO: [esd] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [sdl] 320x240 => 320x240 Planar YV12 [fs]
[VO_SDL] Info - please use -vm or -zoom to switch to the best resolution.
A: 133.5 V: 133.4 A-V: 0.063 ct: 0.167 3204/3204 33% 35% 24.9% 1801 0
Exiting... (Quit)
/ $
So I am now wondering what slight tweaks I should/could make to improve situation for these TVersity transcoded and streamed mpeg1 files?