[MEncoder-users] avi cut with mencoder not playable by mplayer

Christian Obst christian_obst at gmx.de
Sat Aug 26 23:10:29 CEST 2006


I am trying to cut off the first few minutes of a DVB recording from TV
with mencoder using the following command:

mencoder -ss 4:49 -o movie-cut.avi movie.avi -oac copy
-ovc copy

mencoder processes fine and returns no errors. But when I try to play
movie-cut.avi with mplayer, it just aborts with the following message:

MPlayer 1.0pre8-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor         1.50GHz (Family: 6, Model:
13, Stepping: 8) CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1
SSE2: 1 Compiled with runtime CPU detection.

Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts. Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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.

Playing movie-cut.avi.
AVI file format detected.
AVI: ODML: Building ODML index (2 superindexchunks).
VIDEO:  []  544x576  24bpp  25.000 fps  2114.6 kbps (258.1 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre8-4.1.2
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
open: No such file or directory
Couldn't open: /dev/mga_vid
open: No such file or directory
Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and
Voodoo 5.
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo
config request - 544 x 576 (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))
alsa-init: using device default alsa: 48000 Hz/2 channels/4 bpf/65536
bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le
(2 bytes per sample) Starting playback...

FATAL: Could not initialize video filters (-vf) or video output (-vo).

alsa-uninit: pcm closed

Exiting... (End of file)

The original movie.avi was created with the command

mencoder dvb://MyChannel -oac copy -ovc copy -o movie.avi

What am I doing wrong? mplayer is version 1.0-pre8.

Thanks for any help,

   /\\    Message void if penguin violated
  _\_V    Don't mess with the penguin

More information about the MEncoder-users mailing list