[MPlayer-users] Creative Zen compatible movies

|TEcHNO| techno at punkt.pl
Fri May 23 13:22:00 CEST 2008


Deepak Shrestha wrote:
> I think I have seen an extension to create zen vision movies in
> mediacoder [ http://mediacoder.sourceforge.net/ ], a frontend for
> mencoder. I don't know what settings you have tried.
Since it's a windows app, it's mostly useless for me, might as well 
switch to windows and use the bundled encoder. Unless it will show me 
the commandline it's using.

> If you are using command line mencoder, then try these settings
> Setting I found for zen vision are:
<cut>
> Well, this is just what I found, I have no means of checking that since
> I don't own a zen.
I one a Creative Zen ( 
http://en.wikipedia.org/wiki/ZEN_%28portable_media_player%29 ) but they 
seem to share most parameters per video creation.

Here's what I've been using:
VBITRATE=600;
QUANT_TYPE=mpeg;
ABITRATE=128;
VOLGAIN=0;
CROP=0:0:0:0;
SCALER_PARS=0.00:0.65;
OFPS=25;

mencoder "$1" -ovc xvid -oac copy \
	-ofps $OFPS \
	-vf crop=$CROP,scale=320:-3:0:0:$SCALER_PARS \
	-sws $SCALER_TYPE \
	-xvidencopts bitrate=$VBITRATE:nogmc:noqpel:\
	quant_type=$QUANT_TYPE:pass=1:profile=asp3:threads=2 \
			-o /dev/null

mencoder "$1" -ovc xvid -oac mp3lame \
	-ofps $OFPS \
	-vf crop=$CROP,scale=320:-3:0:0:$SCALER_PARS \
	-sws $SCALER_TYPE \
	-xvidencopts bitrate=$VBITRATE:nogmc:noqpel:\
	quant_type=$QUANT_TYPE:pass=2:profile=asp3:threads=2 \
	-lameopts vol=$VOLGAIN:vbr=3:aq=0 -o "$2"


I've also tried -of lavf but this makes the video unplayable.
I'm starting to think I should try -of lavf -lavfopts format=mp4 or 
similar, just to try it out, but I'm not sure how I'm supposed to set up 
the video to be playable (MPEG-4 SP).

One the other hand, the video that was on the player reports as:

bash-3.2$ mplayer -v ./ZEN\ Stone.avi
MPlayer dev-SVN-r26850-4.1.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (Family: 15, Model: 
75, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Warning unknown option ambeddedfonts at line 14
get_path('codecs.conf') -> '/home/techno/.mplayer/codecs.conf'
Reading /home/techno/.mplayer/codecs.conf: Can't open 
'/home/techno/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-v' './ZEN Stone.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/techno/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/techno/.mplayer/input.conf'
Can't open input config file /home/techno/.mplayer/input.conf: No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.
get_path('ZEN Stone.avi.conf') -> '/home/techno/.mplayer/ZEN Stone.avi.conf'

Playing ./ZEN Stone.avi.
get_path('sub/') -> '/home/techno/.mplayer/sub/'
[file] File size is 3981258 bytes
STREAM: [file] ./ZEN Stone.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 1400   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 176
==========================
list_end=0x10F4
==> Found video stream: 0
[aviheader] Video stream found, -vid 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 25/1 = 25.000
Start: 0   Len: 1400
Suggested BufferSize: 29395
Quality 10000
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 320
   biHeight 176
   biPlanes 1
   biBitCount 24
   biCompression 1145656920='XVID'
   biSizeImage 337920
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x2186
==> Found audio stream: 1
[aviheader] Audio stream found, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 16000/1 = 16000.000
Start: 0   Len: 895184
Suggested BufferSize: 8000
Quality -1
Sample size: 1
==========================
Found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 16000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x4
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x2292
AVI: dmlh found (size=248) (total_frames=1400)
list_end=0x3C1182
Found movie at 0x280C - 0x3C1182
Reading INDEX block, 2788 chunks for 1400 frames (fpos=3936650).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x1F4C)

-- 
pozdrawiam     |"Help me master, I felt the burning twilight behind
techno at punkt.pl|those gates of steel..." --Perihelion, Prophecy Sequence



More information about the MPlayer-users mailing list