Opened 4 years ago

Closed 3 years ago

Last modified 3 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 Changed 4 years ago by porton@…

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

comment:2 Changed 3 years ago by compn

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

comment:3 Changed 3 years ago by compn

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

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

comment:4 Changed 3 years ago by compn

  • Resolution set to invalid
  • Status changed from new to closed

comment:5 Changed 3 years ago by porton@…

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.