vlc try to open /dev/video0 with libdvdcss. Help!! [SOLVED]

About encoding, codec settings, muxers and filter usage
sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

vlc try to open /dev/video0 with libdvdcss. Help!! [SOLVED]

Postby sozz » 05 Mar 2008 12:02

Hello,

I use VLC as a streaming server to stream the signal of my TV card (PVR 150) on my network.

Code: Select all

cvlc pvr:/dev/video0 --sout "#standard{mux=ts,access=udp,dst=192.178.1.12}" --security-policy=1
and I get this error

Code: Select all

*************************************************** *** glibc version with broken libintl detected. *** *** Messages localization will be disabled. *** *************************************************** VLC media player 0.9.0-svn Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-glide' '--disable-a52' '--disable-aa' '--enable-faad' '--disable-alsa' '--disable-altivec' '--disable-arts' '--disable-asademux' '--disable-bonjour' '--disable-fribidi' '--disable-cdda' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-csri' '--disable-daap' '--disable-dbus' '--disable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug' '--disable-dca' '--disable-dv' '--enable-dvb' '--enable-dvdread' '--enable-dvdplay' '--enable-dvdnav' '--enable-esd' '--disable-fb' '--enable-ffmpeg' '--disable-flac' '--disable-fluidsynth' '--disable-galaktos' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--disable-hal' '--enable-httpd' '--disable-id3tag' '--disable-jack' '--disable-caca' '--disable-libgcrypt' '--disable-notify' '--disable-libtar' '--disable-lirc' '--disable-live555' '--disable-lua' '--enable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mpc' '--disable-musicbrainz' '--enable-ncurses' '--disable-mozilla' 'XPIDL=' 'MOZILLA_CONFIG=' '--enable-ogg' '--disable-glx' '--disable-opengl' '--disable-optimize-memory' '--enable-oss' '--enable-png' '--disable-portaudio' '--disable-pulse' '--enable-pvr' '--disable-qt4' '--enable-rtsp' '--enable-realrtsp' '--disable-smb' '--disable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-skins2' '--disable-speex' '--enable-sse' '--disable-svg' '--disable-svgalib' '--disable-taglib' '--disable-theora' '--disable-freetype' '--disable-twolame' '--disable-upnp' '--enable-v4l' '--disable-v4l2' '--enable-vcd' '--disable-vcdx' '--enable-vorbis' '--disable-loader' '--disable-wxwidgets' 'WX_CONFIG=' '--disable-x11' '--disable-screen' '--disable-x264' '--disable-xinerama' '--enable-libxml2' '--disable-xosd' '--disable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-libvc1' '--disable-snapshot' '--disable-growl' '--disable-optimizations' '--enable-utf8' '--enable-libtool' '--enable-fast-install' '--enable-vlm' '--enable-sout' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=nocona -O2 -pipe' 'CXXFLAGS=-march=nocona -O2 -pipe' [00000001] main libvlc debug: translation test: code is "C" [00000324] dummy interface: using the dummy interface module... libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Could not open pvr:/dev/video0 with libdvdcss. libdvdread: Can't open pvr:/dev/video0 for reading libdvdnav: vm: faild to open/read the DVD [00000345] access_directory access error: pvr:/dev/video0: No such file or directory [00000345] access_file access error: cannot open file pvr:/dev/video0 (No such file or directory) [00000351] access_directory access error: pvr:/dev/video0: No such file or directory [00000351] access_file access error: cannot open file pvr:/dev/video0 (No such file or directory) [00000333] main input error: open of `pvr:/dev/video0' failed: could not create access: no suitable access2 module
I'm using Gentoo and the use flags that I used to emerge vlc are:

Code: Select all

aac dvd esd ffmpeg httpd matroska mmx mp3 mpeg ncurses ogg oss pvr sse stream vcd vlm vorbis xml (-3dfx) -X -a52 -aalib -alsa (-altivec) -arts -avahi -bidi -cdda -cddb -cdio -daap -dbus -dc1394 -debug -directfb -dts dvb -fbcon -flac -fluidsynth -ggi -gnome -gnutls -hal -id3tag -jack -libcaca -libnotify -lirc -live -lua -modplug -musepack -musicbrainz -nsplugin -opengl -optimisememory -pulseaudio -qt4 rtsp -samba -sdl -sdl-image -seamonkey shout -skins -speex -svg (-svga) -taglib -theora -truetype twolame -upnp v4l -v4l2 -vcdx win32codecs -wxwindows -x264 -xinerama -xosd -xulrunner -xv
I have to disable v4l2 because when I try to emerge I get several errors, but after I disable I emerge perfectly.

