Suche radio sat mit w_scan playlist für vlc w_scan w_scan -fs -c DE -s S19E2 -L -T 0 >playlist/radio https://wiki.videolan.org/VLC_command-line_help/ vlc --dvb-adapter=1 :dvb-frequency=586000000 :dvb-bandwidth=8 :dvb-transmission=8 :dvb-guard={1/8} Guard interval :dvb-hierarchy=0 :dvb-a-modulation=64QAM ; https://petersopus.wordpress.com/tag/v4l2/ vlc --help show in console vlc -p dvb --advanced cvlc Booktree card bt878 Composite mit Ton von Eingang 1 vlc v4l2:///dev/video0:input=1 :input-slave="alsa://hw:0,0" BEFEHLE TV CARDS Pinnacle bt878 with Radio stereo SAT: CX23887 Philips lspci =show all pci devices lsusb =show all usb devices lspci -v lspci | grep Bt878 lspci | grep CX23887 lsmod |grep videodev = zeigt details zu den karten lsmod tvtime --help vlc --help 1) Make sure the module will be loaded sudo gedit /etc/modules add bttv if not already present 2) Options for the module. Create this file: sudo gedit /etc/modprobe.d/bttv # i2c alias char-major-89 i2c-devb options i2c-algo-bit bit_test=1 # bttv alias char-major-81 videodev alias char-major-81-0 bttv # My TV Card options bttv card=23 tuner=18 radio=0 pll=1 adc_crush=0 ard hd orginal vlc dvb-s2://frequency=11493750000:modulation=8PSK:srate=22000000:dvb-adapter=0 :dvb-device=0:no-dvb-budget-mode :dvb-inversion=-1 :dvb-transmission=-1 :dvb-guard= :dvb-code-rate-hp= :dvb-code-rate-lp= :dvb-hierarchy=-1 :dvb-plp-id=0 :dvb-a-modulation= :dvb-a-fec= :dvb-a-count=0 :dvb-a-interleaving=0 :dvb-b-modulation= :dvb-b-fec= :dvb-b-count=0 :dvb-b-interleaving=0 :dvb-c-modulation= :dvb-c-fec= :dvb-c-count=0 :dvb-c-interleaving=0 :dvb-srate=22000000 :dvb-fec=2/3 :dvb-stream=0 :dvb-pilot=-1 :dvb-rolloff=-1 :dvb-ts-id=1019 :dvb-polarization=H :no-dvb-high-voltage :dvb-lnb-low=9750000 :dvb-lnb-high=10600000 :dvb-lnb-switch=11700000 :dvb-satno=0 :dvb-uncommitted=0 :dvb-tone=-1 :live-caching=300 bearbeitet: vlc dvb-s2://frequency=11493750000:modulation=8PSK:srate=22000000:dvb-adapter=0 :dvb-device=0:dvb-srate=22000000 :dvb-fec=2/3 :dvb-ts-id=1019 :dvb-polarization=H :dvb-lnb-low=9750000 :dvb-lnb-high=10600000 :dvb-lnb-switch=11700000 webcam vlc v4l2:///dev/video1 Haupauge 5500 not worked so vlc v4l2:///dev/video2:input=xx video for linux Open a Linux terminal program: Select Applications, System Tools, XTerm (or UXterm). NUR TON : vlc alsa://hw:0,0 Richtiger syntax for v4l2 controls vlc 'v4l2:///dev/video2: set-ctrls={video_bitrate_mode=1,video_bitrate=4000000,video_peak_bitrate=4000000}' --------------------------------------------------------------------------------------- v4l2-caching : Caching in ms. v4l2_common 16384 8 bttv,cx2341x,cx23885,tuner,tda7432,msp3400,tvaudio,videobuf2_core videodev 159744 12 bttv,cx2341x,cx23885,tuner,tda7432,gspca_main,msp3400,tvaudio,v4l2_common,videobuf2_core,gspca_zc3xx Video input v4l2-dev : Primary device name. default value: "/dev/video0" v4l2-standard : Video standard. default value: 0 v4l2-chroma : Force use of a specific video chroma (Use MJPG here to use a webcam's MJPEG stream). default value: "" v4l2-input : Card input to use for video. default value: 0 v4l2-audio-input : Card input to use for audio. default value: 0 v4l2-io : IO method. default value: 0 v4l2-width : Prefered video width (if non zero). default value: 0 v4l2-height : Prefered video height (if non zero). default value: 0 v4l2-fps : Frames per second (if non zero). default value: 0 Audio input These options do not apply to audio streams in compressed data. v4l2-adev : Audio input device. default value: "" v4l2-audio-method : Allowed audio input methods (bitmask: 1 for OSS, 2 for ALSA). default value: 3 v4l2-stereo : Capture audio in stereo. default value: enabled v4l2-samplerate : Audio input sample rate in Hz. default value: 48000 Tuner v4l2-tuner : Tuner to use. default value: 0 v4l2-tuner-frequency : Tuner frequency in Hz or MHz depending on the underlying v4l2 driver. default value: -1 v4l2-tuner-audio-mode : Tuner audio mode. default value: -1 Controls These controls will be used only if they are supported by the v4l2 driver. v4l2-controls-reset : Reset all the v4l2 controls. default value: disabled v4l2-brightness : Brightness. default value: -1 v4l2-contrast : Contrast. default value: -1 v4l2-saturation : Saturation. default value: -1 v4l2-hue : Hue. default value: -1 v4l2-black-level : Black level. default value: -1 v4l2-auto-white-balance : Auto white balance. default value: -1 v4l2-do-white-balance : Do white balance. default value: -1 v4l2-red-balance : Red balance. default value: -1 v4l2-blue-balance : Blue balance. default value: -1 v4l2-gamma : Gamma. default value: -1 v4l2-exposure : Exposure. default value: -1 v4l2-autogain : Auto gain. default value: -1 v4l2-gain : Gain. default value: -1 v4l2-hflip : Flip the image horizontaly. default value: -1 v4l2-vflip : Flip the image verticaly. default value: -1 v4l2-hcenter : Horizontal center. default value: -1 v4l2-vcenter : Vertical center. default value: -1 v4l2-audio-volume : Audio volume. default value: -1 v4l2-audio-balance : Audio balance. default value: -1 v4l2-audio-mute : Audio mute. default value: disabled v4l2-audio-bass : Audio bass. default value: -1 v4l2-audio-treble : Audio treble. default value: -1 v4l2-audio-loudness : Audio loudness. default value: -1 v4l2-set-ctrls : Set any other control listed in the debug output using a comma seperated list in curly braces such as {video_bitrate=6000000,audio_crc=0,stream_type=3}. default value: "" Example Open a video device with default settings: % vlc v4l2:///dev/video0:width=640:height=480 Get information about a video device's capabilities: % vlc -vvv --color v4l2:///dev/video0 --run-time 1 vlc://quit -I dummy -V dummy -A dummy Command line for Hauppauge PVR 250 to get France 2 (at ECP) and encode as MPEG2 and stream using UDP multicast: % vlc -I dummy -vvv 'v4l2c://:audio-method=0:controls-reset:set-ctrls={video_bitrate_mode=1,video_bitrate=4000000,video_peak_bitrate=4000000}:width=720:height=576:tuner=0:tuner-frequency=478550' --sout "#std{access=udp{ttl=12},mux=ts,url=239.255.1.1}" Type v4l2-ctl --all (Then press ENTER on your computer keyboard). This displays the available information about your video capture card. Here are the commands that you need to list all of the video and audio inputs of your video capture card, or to display the current video and audio inputs of your video capture card, or to set the video and audio inputs to the integer number which represents that input. (The listed video inputs, for example may be Tuner 0, S-Video 1, Composite 2. The listed audio inputs may be Tuner 0, Line In 1 1, Line In 2 2. Write down this information for your convenient reference.) v4l2-ctl --all display all information available about your video capture card v4l2-ctl --list-inputs display the list of all video inputs of your video capture card v4l2-ctl --list-audio-inputs display the list of all audio inputs of your video capture card v4l2-ctl --get-input display the current video input of your video capture card v4l2-ctl --set-input= set the video input to (For example, type v4l2-ctl --set-input=2 then press ENTER to set your video input to Composite video.) v4l2-ctl --get-audio-input display the current audio input of your video capture card v4l2-ctl --set-audio-input= set the audio input to (For example, type v4l2-ctl --set-audio-input=2 then press ENTER to set your audio input to Line In 2.) v4l2-ctl -h or v4l2-ctl --help display the v4l2-ctl help message clear clears the console Here is the list of the command switches which are available for the V4l2-ctl program: http://ivtvdriver.org/index.php/V4l2-ctl http://ivtvdriver.org/index.php/V4l2-ctl_%28Examples%29 --------------------------------dvb-s2----------------------------------------------- Stream with VLC Note: VLC has many more features than VLS. First you can use the advanced stream output options such as transcoding and all kinds of output supports. Second VLC can take advantage of the Common Interface supported by some DVB adapters to descramble one or several services. Currently released versions of VLC only support the low-level API so some adapters won't work (budget-ci cards work, twinhan doesn't). Some CAM modules aren't compatible with some DVB cards, check the linux-dvb documentation for more information. So-called "professional" CAM modules are able to descramble up to twelve services, whereas customer-oriented modules are often limited to one or two services unless otherwise specified. VLC must be compiled with --enable-dvb and you need the linux-dvb headers installed in your system. An example command-line is as follows: % vlc -vvv --color --ttl 12 --ts-es-id-pid --programs=8508,8505 dvb: \ --dvb-frequency=11739000 --dvb-srate=27500000 --dvb-voltage=13 \ --sout-standard-access=udp --sout-standard-mux=ts --sout \ '#duplicate{dst=std{dst=address1},select="program=8508",dst=std{dst=address2},select="program=8505"}' The example above shows the minimum set of options needed to stream out two services. Here is a list of frontend options, depending on the frontend type: common options dvb-adapter: specifies the adapter to use in case you have several adapters in your machine (by default use adapter 0) dvb-device: specifies the name of the DVB device to use (should not be needed with a standard linux-dvb installation) dvb-srate: specifies the symbol rate of the modulated signal, in symbols/s dvb-inversion: specifies whether the signal is inverted or not (default is automatic detection) dvb-budget-mode: enters a special mode where all PIDs are retrieved by the driver; it should no longer be necessary as VLC should filter wanted PIDs satellite frontend (QPSK) dvb-frequency: specifies the frequency to tune to in kHz; according to the frequency range, VLC auto-detects the band to use: S (2.5-2.7 GHz), C-lower (3.4-4.2 GHz), C-higher (4.5-4.8 GHz), Ku (10.7-13.25 GHz) or direct BIS frequency (0.95-2.15 GHz); it is mandatory to supply the dvb-srate option to satellite frontends dvb-voltage: specifies the voltage to apply on the IF; most LNBs behave differently when supplied with 13 V or 18 V; universal LNBs select vertical polarity with 13 V and horizontal with 18 V; you can also select 0 V if your LNB has another power supply (default is 13 V) dvb-tone: specifies whether to send a 22 kHz pulse tone to the LNB; universal LNBs switch to high-band when this pulse is sent; by default VLC automatically adopts the correct behaviour if the frequency supplied is in the Ku band (other bands do not need this) dvb-fec: specifies the code-rate to use for Forward Error Correction; type in the first number of the code-rate, for 2/3 use --dvb-rate=2, etc. (default is 9, meaning automatic detection) dvb-high-voltage: enables a special mode of the DVB adapter to compensate for the voltage loss in very long cables (AFAIK it is present in the API, but no DVB adapter actually implements it) dvb-lnb-lof1, dvb-lnb-lof2, dvb-lnb-slof: specifies the frequencies of the first and second local oscillators, and the frequency at which the 22 kHz pulse should be activated to enable the second oscillator; by default VLC uses the values for universal LNBs if the frequency supplied is in the Ku band (other bands do not need this) cable frontend (QAM) dvb-frequency: specifies the frequency to tune to in Hz; it is mandatory to supply the dvb-srate option to cable frontends dvb-modulation: specifies the modulation of the analog signal; valid values are -1 (QPSK), 0 (automatic QAM, default), 16 (QAM16), 32 (QAM32), 64 (QAM64) 128 (QAM128), 256 (QAM256) terrestrial frontend (OFDM) dvb-frequency: specifies the frequency to tune to in Hz; it is mandatory to supply the dvb-bandwidth option, all other parameters are optional dvb-bandwidth: specifies the bandwidth of the OFDM channel (6, 7 or 8 MHz depending on the country) dvb-hierarchy: specifies if the OFDM channel uses hierarchic information; allowed values are -1 (no hierarchy), 0 (automatic, default), 1, 2 and 4 dvb-code-rate-hp, dvb-code-rate-lp: specifies the code-rate to use for higher and lower hierarchies respectively (default auto, same syntax as dvb-fec) dvb-guard: specifies the guard interval; valid values are 0 (automatic, default), 4 (1/4), 8 (1/8), 16 (1/16) and 32 (1/32) dvb-transmission: specifies the transmission mode; valid values are 0 (automatic, default), 2 (2K) and 8 (8K) We also ought to explain the other non-dvb-specific options of the example command-line: ts-es-id-pid: this option is necessary if you use the #duplicate stream output filter to split the multiplex in several outputs; there is no need to use #duplicate neither ts-es-id-pid if you have one program only programs, program, sout-all: there are several ways of specifying the services to select (and optionally descramble): programs: used to specify one or serveral programs to select; VLC selects all known elementary streams of these programs; this is the currently recommended way program: used to specify one program to select; it differs from using programs with only one program in that this option only select the first audio stream, and no subtitle stream; it should be used if you plan to switch programs and audio with a GUI sout-all: tells VLC to select all programs; this is discouraged because of the extra CPU load needed to demultiplex unwanted programs, and because it is not compatible with CAM descrambling The other options are standard stream output options and are described in the other chapters of this documentation. cx23885 172032 1 altera_ci 20480 1 cx23885 tda18271 53248 3 cx23885 altera_stapl 32768 1 cx23885 videobuf2_dvb 16384 1 cx23885 cx2341x 28672 1 cx23885 videobuf2_dma_sg 20480 1 cx23885 snd_hda_intel 36864 7 snd_hda_codec_hdmi dvb_core 126976 3 cx23885,altera_ci,videobuf2_dvb snd_hda_controller 32768 1 snd_hda_intel videobuf2_memops 16384 1 videobuf2_dma_sg videobuf2_core 49152 2 cx23885,videobuf2_dvb snd_hda_codec 143360 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 20480 2 snd_usb_audio,snd_hda_codec nouveau 1400832 2 snd_bt87x 20480 2 lpc_ich 24576 0 snd_seq_midi 16384 0 uas 24576 0 snd_seq_midi_event 16384 1 snd_seq_midi gspca_zc3xx 61440 0 usb_storage 69632 3 uas gspca_main 36864 1 gspca_zc3xx usbhid 53248 0 snd_pcm 106496 9 cx23885,snd_usb_audio,snd_bt87x,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller hid 110592 2 hid_generic,usbhid mxm_wmi 16384 1 nouveau snd_rawmidi 32768 2 snd_usbmidi_lib,snd_seq_midi wmi 20480 2 mxm_wmi,nouveau usblp 20480 0 video 20480 1 nouveau ttm 98304 1 nouveau snd_seq 69632 2 snd_seq_midi_event,snd_seq_midi drm_kms_helper 131072 1 nouveau drm 348160 5 ttm,drm_kms_helper,nouveau snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi snd_timer 32768 2 snd_pcm,snd_seq snd 90112 33 snd_hda_codec_realtek,cx23885,snd_usb_audio,snd_bt87x,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device 8250_fintek 16384 0 soundcore 16384 2 snd,snd_hda_codec shpchp 40960 0 mac_hid 16384 0 tuner_simple 24576 1 tuner_types 28672 1 tuner_simple tea5767 16384 0 tuner 28672 2 tda7432 16384 0 tvaudio 40960 0 msp3400 40960 0 bttv 151552 1 btcx_risc 16384 1 bttv tveeprom 24576 2 bttv,cx23885 videobuf_dma_sg 20480 1 bttv rc_core 28672 2 bttv,cx23885 videobuf_core 28672 2 bttv,videobuf_dma_sg v4l2_common 16384 8 bttv,cx2341x,cx23885,tuner,tda7432,msp3400,tvaudio,videobuf2_core videodev 159744 12 bttv,cx2341x,cx23885,tuner,tda7432,gspca_main,msp3400,tvaudio,v4l2_common,videobuf2_core,gspca_zc3xx media 24576 1 videodev i2c_algo_bit 16384 2 bttv,nouveau Switch modes (DVB-C/DVB-T) Since it is a hybrid card, it may be necessary to select the correct DVB-source: # dvb-fe-tool --adapter=1 --frontend=0 --set-delsys=DVB-C test ansprechen cx23887 mit v4l2 vlc 'v4l2:///dev/video2: -set-input=1' auslesen: v4l2-ctl -d 2 --get-audio-input v4l2-ctl -d 2 --get-input v4l2-ctl -d 2 --all DVB-T2 w_scan -ft -c DE /dev/dvb/adapter0/frontend0 -> "NXP TDA10071" doesnt support TERRESTRIAL -> SEARCH NEXT ONE. /dev/dvb/adapter1/frontend0 -> TERRESTRIAL "Silicon Labs Si2165 DVB-T": good :-) TV SENDER SUCHEN ANALOG: NAME scantv - scan a v4l device for TV stations.   SYNOPSIS scantv [ options ]   DESCRIPTION scantv scans a v4l device for available TV stations and writes a xawtv/fbtv config file.   OPTIONS -i input set tv input (Television/Composite1/S-video and so on). Default is Television. -n norm set tv norm. scantv will ask interactively if none is given. -f table set frequency table. scantv will ask interactively if none is given. -o outfile specify output file. If none is specified, scantv writes to stdout. -c device specify video device file. Default is /dev/video0. -D driver specify video driver name. Default is "libv4l". -C device specify vbi device file. Default is /dev/vbi0. -s skip channel scan, just write norm + freqtab to the config file. -a Do a full scan (i.e. all frequencies, not just the ones from the frequency table). VLC: BT 878 TV Kanal 36 vlc v4l2:///dev/video0 :v4l2-tuner-frequency=4773 :live-caching=300 Kanallist: https://en.wikipedia.org/wiki/UHF_CB