Page 1 of 1

VLC + TV tuner

Posted: 22 May 2014 18:34
by Cramac
Hello.
i run vlc:
cvlc 'v4l2:///dev/video0:width=720:height=576:tuner-frequency=143250:bitrate=3000000:maxbitrate=4000000' --sout '#transcode{vcodec=mpgv,vb=5000,audio=mpga,ab=512,channels=1}:standard{access=http,mux=dummy,dst=0.0.0.0:8080}'

but broadcasting is not happening in the log only
[0xb5a06928] rawvideo decoder warning: invalid frame size (622080 < 933120)
[0xb5a06928] rawvideo decoder warning: invalid frame size (622080 < 933120)

how to fix?

OS - ubuntu 14.04 server

Re: VLC + TV tuner

Posted: 23 May 2014 04:51
by Rémi Denis-Courmont
This is a device driver bug, so get a fixed V4L2 device driver.

Re: VLC + TV tuner

Posted: 23 May 2014 12:27
by Cramac
and do not tell me where to download?

Re: VLC + TV tuner

Posted: 23 May 2014 12:30
by Rémi Denis-Courmont
How am I supposed to know that? It's not a VLC thing.

Re: VLC + TV tuner

Posted: 30 Jul 2014 07:28
by Daniel Ceregatti
I'm experiencing the same problem and I doubt it's a device driver issue. Granted, the change seems tied to an upgraded Linux kernel, but other v4l2 apps, such as xawtv and mplayer, continue to work properly when using v4l2 devices. I can only conclude it's something the vlc vl42 module isn't accounting for. I'm going to post my issue in a separate post, but I decided to post here because I believe this is not a device driver issue.

Re: VLC + TV tuner

Posted: 30 Jul 2014 17:37
by Rémi Denis-Courmont
What the error says is, based on the format and resolution, VLC expects at least 933120 bytes per frame, and the driver returns 622080 only. Without the verbose logs, we do not know what the format is, and we are not sure if the resolution really is 720x576. It is thus not possible to say whether this is a VLC or driver bug. But empirically, this is a driver bug.