mplayer having trouble playing piped dv input

Bug #113107 reported by Tushar Bhatnagar
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Intrepid by Gregor Rosenauer

Bug Description

Binary package hint: mplayer

I'm using dvgrab to capture raw dv from a video camera and piping that to mplayer to play the video. I use the following command:

dvgrab --format raw - | mplayer -cache 4096 -

In Edgy Eft, the previous command works flawlessly and I see live video from the camera. But in Feisty Fawn, the previous command just hangs with:

Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
libavformat file format detected.

To make sure it was an mplayer problem, I got the mplayer package for Edgy (2:0.99+1.0pre8-0ubuntu8) and installed that on Feisty and it works again. Therefore, I think it's definitely a problem with mplayer.

Here's the output I get with the broken package for Feisty (2:1.0~rc1-0ubuntu9):
tusharb@tropicana:~$ dvgrab --format raw - | mplayer -cache 4096 -
Capture Started
MPlayer 2:1.0~rc1-0ubuntu9 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (Family: 6, Model: 15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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 -.
Reading from stdin...
Cache fill: 4.69% (196608 bytes)
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
libavformat file format detected.

*** It just hangs here.
-----------------------------------------------------------------

Here is the output I get with the working Edgy package (2:0.99+1.0pre8-0ubuntu8):
tusharb@tropicana:~$ dvgrab --format raw - | mplayer -cache 4096 -
MPlayer 2:0.99+1.0pre8-0ubuntu8 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (Family: 6, Model: 15, Stepping: 2)
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 -.
Reading from stdin...
Cache fill: 19.92% (835584 bytes)
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
RAWDV file format detected.
VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
AUDIO: 48000 Hz, 2 ch, s16le, 28771.2 kbit/1873.12% (ratio: 3596399->192000)
Selected audio codec: [libdv] afm: libdv (raw DV audio decoder (libdv))
==========================================================================
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] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Win32 LoadLibrary failed to load: qdv.dll, /usr/lib/win32/qdv.dll, /usr/local/lib/win32/qdv.dll
Warning: DS_Filter() could not open DirectShow DLL. (DLL=qdv.dll, r=0x8900850)
Failed to create DirectShow filter
ERROR: Could not open required DirectShow codec qdv.dll.
You need to upgrade/install the binary codecs package.
Go to http://www.mplayerhq.hu/dload.html
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV decoder)
==========================================================================
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...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar 411P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 411P as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.

SwScaler: BICUBIC scaler, from Planar 411P to Planar YV12 using MMX2
VO: [xv] 720x480 => 720x480 Planar YV12
A: 22.5 V: 22.5 A-V: 0.013 ct: 0.007 674/674 15% 9% 1.2% 0 0 2%

*** I get video output :)
-----------------------------------------------------------------

Thanks in advance.

- Tushar Bhatnagar

Revision history for this message
Rytis (ytis) wrote :

I confirm the bug. It wasn't an issue with Edgy though.
I get the avisynth.dll error while trying to stream http://82.140.178.145:80.

Revision history for this message
Gregor Rosenauer (grexe) wrote :

same here with Ubuntu Hardy 8.04.1 (Kubuntu variant) x86.
MPlayer cannot play old RealAudio from Amazon-website:

http://www.amazon.de/Put-Spell-You-Screamin-Hawkins/dp/B000024IMV/ref=sr_1_3?ie=UTF8&s=music&qid=1221996290&sr=8-3

(btw this is worth listening to...,-)

Get the same error, despite win32codecs and avifiles packages installed.

Daniel T Chen (crimsun)
Changed in mplayer:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.