Thanks
Last edited by sozz on 06 Mar 2008 13:54, edited 1 time in total.

hovis
Blank Cone
Blank Cone
Posts: 22
Joined: 05 Nov 2006 23:55
Location: London, UK

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby hovis » 05 Mar 2008 23:14

I had old kernel headers on my Gentoo install which caused compile errors with the v4l2 headers. For me, updating the kernel headers to match the kernel version in use fixed this.... Something like:-

emerge --quiet linux-headers

for me upgraded the headers from 2.6.17 to 2.6.23 which matched the version genkernel built.

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby sozz » 06 Mar 2008 10:04

Well I have installed the kernel 2.6.23-r8, but I will try to update to the 2.6.24 , and try to emerge the VLC again with v4l2. I'll post the results.


Thanks for your suggestion hovis

hovis
Blank Cone
Blank Cone
Posts: 22
Joined: 05 Nov 2006 23:55
Location: London, UK

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby hovis » 06 Mar 2008 10:55

Look at /usr/include/linux/version.h and decode LINUX_VERSION_CODE. Mine for 2.6.23 is 132631. emerging linux-headers updates this directory. You may find as I did that despite me running 2.6.23 I had a code less than 132631 before I updated the headers.

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby sozz » 06 Mar 2008 10:59

Ok, I compile the 2.6.24-r3 and right now the v4l and v4l2 compile correctly.

The problem still being:

Code: Select all

