Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#2297 closed defect (invalid)

`mplayer /dev/video0` does not work

Reported by: porton@… Owned by: beastd
Priority: normal Component: undetermined
Version: 1.3 Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:

$ mplayer /dev/video0
MPlayer 1.3.0 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team
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 /dev/video0.
libavformat version 57.25.100 (external)
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
...

How to reproduce:

% mplayer -v
MPlayer 1.3.0 (Debian), built with gcc-5.3.1 (C) 2000-2016 MPlayer Team

From dmesg output:

[    1.796609] usb 2-2: New USB device found, idVendor=17a1, idProduct=0128
[    1.796612] usb 2-2: New USB device strings: Mfr=32, Product=38, SerialNumber=0
[    1.796614] usb 2-2: Product: USB2.0 JPEG WebCam
[    1.796615] usb 2-2: Manufacturer: TASCORP

Skype and Cheese do work (however they didn't work some time again, probably with an older kernel). Now Skype and Cheese work but mplayer /dev/video0 doesn't.

Change History (5)

comment:1 by porton@…, 9 years ago

I've forgotten to say that mplayer (when playing /dev/video0) does NOT open any windows.

comment:2 by compn, 8 years ago

are you sure /dev/video0 is a mjpeg video stream? any other players play it?

comment:3 by compn, 8 years ago

to play most web cameras you have to do mplayer tv:// , see this for ex

https://ubuntuforums.org/showthread.php?t=1229355

comment:4 by compn, 8 years ago

Resolution: invalid
Status: newclosed

comment:5 by porton@…, 8 years ago

I don't know whether it is an mjpeg video stream.

But if I remember correctly, mplayer /dev/video0 did work in the past.

mplayer tv:// -tv device=/dev/video0 -nosound does work.

Note: See TracTickets for help on using tickets.