[MPlayer-users] Mplayer getting EOF

Marcos Iuato iuato at samurai.com.br
Thu Apr 26 22:27:25 CEST 2007


Hi,

I have tried with -nocache but I got the same result:

mencoder -tv 
driver=v4l2:width=320:height=240:input=0:normid=3:chanlist=us-bcast:adevice=/dev/dsp2 
-noidx -noodml -ovc copy -oac copy -mc 0 -noskip -o 
$ENV{HOME}/.mplayer/tvfifo -ofps 30000/1001 tv:// -v

mplayer-ao alsa  -noautosub -nocache -fs -vo xv -v -

I have alredy tried encoding with lossless codecs: ljpeg, ffvhuff but 
with the same result, with mpeg2 or mpeg4 it works.

What I could I do to solve this problem?

Playing -.
Reading from stdin...
[file] File size is -1 bytes
STREAM: [file] -
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x13A
======= AVI Header =======
us/frame: 33366  (fps=29.971)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2304) IS_INTERLEAVED TRUST_CKTYPE
frames  total: 0   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
==========================
list_end=0xD4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: YUY2 (32595559)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 30000/1001 = 29.970
Start: 0   Len: 1
Suggested BufferSize: 0
Quality 0
Sample size: 0
==========================
Found 'bih', 40 bytes of 40
======= VIDEO Format ======
   biSize 40
   biWidth 320
   biHeight 240
   biPlanes 1
   biBitCount 24
   biCompression 844715353='YUY2'
   biSizeImage 230400
===========================
list_end=0x13A
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (1)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 88200/2 = 44100.000
Start: 0   Len: 0
Suggested BufferSize: 0
Quality 0
Sample size: 2
==========================
Found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 1
Samplerate: 44100
avg byte/sec: 88200
Block align: 2
bits/sample: 16
cbSize: 0
==========================================================================
list_end=0x16E
hdr=Software  size=32
Software  : MEncoder dev-SVN-rUNKNOWN-4.1.2
list_end=0x0
Found movie at 0x100C - 0x0
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:-1)
Auto-selected AVI audio ID = 1
XXX initial  v_pts=0.000  a_pos=0 (0.000)
Could not determine number of frames (for absolute seek).
AVI video size=4294963188 (0)  audio size=0
VIDEO:  [YUY2]  320x240  24bpp  29.970 fps  -17179870.0 kbps (-2097152.0 
kbyte/s)
[V] filefmt:3  fourcc:0x32595559  size:320x240  fps:29.97  ftime:=0.0334
Clip info:
  Software: MEncoder dev-SVN-rUNKNOWN-4.1.2
X11 opening display: :0.1
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 800x600 with depth 16 and 16 bpp (":0.1" => local 
display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports FULLSCREEN state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 1536x1080
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 240 (preferred colorspace: Packed YUY2)
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=1,'MPlayer',0x32595559)
VO: [xv] 320x240 => 320x240 Packed YUY2  [fs]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x55595659 (YVYU) packed
Xvideo image format: 0x3231564e (NV12) planar
Xvideo image format: 0x3132564e (NV21) planar
using Xvideo port 97 for hw scaling
[xv-fs] dx: 0 dy: 0 dw: 800 dh: 600
[xv] dx: 0 dy: 0 dw: 800 dh: 600
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer.
AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 
0Hz/0ch/??...827:705] A/Vms 356/3 D/B/S 0/0/0
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[dummy] Was reinitialized: 44100Hz/1ch/s16le
alsa-init: requested format: 44100 Hz, 1 channels, 9
alsa-init: using ALSA 1.0.13
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode:   0min   0mb  A-V:0.000 
[36827:705] A/Vms 367/3 D/B/S 0/0/0
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=32768
alsa-init: got period size 1024
alsa: 48000 Hz/1 channels/2 bpf/32768 bytes buffer/Signed 16 bit Little 
Endian
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/1ch/s16le -> 48000Hz/1ch/s16le...
[dummy] Was reinitialized: 44100Hz/1ch/s16le
[libaf] Adding filter lavcresample
[dummy] Was reinitialized: 48000Hz/1ch/s16le
[dummy] Was reinitialized: 48000Hz/1ch/s16le
Starting playback...
[libaf] Reallocating memory in module lavcresample, old len = 0, new len 
= 32768
*** [vo] Exporting mp_image_t, 320x240x16bpp YUV packed, 153600 bytes
Unicode font: 255 glyphs.
[xv] dx: 0 dy: 0 dw: 800 dh: 600
[xv-fs] dx: 0 dy: 0 dw: 800 dh: 600
A:  89.2 V:  89.2 A-V:  0.011 ct: -0.002 2674/2674  0%  0%  3.3% 3 0
ds_fill_buffer: EOF reached (stream: audio)  8/27428  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)     0mb  A-V:0.000 
[36827:705] A/Vms 437/3 D/B/S 0/0/0
ds_fill_buffer: EOF reached (stream: audio)     0mb  A-V:0.000 
[36827:705] A/Vms 437/3 D/B/S 0/0/0
ds_fill_buffer: EOF reached (stream: audio)  1/27431  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: audio)  2/27432  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: audio)  3/27433  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: audio)  4/27434  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: audio)  5/27435  0%  0%  4.0% 51 0
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1  15.4 A-V:  0.018 ct:  0.009 27435/27435  0%  0%  4.0% 51 0

Uninit audio filters...
[libaf] Removing filter lavcresample
[libaf] Removing filter dummy
Uninit audio: pcm
Uninit video: raw
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (End of file)

Cheers,
Marcos Iuato



More information about the MPlayer-users mailing list