*************************************************** *** glibc version with broken libintl detected. *** *** Messages localization will be disabled. *** *************************************************** VLC media player 0.9.0-svn Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.0-svn Grishenko - (c) 1996-2008 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--disable-glide' '--disable-a52' '--disable-aa' '--enable-faad' '--disable-alsa' '--disable-altivec' '--disable-arts' '--disable-asademux' '--disable-bonjour' '--disable-fribidi' '--disable-cdda' '--disable-cddax' '--disable-libcddb' '--disable-libcdio' '--disable-csri' '--disable-daap' '--disable-dbus' '--disable-dbus-control' '--disable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug' '--disable-dca' '--disable-dv' '--enable-dvb' '--disable-dvdread' '--disable-dvdplay' '--disable-dvdnav' '--enable-esd' '--disable-fb' '--enable-ffmpeg' '--disable-flac' '--disable-fluidsynth' '--disable-galaktos' '--disable-ggi' '--disable-gnomevfs' '--disable-gnutls' '--disable-hal' '--enable-httpd' '--disable-id3tag' '--disable-jack' '--disable-caca' '--disable-libgcrypt' '--disable-notify' '--disable-libtar' '--disable-lirc' '--disable-live555' '--disable-lua' '--enable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2' '--disable-mpc' '--disable-musicbrainz' '--enable-ncurses' '--disable-mozilla' 'XPIDL=' 'MOZILLA_CONFIG=' '--enable-ogg' '--disable-glx' '--disable-opengl' '--disable-optimize-memory' '--enable-oss' '--enable-png' '--disable-portaudio' '--disable-pulse' '--enable-pvr' '--disable-qt4' '--enable-rtsp' '--enable-realrtsp' '--disable-smb' '--disable-sdl' '--disable-sdl-image' '--disable-shout' '--disable-skins2' '--disable-speex' '--enable-sse' '--disable-svg' '--disable-svgalib' '--disable-taglib' '--disable-theora' '--disable-freetype' '--disable-twolame' '--disable-upnp' '--enable-v4l' '--enable-v4l2' '--enable-vcd' '--disable-vcdx' '--enable-vorbis' '--disable-loader' '--disable-wxwidgets' 'WX_CONFIG=' '--disable-x11' '--disable-screen' '--disable-x264' '--disable-xinerama' '--enable-libxml2' '--disable-xosd' '--disable-xvideo' '--disable-xvmc' '--disable-zvbi' '--disable-libvc1' '--disable-snapshot' '--disable-growl' '--disable-optimizations' '--enable-utf8' '--enable-libtool' '--enable-fast-install' '--enable-vlm' '--enable-sout' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=nocona -O2 -pipe' 'CXXFLAGS=-march=nocona -O2 -pipe' [00000001] main libvlc debug: translation test: code is "C" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /root/.cache/vlc/plugins-04081e.dat [00000001] main libvlc debug: recursively browsing `modules' [00000001] main libvlc debug: recursively browsing `/usr/lib64/vlc' [00000001] main libvlc debug: recursively browsing `plugins' [00000001] main libvlc debug: module bank initialized, found 218 modules [00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000297] main input debug: Input is a meta file: disabling unneeded options [00000297] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf' [00000297] main input debug: creating access 'file' path='/root/.local/share/vlc/ml.xspf' [00000298] main access debug: looking for access2 module: 3 candidates [00000298] access_directory access debug: opening directory `/root/.local/share/vlc/ml.xspf' [00000298] access_directory access debug: skipping non-directory `/root/.local/share/vlc/ml.xspf' [00000298] access_mmap access debug: opening file /root/.local/share/vlc/ml.xspf [00000298] main access debug: using access2 module "access_mmap" [00000302] main private debug: pre buffering [00000302] main private debug: received first data for our buffer [00000298] access_mmap access debug: at end of memory mapped file [00000297] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.local/share/vlc/ml.xspf' [00000303] main demuxer debug: looking for demux2 module: 1 candidate [00000303] playlist demuxer debug: using XSPF playlist reader [00000303] main demuxer debug: using demux2 module "playlist" [00000297] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened [00000318] main private debug: looking for xml module: 2 candidates [00000318] main private debug: using xml module "xml" [00000298] access_mmap access debug: at end of memory mapped file [00000303] playlist demuxer debug: parsed 0 tracks successfully [00000318] main private debug: removing module "xml" [00000297] main input debug: EOF reached [00000297] main input debug: control type=1 [00000303] main demuxer debug: removing module "playlist" [00000298] main access debug: removing module "access_mmap" [00000320] main private debug: waiting for thread completion [00000320] main private debug: thread 1090525504 (preparser) created at priority 0 (playlist/thread.c:82) [00000321] main private debug: waiting for thread completion [00000321] main private debug: thread 1098918208 (fetcher) created at priority 0 (playlist/thread.c:110) [00000296] main playlist debug: waiting for thread completion [00000296] main playlist debug: rebuilding array of current - root Playlist [00000296] main playlist debug: rebuild done - 0 items, index -1 [00000296] main playlist debug: thread 1107310912 (playlist) created at priority 0 (playlist/thread.c:120) [00000322] main interface debug: looking for interface module: 1 candidate [00000322] main interface debug: using interface module "hotkeys" [00000322] main interface debug: thread 1115703616 (interface) created at priority 0 (interface/interface.c:148) [00000296] main playlist debug: adding item `pvr:/dev/video0' ( pvr:/dev/video0 ) [00000324] main interface debug: looking for interface module: 13 candidates [00000324] dummy interface: using the dummy interface module... [00000324] main interface debug: using interface module "dummy" [00000296] main playlist debug: starting new item [00000296] main playlist debug: processing request item null node Playlist skip 0 [00000296] main playlist debug: rebuilding array of current - root Playlist [00000296] main playlist debug: rebuild done - 1 items, index -1 [00000296] main playlist debug: creating new input thread [00000333] main input debug: waiting for thread completion [00000334] main stream output debug: stream=`standard' [00000335] main private debug: looking for sout stream module: 1 candidate [00000335] main private debug: set config option: sout-standard-mux to ts [00000335] main private debug: set config option: sout-standard-access to udp [00000335] main private debug: set config option: sout-standard-dst to 192.168.1.20 [00000335] stream_out_standard private debug: creating `udp/ts://192.168.1.20' [00000335] stream_out_standard private debug: extension is 105 [00000335] stream_out_standard private debug: extension -> mux=(null) [00000335] stream_out_standard private debug: using `udp/ts://192.168.1.20' [00000337] main private debug: looking for sout access module: 1 candidate [00000337] main private debug: net: connecting to [192.168.1.20]:1234 [00000337] access_output_udp private debug: source: 192.168.1.20 port 54573 [00000337] access_output_udp private debug: destination: 192.168.1.20 port 1234 [00000333] main input debug: thread 1124096320 (input) created at priority 0 (input/input.c:342) [00000339] main private debug: thread 1132489024 (sout write thread) created at priority 0 (udp.c:270) [00000337] main private debug: using sout access module "access_output_udp" [00000335] stream_out_standard private debug: access opened [00000340] main private debug: looking for sout mux module: 1 candidate [00000340] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000 [00000340] main private debug: using sout mux module "mux_ts" [00000334] main stream output debug: muxer support adding stream at any time [00000335] stream_out_standard private debug: mux opened [00000335] main private debug: using sout stream module "stream_out_standard" [00000333] main input debug: `pvr:/dev/video0' gives access `' demux `' path `pvr:/dev/video0' [00000333] main input debug: creating demux: access='' demux='' path='pvr:/dev/video0' [00000342] main demuxer debug: looking for access_demux module: 2 candidates [00000333] main input debug: creating access '' path='pvr:/dev/video0' [00000346] main access debug: looking for access2 module: 6 candidates [00000346] access_directory access debug: opening directory `pvr:/dev/video0' [00000346] access_directory access error: pvr:/dev/video0: No such file or directory [00000346] access_mmap access debug: opening file pvr:/dev/video0 [00000346] access_mmap access warning: cannot open pvr:/dev/video0: No such file or directory [00000346] access_file access debug: opening file `pvr:/dev/video0' [00000346] access_file access error: cannot open file pvr:/dev/video0 (No such file or directory) [00000346] cdda access warning: could not open pvr:/dev/video0 [00000333] main input debug: retrying with access `' demux `' path `pvr:/dev/video0' [00000333] main input debug: creating access '' path='pvr:/dev/video0' [00000352] main access debug: looking for access2 module: 6 candidates [00000352] access_directory access debug: opening directory `pvr:/dev/video0' [00000352] access_directory access error: pvr:/dev/video0: No such file or directory [00000352] access_mmap access debug: opening file pvr:/dev/video0 [00000352] access_mmap access warning: cannot open pvr:/dev/video0: No such file or directory [00000352] access_file access debug: opening file `pvr:/dev/video0' [00000352] access_file access error: cannot open file pvr:/dev/video0 (No such file or directory) [00000352] cdda access warning: could not open pvr:/dev/video0 [00000333] main input error: open of `pvr:/dev/video0' failed: could not create access: no suitable access2 module [00000335] main private debug: destroying chain... (name=standard) [00000340] main private debug: removing module "mux_ts" [00000339] main private debug: thread 1132489024 joined (udp.c:309) [00000337] access_output_udp private debug: UDP access output closed [00000337] main private debug: removing module "access_output_udp" [00000335] main private debug: removing module "stream_out_standard" [00000335] main private debug: destroying chain done [00000296] main playlist debug: finished input [00000296] main playlist debug: dying input [00000296] main playlist debug: dying input [00000296] main playlist debug: dying input [00000296] main playlist debug: dead input [00000333] main input debug: thread 1124096320 joined (input/input.c:479) [00000296] main playlist debug: starting new item [00000296] main playlist debug: changing item without a request (current 0/1) [00000296] main playlist debug: nothing to play

hovis
Blank Cone
Blank Cone
Posts: 22
Joined: 05 Nov 2006 23:55
Location: London, UK

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby hovis » 06 Mar 2008 11:42

Sorry I don't know too much about the pvr module, but try...

pvr://dev/video0
pvr:///dev/video0

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby sozz » 06 Mar 2008 12:09

Hovis, that help me a lot!! Because now it try to open the pvr with the pvr module!!!!!!

So thanks a lot :wink:

I still having a problem, I will see if i can advance by myself.

Thanks again Hovis

sozz
Blank Cone
Blank Cone
Posts: 26
Joined: 30 Jan 2008 18:38

Re: vlc try to open /dev/video0 with libdvdcss. Help!!

Postby sozz » 06 Mar 2008 12:23

SOLVED and working!!!

Thanks Hovis


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 31 guests