Opened 16 years ago

Closed 14 years ago

#1104 closed defect (fixed)

play camera needs fps option

Reported by: r_rt.bug@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I don't know if it is a bug.

I use a usb webcam with ov51x-jpeg v4l driver.

mplayer -v tv:// -nosound -tv driver=v4l:device=/dev/v4l/video1:width=640:height=480:hue=0:contrast=0:brightness=50:saturation=-1 -fps 25

works, but doesn't work without -fps option.

rc2 doesn't need this option

The change could come from an error while setting norm :

Using input 'Camera'
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected norm : pal
Unknown norm!
Error: Cannot set norm!
Requested width: 640
Requested height: 480
Selected input hasn't got a tuner!
==> Found video stream: 0
Output format: Planar YV12
Picture values:

Depth: 12, Palette: yuv420p (Format: Planar YV12)
Brightness: 48896, Hue: 32768, Colour: 28672, Contrast: 31744

mbuf: size=1843216, frames=2
Using a ring buffer for maximum 2 frames, 0 MB total size.
[V] filefmt:9 fourcc:0x32315659 size:640x480 fps:0.000 ftime:= inf
FPS not specified in the header or invalid, use the -fps option.
No stream found.

rc2 output is :

Using input 'Camera'
Selezionata norma : pal
Requested width: 640
Requested height: 480
L'input scelto non ha un sintonizzatore/tuner!
==> Trovato flusso video: 0
Output format: Planar YV12
Picture values:

Depth: 12, Palette: yuv420p (Format: Planar YV12)
Brightness: 48896, Hue: 32768, Colour: 28672, Contrast: 31744

mbuf: size=1843216, frames=2
Using a ring buffer for maximum 2 frames, 0 MB total size.
[V] filefmt:9 fourcc:0x32315659 size:640x480 fps:25.00 ftime:=0.0400

Change History (2)

comment:1 by compn, 14 years ago

Cc: patriotact@… added

at least you can put this into your config, assuming you dont mind setting fps for all tv:// ...

[protocol.tv]
fps=30

comment:2 by r_rt.bug@…, 14 years ago

Resolution: fixed
Status: newclosed

Thanks for your comment.

I have no more this bug and nobody else seems concerned, so I "resolve" it.

Note: See TracTickets for help on using tickets.