VLC + TV tuner

*nix specific usage questions
Cramac
New Cone
New Cone
Posts: 4
Joined: 06 Apr 2014 10:31

VLC + TV tuner

Postby Cramac » 22 May 2014 18:34

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC + TV tuner

Postby Rémi Denis-Courmont » 23 May 2014 04:51

This is a device driver bug, so get a fixed V4L2 device driver.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Cramac
New Cone
New Cone
Posts: 4
Joined: 06 Apr 2014 10:31

Re: VLC + TV tuner

Postby Cramac » 23 May 2014 12:27

and do not tell me where to download?

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC + TV tuner

Postby Rémi Denis-Courmont » 23 May 2014 12:30

How am I supposed to know that? It's not a VLC thing.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Daniel Ceregatti
New Cone
New Cone
Posts: 5
Joined: 30 Jul 2014 07:04

Re: VLC + TV tuner

Postby Daniel Ceregatti » 30 Jul 2014 07:28

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15287
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: VLC + TV tuner

Postby Rémi Denis-Courmont » 30 Jul 2014 17:37

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests