### Basic Installation from Release Package Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Standard commands to configure, build, and install MuMuDVB from a release package. ```bash $ ./configure [configure options] $ make # make install ``` -------------------------------- ### MuMuDVB Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html This is an example configuration for MuMuDVB, used for setting up a channel for transcoding. Ensure your stream is operational before applying this configuration. ```ini unicast=1 port_http=8080 freq=12476 pol=v srate=27504 autoconf_radios=1 autoconfiguration=full multicast_ttl=16 dvr_buffer_size=40 ``` -------------------------------- ### Comment Example in MuMuDVB Configuration Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README_CONF.html Demonstrates how to add comments to the MuMuDVB configuration file. Lines starting with '#' are treated as comments. In-line comments are not supported. ```ini #The tuning frequency freq=11987 ``` -------------------------------- ### Start FFserver Command Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html Command to start the FFserver process with a specified configuration file. Ensure the path to the configuration file is correct. ```bash ffserver -f Path-To-Config-File.cfg ``` -------------------------------- ### Install Debian Package Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Installs a MuMuDVB Debian package manually. Use aptitude or synaptic for repository versions. ```bash # dpkg -i mumudvb*.deb ``` -------------------------------- ### Install Debian Init Scripts Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Copy the provided init scripts to their respective locations for Debian-based systems. ```bash # cp scripts/debian/etc/default/mumudvb /etc/default/mumudvb # cp scripts/debian/etc/init.d/mumudvb /etc/init.d/mumudvb ``` -------------------------------- ### Install Docker CE on Fedora Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.ddbridge.md Removes any previous Docker installations. Adds the Docker CE repository and installs the Docker CE package. Enables and restarts the Docker service, and adds the current user to the docker group. ```bash # remove previous installation (if any) sudo dnf remove docker docker-client docker-client-latest docker-common docker-latest docker-latest-logrotate docker-logrotate docker-selinux docker-engine-selinux docker-engine # following https://docs.docker.com/install/linux/docker-ce/fedora/#install-using-the-repository sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo sudo dnf install docker-ce sudo systemctl enable docker; sudo systemctl restart docker sudo usermod -a -G docker `whoami` ``` -------------------------------- ### Monitor Status - XML Response Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html Example XML response for the /monitor/state.xml endpoint, detailing card and frontend device information, MuMuDVB version, process details, and tuning status. Comments explain each field. ```xml => adapter and frontend devices /dev/dvb/adapter5 => card device path => MuMuDVB version 19574 => process PID 45 => process uptime in seconds => frontend name 1 => 0 if adapter not tuned, 1 if adapter is tuned 11856000 => tuning frequency (always in kHz) => "-" if polarization isn't applicable, or "V" (Vertical), "H" (Horizontal", "L" (Left), "R" (Right) 27500000 => Satellite symbole rate in symbols per second (or 0 if not applicable) => System used : "DVB-C", "DVB-T", "DVB-S", "DVB-S2", "ATSC" => Tuner lock status: "S"/"-" (Signal), "C"/"-" (Carrier), "V"/"-" (Viterbi), "Y"/"-" (Synchro), "L"/"-" (Locked) 0 => RAW BER value from driver (unsigned 16-bits integer) ``` -------------------------------- ### Starting MuMuDVB Command Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html Command to start MuMuDVB with a specified configuration file. The -d flag outputs messages to the command line for debugging. ```bash mumudvb -c /path-to-config/mumudvb.conf -d ``` -------------------------------- ### Multicast Channel Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README_CONF.html Example of configuring a channel for multicast streaming in MuMuDVB. Includes IP address, port, channel name, and PIDs for the stream. ```ini new_channel ip=239.100.0.0 port=1234 name=Barcelona TV pids=272 256 257 258 ``` -------------------------------- ### Install ddbridge Driver on Fedora Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.ddbridge.md Installs necessary kernel headers, development tools, and Git. Clones the ddbridge driver repository, builds and installs it, and configures kernel modules. Reloads the driver and sets up device redirection. ```bash dnf install -y kernel-headers-`uname -r` kernel-devel-`uname -r` elfutils-libelf-devel git gcc gcc-c++ make usbutils rmmod ddbridge dvb_core cxd2099 cd /usr/local/src git clone https://github.com/DigitalDevices/dddvb.git pushd dddvb make && make install echo "search extra updates built-in" > /etc/depmod.d/extra.conf echo "options ddbridge adapter_alloc=3" > /lib/modprobe.d/ddbridge.conf echo "options dvb_core debug=0 cam_debug=1" >> /lib/modprobe.d/ddbridge.conf depmod -a modprobe ddbridge dmesg popd # reboot? # about TAB/CAM: https://www.spinics.net/lists/linux-media/msg39494.html http://mumudvb.net/documentation/asciidoc/mumudvb-2.0.0/README.html#_hardware_cam_issues # wire: Tuner0 -> Input0 -> Port0 (TAB1, DVB-S2) ==> Port2(TAB3, CAM1) # wire: Tuner0 -> Input1 -> Port0 (TAB1, DVB-S2) ==> Port3(TAB4, CAM2) # reload the driver before re-wireing the TABs sudo rmmod ddbridge dvb_core cxd2099; sudo modprobe ddbridge echo "00 02" | sudo tee /sys/class/ddbridge/ddbridge0/redirect echo "01 03" | sudo tee /sys/class/ddbridge/ddbridge0/redirect # you might add the above to /etc/rc.d/rc.local ``` -------------------------------- ### MuMuDVB Stream Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/FAQ.html This example shows how to configure MuMuDVB to stream to a unicast client using UDP. It specifies the source of the stream and a backlog size for the buffer. This is useful for splitting unicast distribution from DVB demuxing. ```bash stream /udp.ts src=udp://@239.100.100.100:1234 backlog_size=10048576 ``` -------------------------------- ### Generate Autotools Files Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Use this command when installing from a snapshot to generate necessary build files like configure scripts. ```bash autoreconf -i -f ``` -------------------------------- ### FFserver Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html This is a sample FFserver configuration file. It defines HTTP/RTSP ports, bind address, connection limits, feed configurations for temporary storage, and stream definitions for various formats and codecs. ```config #specify the HTTP /RTSP Unicast port: Port 80 RTSPPort 554 #bind FFserver to a specific interface, better to be same as MuMu Interface BindAddress 192.168.100.100 #Max http connection limitation MaxHTTPConnections 1000 #how much IPTV client you want at the same time ? MaxClients 200 #max bandwith to process MaxBandwidth 1000000 CustomLog - #tvfeed01 channel feed configuration #specify the temporary file to use to dump the stream to FFserver File /tmp/tvfeed01.ffm FileMaxSize 1000K #all others feed's is similar; File /tmp/tvfeed02.ffm FileMaxSize 1000K File /tmp/tvfeed03.ffm FileMaxSize 1000K #Tvfeed01 Stream Definition #note the .asf reference, we're encapsulating our stream in ASF format. please check FFmpeg documentation for other formats. #referencing the previously defined feed, Tvfeed01 Feed tvfeed01.ffm #specify the streaming format Format asf #prevent looping on a live channel, this is a continuous stream and not a file. NoLoop #Video codec definition VideoCodec mpeg4 VideoFrameRate 25 VideoBufferSize 100000 videoBitRate 512k VideoQMin 1 VideoQMax 31 VideoSize 352x240 PreRoll 0 #Audio codec definition AudioCodec libmp3lame AudioBitRate 64 AudioChannels 2 AudioSampleRate 24000 #all others stream is similar. Feed tvfeed02.ffm Format asf NoLoop VideoCodec mpeg4 VideoFrameRate 25 VideoBufferSize 100000 videoBitRate 256k VideoQMin 1 VideoQMax 31 VideoSize 352x240 PreRoll 0 AudioCodec libmp3lame AudioBitRate 48 AudioChannels 2 AudioSampleRate 24000 Feed tvfeed03.ffm Format asf NoLoop VideoCodec mpeg4 VideoFrameRate 25 VideoBufferSize 100000 VideoBitRate 256k VideoQMin 1 VideoQMax 31 VideoSize 352x240 PreRoll 0 AudioCodec libmp3lame AudioBitRate 48 AudioChannels 2 AudioSampleRate 24000 #definition of the status stream to be able to see our FFserver status using a web browser Format status ``` -------------------------------- ### Unicast Channel Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README_CONF.html Example of configuring a single channel for unicast streaming in MuMuDVB. Specifies the channel name, unicast port, and PIDs for the stream. ```ini new_channel name=Barcelona TV unicast_port=8090 pids=272 ``` -------------------------------- ### Example AAC/H.264 Transcoded Stream in FLV Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html This is a placeholder for an example of an AAC/H.264 transcoded stream within an FLV container. The actual code or configuration for this specific example is not provided in the source text. ```text Example AAC/H.264 transcoded stream inside a FLV container: ``` -------------------------------- ### OSCam DVBAPI Configuration Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Example configuration for the [dvbapi] section in oscam.conf. These settings enable DVBAPI support and specify connection details for MuMuDVB. ```ini [dvbapi] enabled = 1 au = 1 boxtype = pc user = mumudvb pmt_mode = 4 request_mode = 1 ``` -------------------------------- ### Verify Docker Image Builds Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.md Commands to list built MuMuDVB images and verify the presence of CAM support or installed tools in different image variants. ```bash # list images docker images | grep ^mumudvb # no CAM support docker run --rm -it mumudvb:simple mumudvb | grep CAM # with CAM support docker run --rm -it mumudvb:cam mumudvb | grep CAM # with dvblast installed as well docker run --rm -it mumudvb:sak dvblast -V ``` -------------------------------- ### Get Channel by Name Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Fetch a channel by its name. The search is case-insensitive. Replace spaces in channel names with '_-_'. Compatible with xine and mplayer. ```bash vlc http://10.0.0.1:4242/byname/your-tv-station-name ``` -------------------------------- ### Get Channel List (HTML) Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html View the list of available channels in basic HTML format by accessing the specified URL in a web browser. ```bash http://10.0.0.1:4242/channels_list.html ``` -------------------------------- ### DVB-T Transponder Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/QUICKSTART.html This configuration is used for streaming a DVB-T transponder. The frequency should be specified in kHz. Refer to README_CONF for advanced parameters like bandwidth, QAM, and coderate if needed. ```ini autoconfiguration=full freq=__frequency in kHz__ ``` -------------------------------- ### Software Descrambling Configuration Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Configuration options for enabling software descrambling with OSCam. Ensure OSCam and libdvbcsa are installed and up-to-date. ```ini scam_support=1 oscam=1 ``` -------------------------------- ### DVB-S Transponder Configuration Example Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/QUICKSTART.html This configuration is used to stream a DVB-S transponder. Ensure the frequency, polarization, and symbol rate are correctly set for your transponder. ```ini autoconfiguration=full freq=11785 pol=h srate=27500 ``` -------------------------------- ### Run MuMuDVB Service in Container Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.md Starts the MuMuDVB service inside a Docker container, mapping a configuration file and exposing the service's port. Requires the host's DVB adapter to be mapped. ```bash docker run -it --rm --name my_mumu_adapter0 \ --device /dev/dvb/adapter0 \ --publish 4242:4242 \ --volume ${PWD}/sample.conf:/mumudvb.conf \ mumudvb:simple \ mumudvb -d -c /mumudvb.conf ``` -------------------------------- ### Get Channel List (JSON) Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Retrieve the list of available channels in JSON format by accessing the specified URL. ```bash http://10.0.0.1:4242/channels_list.json ``` -------------------------------- ### Accessing CAM Menu Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html This web service allows access to the CAM menu during streaming, useful for checking rights or download status. It requires a web server with PHP and accepts a GET parameter for the server port. ```APIDOC ## Accessing CAM Menu ### Description This web service allows access to the CAM menu during streaming, useful for checking rights or download status. It requires a web server with PHP and accepts a GET parameter for the server port. ### Method GET ### Endpoint `http://ip_http:port_http/cam_menu.php` ### Parameters #### Query Parameters - **port_server** (integer) - Required - The unicast port setup for accessing MuMuDVB webservices. ### Response Example (CAM not initialized) ```xml <![CDATA[CAM not initialized!]]> ``` ### Response Example (No menu to display) ```xml <![CDATA[No menu to display]]> ``` ``` -------------------------------- ### Example M3U file for MythTV Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html This M3U file defines channels from multiple transponders, including their XMLTV IDs. It can be used directly by MythTV's network recorder configuration. ```m3u #EXTM3U #EXTINF:0,1 - TV1 #EXTMYTHTV:xmltvid=tv1.freeviewnz.tv udp://192.168.2.101:1233 #EXTINF:0,2 - TV2 #EXTMYTHTV:xmltvid=tv2.freeviewnz.tv udp://192.168.2.101:1235 #EXTINF:0,6 - TVNZ 6 #EXTMYTHTV:xmltvid=tvnz6.freeviewnz.tv udp://192.168.2.101:1236 #EXTINF:0,7 - TVNZ 7 #EXTMYTHTV:xmltvid=tvnz7.freeviewnz.tv udp://192.168.2.101:1237 #EXTINF:0,3 - TV3 #EXTMYTHTV:xmltvid=tv3.freeviewnz.tv udp://192.168.2.101:1238 #EXTINF:0,4 - c4 #EXTMYTHTV:xmltvid=c4.freeviewnz.tv udp://192.168.2.101:1239 ``` -------------------------------- ### Send Action to CAM Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html This endpoint allows sending actions to the CAM module. It accepts a single integer GET parameter 'key' which specifies the action to perform. Possible keys include numbers 0-9, 'M' for menu, and 'C' for cancelling an enquiry. ```APIDOC ## GET /cam/action.xml ### Description Sends an action to the CAM module. The action is specified by the 'key' query parameter. ### Method GET ### Endpoint /cam/action.xml ### Parameters #### Query Parameters - **key** (string) - Required - The key representing the action to perform. Possible values: '0'-'9', 'M' (menu), 'C' (cancel enquiry). ### Response #### Success Response (200) - **datetime** (string) - The date and time the object was received. - **key** (string) - The key that was sent. - **result** (string) - The result of the action. Can be 'OK', 'ERROR: Unknown key!', 'ERROR: CAM not initialized!', or 'Compiled without CAM support'. ### Response Example ```xml ``` ``` -------------------------------- ### List All Configure Options Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Run this command to display all available configuration options for the build process. ```bash $ ./configure --help ``` -------------------------------- ### Get Channel by Number Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Retrieve a specific channel by its number (starting from 1). This method is compatible with players like xine and mplayer. ```bash vlc http://10.0.0.1:4242/bynumber/3 ``` -------------------------------- ### Build Documentation Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Command to generate HTML documentation files using asciidoc. ```bash make doc ``` -------------------------------- ### Get EIT Data Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html Retrieves the Electronic Program Guide (EPG) data in JSON format. This requires the `store_eit=1` configuration in the MuMuDVB configuration file. ```APIDOC ## GET /monitor/EIT.json ### Description Retrieves the Electronic Program Guide (EPG) data in JSON format. This endpoint is available if `store_eit=1` is set in the configuration. ### Method GET ### Endpoint /monitor/EIT.json ### Response #### Success Response (200) - The response contains EPG data structured according to the DVB stream data descriptors. Consult EN 300 468 for detailed structure. ### Response Example [See external example: http://www.mumudvb.net/doc/EIT/EIT_TNT_PARIS_20141209.json] ``` -------------------------------- ### Run MuMuDVB with Configuration File Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Launches MuMuDVB using a specified configuration file. The -c or --config option is required. ```bash mumudvb [options] -c config_file mumudvb [options] --config config_file ``` -------------------------------- ### MuMuDVB Help Option Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Displays the help message, showing all available command-line options. ```bash -h, --help Show help ``` -------------------------------- ### Scrambling Status Examples Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Examples of channel entries showing their scrambling status. This status indicates the percentage of scrambled packets for each stream. ```text 239.100.0.7:1234:ESCALES:PartiallyUnscrambled 239.100.0.8:1234:Fit/Toute l'Histoire:PartiallyUnscrambled 239.100.0.9:1234:NT1:PartiallyUnscrambled 239.100.0.10:1234:ACTION:PartiallyUnscrambled 239.100.0.11:1234:MANGAS:PartiallyUnscrambled 239.100.0.12:1234:ENCYCLOPEDIA:PartiallyUnscrambled 239.100.0.13:1234:XXL PL:PartiallyUnscrambled 239.100.0.14:1234:France 5:HighlyScrambled 239.100.0.16:1234:LCP:FullyUnscrambled 239.100.0.17:1234:VIDEOCLICK:FullyUnscrambled ``` -------------------------------- ### Enable and Configure MuMuDVB Webservices Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html Configure the internal webserver by setting unicast mode, IP address, and port. Use the %card template for dynamic port assignment when using multiple cards. Ports above 1024 can be used by unprivileged users. ```bash unicast=1 : Activate the internal webserver ip_http=127.0.0.1 : IP address for accepting the HTTP requests port_http=8005 : Listening port ``` ```bash port_http=4000+%card ``` -------------------------------- ### Build Simple MuMuDVB Docker Image Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.md Builds a basic MuMuDVB Docker image without extra features or tools. This is the simplest variant. ```bash docker build -t mumudvb:simple . ``` -------------------------------- ### Build MuMuDVB Docker Image with CAM and Tools (SAK) Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.md Builds a comprehensive MuMuDVB Docker image including CAM support and additional tools like w_scan and dvblast. It uses sed to uncomment relevant lines in the Dockerfile. ```bash sed -r 's_^#(cam|scam|tool);__g' Dockerfile | docker build -t mumudvb:sak . -f - ``` -------------------------------- ### Run MuMuDVB with GDB for Backtrace Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/FAQ.html Demonstrates how to run MuMuDVB under the GNU Debugger (GDB) to capture a backtrace in case of a crash. Essential for reporting critical bugs. ```bash (in your shell) gdb mumudvb (in GDB) run [your usual command line options] (MuMuDVB Runs as usual an crash) (in GDB) bt ``` -------------------------------- ### Capture Specific IPv6 Host Traffic Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Captures IPv6 traffic directed to or from a specific host address. This example filters for SAP IPv6 announcements. ```bash tcpdump -ni eth0 ip6 host FF05::2:7FFE ``` -------------------------------- ### Configure Hardware Descrambling with CAM Support Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Enable hardware descrambling by setting `cam_support=1` in your MuMuDVB configuration file. For scrambled channels, also specify the `pmt_pid` option. ```config cam_support=1 # For scrambled channels: pmt_pid = ``` -------------------------------- ### Launching MuMuDVB Command Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/QUICKSTART.html This command launches MuMuDVB with a specified configuration file. The '-d' flag enables debugging, and '-c' specifies the path to the configuration file. ```bash mumudvb -d -c __path to config file__ ``` -------------------------------- ### Access Transcoded Stream URL Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/TRANSCODE_EXTERNAL.html Example URL to access a transcoded stream served by FFserver. The format is typically http:///.asf. ```text http://192.168.100.100/tvfeed01.asf ``` -------------------------------- ### Play IPv6 Stream with VLC Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Plays an IPv6 multicast stream using VLC media player. Ensure VLC is installed and the stream address/port are correct. ```bash vlc -vvv --ipv6 udp://@\[ff15::1\]:1234 ``` -------------------------------- ### Build MuMuDVB Docker Image with CAM Support Source: https://github.com/braice/mumudvb/blob/mumudvb2/Docker/README.md Builds a MuMuDVB Docker image with CAM/SCAM support enabled. It uses sed to uncomment specific lines in the Dockerfile before building. ```bash sed -r 's_^#(cam|scam);__g' Dockerfile | docker build -t mumudvb:cam . -f - ``` -------------------------------- ### Software Descrambling Configuration Options Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html When using software descrambling solutions like sascng, adjust the `card` option to match your virtual DVB loopback card. Additional options like `--sid-nocache`, `--buffer 8M`, `--sid-filt=200`, and `-D` can improve performance. ```bash --sid-nocache --buffer 8M --sid-filt=200 -D ``` ```bash --sid-allpid ``` -------------------------------- ### Example scan output for PMT PIDs Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README_CONF.html This output block shows the tuning information and the identified PMT PID for various channels. The PMT PID is listed in hexadecimal format. ```text >>> tune to: 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_2_3:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE 0x0000 0x7850: pmt_pid 0x0110 Barcelona TV -- Barcelona TV (running) 0x0000 0x7851: pmt_pid 0x0710 COM Radio -- COM Radio (running) 0x0000 0x7855: pmt_pid 0x0210 TV L'Hospitalet -- TV L'Hospitalet (running) 0x0000 0x7856: pmt_pid 0x0510 Radio Hospitalet -- Radio Hospitalet (running) 0x0000 0x785a: pmt_pid 0x0310 Televisio Badalona -- Televisio Badalona (running) 0x0000 0x785b: pmt_pid 0x0610 Radio Ciutat Badalona -- Radio Ciutat Badal ``` -------------------------------- ### Get Channel by Service ID Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Access a channel using its unique service ID. A 404 error will be returned if no channel matches the provided ID. Compatible with xine and mplayer. ```bash vlc http://10.0.0.1:4242/bysid/100 ``` -------------------------------- ### MuMuDVB List Cards Option Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Lists available DVB cards detected by the system and exits. Use this to identify which card to specify with the --card option. ```bash -l, --list-cards List the DVB cards and exit ``` -------------------------------- ### EPG JSON Endpoint Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html This endpoint provides access to the Electronic Program Guide (EPG) data in JSON format. Ensure 'store_eit=1' is set in the configuration file to enable this service. ```json http://ip_http:port_http/monitor/EIT.json ``` -------------------------------- ### Enable SDT Rewriting Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Configuration option to enable SDT rewriting. This ensures only the streamed channel is announced in the Service Description Table, preventing ghost programs and random black screens. ```ini rewrite_sdt=1 ``` -------------------------------- ### Extended Decsa and Send Delays Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html Example configuration for extending decsa and send delays to manage buffer overflows, particularly for channels with high bandwidth. Adjust these values based on debug mode reports. ```ini decsa_delay=3500000 send_delay=4500000 ``` -------------------------------- ### CAM Initialized, No Menu XML Response Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html This XML response is returned when the CAM module is initialized but has no menu to display. It shows the last update time, CAM model, and a message indicating no menu is available. ```xml => Last update time/date => CAM model => No object to show <![CDATA[No menu to display]]> => Message about no menu to display ``` -------------------------------- ### Load ddbridge Driver with Specific Parameter Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html When encountering issues with Digital Devices Cine CT V6 cards where tuners are not detected, try loading the `ddbridge` driver with the `adapter_alloc=3` parameter to consolidate devices. ```bash sudo modprobe ddbridge adapter_alloc = 3 ``` -------------------------------- ### Enable SDT Rewriting in MuMuDVB Config Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/FAQ.html Use the `rewrite_sdt` option in your MuMuDVB configuration file to resolve issues where VLC doesn't select the correct program, even with PAT rewriting. ```ini rewrite_sdt ``` -------------------------------- ### Redirect Stream for Digital Devices Cine CT V6 Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README.html After loading the `ddbridge` driver, you may need to redirect streams from the frontend to the CI module. This is demonstrated with example `echo` commands targeting the `redirect` sysfs attribute. ```bash sudo echo "02 02" > /sys/class/ddbridge/ddbridge0/redirect sudo echo "03 03" > /sys/class/ddbridge/ddbridge0/redirect ``` -------------------------------- ### Example scan output for other PIDs Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/README_CONF.html This output block lists channels with their associated PIDs, including PCR, Video (V), Audio (A), and Teletext (TT) PIDs. Note that PIDs are in hexadecimal and may need conversion to decimal for MuMuDVB. ```text Sensacio FM (0x273f) 02: PCR == A A 0x0701 urBe TV (0x7864) 01: PCR == V V 0x0300 A 0x0301 (cat) Canal Catala Barcelona (0x7869) 01: PCR == V V 0x0200 A 0x0201 (cat) 25 TV (0x786e) 01: PCR == V V 0x0400 A 0x0401 (spa) TT 0x0402 ONDA RAMBLA PUNTO RADIO (0x786f) 02: PCR == A A 0x0601 (cat) Localia (0x7873) 01: PCR == V V 0x0100 A 0x0101 ONA FM (0x7874) 02: PCR == A A 0x0501 TV3 (0x0321) 01: PCR == V V 0x006f A 0x0070 (cat) 0x0072 (vo) 0x0074 (ad) TT 0x0071 AC3 0x0073 SUB 0x032b ``` -------------------------------- ### Configure Signal Strength in dBm for TBS Cards Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/FAQ.html Specify options in `/etc/modprobe.d/tbs.conf` to activate signal strength reporting in dBm for TBS cards. The signal strength will be in -1dB. ```bash options tbsfe dbm=1 options isl6423 dbm=1 ``` -------------------------------- ### JavaScript for Footnote Management Source: https://github.com/braice/mumudvb/blob/mumudvb2/doc/html/WEBSERVICES.html This JavaScript code handles the dynamic creation and management of footnotes on a webpage. It processes footnote references, generates corresponding footnote entries, and links them bidirectionally. The `install` function ensures this logic runs after the DOM is loaded. ```javascript var i; var noteholder = document.getElementById("footnotes"); if (!noteholder) { return; } var entriesToRemove = \[ \]; for (i = 0; i < noteholder.childNodes.length; i++) { var entry = noteholder.childNodes\[i\]; if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote") entriesToRemove.push(entry); } for (i = 0; i < entriesToRemove.length; i++) { noteholder.removeChild(entriesToRemove\[i\]); } // Rebuild footnote entries. var cont = document.getElementById("content"); var spans = cont.getElementsByTagName("span"); var refs = {}; var n = 0; for (i=0; i" + n + "\]"; spans\[i\].setAttribute("data-note", note); } noteholder.innerHTML += "
" + "" + n + ". " + note + "
"; var id =spans\[i\].getAttribute("id"); if (id != null) refs\["#"+id\] = n; } } if (n == 0) noteholder.parentNode.removeChild(noteholder); else { // Process footnoterefs. for (i=0; i" + n + "\]"; } } } } ``` ```javascript var timerId; function reinstall() { asciidoc.footnotes(); if (toclevels) { asciidoc.toc(toclevels); } } function reinstallAndRemoveTimer() { clearInterval(timerId); reinstall(); } timerId = setInterval(reinstall, 500); if (document.addEventListener) document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false); else window.onload = reinstallAndRemoveTimer; } ``` ```javascript asciidoc.install(2); ```