View Issue Details

IDProjectCategoryView StatusLast Update
0000112Cinelerra-GG[All Projects] Bugpublic2019-08-17 15:42
ReporterMatNAssigned Togoodguy 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionnot fixable 
Platformx86_64OSMintOS Version19.1
Product Version2018-12 
Target VersionFixed in Version 
Summary0000112: DVB-T recording fails, adapter open errors in terminal window
DescriptionI have an USB TV stick with the RTL2832 chip. The utility w_scan scans this chip and comes up with a list of knows stations, so I guess it it OK. It reports using dev/dvb/adapter0/frontend0 .

When I setup C-GG for DVB-T recording as per manual, start the scan for PAL EUROPE, if finds nothing. If I start cin from a terminal (under sudo or not) it shows errors:
AudioDevice::run_input: Success
DeviceDVBInput::open_dev: adaptor /dev/dvb/adapter0/ open failed

Note that it does not specify which device it fails to open. If I look in dev/dvb/adapter0/, I see 4 character devices: demux0, dvr0, frontend0, net0 . In the ¨scan confirm¨ window I set the frequency table, norm and input, but the input allows only ¨input0¨ . Could it be it tries to open that device in /dev/dvb/adapter0/ ?
I noticed that in source file devicedvbinput.C around line 120 there are the strings field, dvr, and demux.
Additional InformationIf you think this should be major instead of minor, please change. I set it to minor because I believe the main function of Cinelerra is video editing, and that is not affected by this.
TagsNo tags attached.

Activities

PhyllisSmith

PhyllisSmith

2019-08-17 15:42

manager   ~0002022

Closing this issue with a final update for now as broadcast television in the United States is not the same as in Europe and elsewhere, apparently. The current Cinelerra DVB code was written using the DVB Adapter - Hauppauge WinTV-HVR 950Q usb adapter, specifically the linux version.

The Ezcap device we received appears to be the same as Mat's (fc0013) but it does not scan here in the United States. Our broadcast uses ATSC and after looking through a lot of variants of linux code, it does not appear that the RTL2832 chip in the Ezcap handles ATSC. Mat's dmesg contains refernces to rtl2832_sdr, which is an api that gives more direct control over the tuner. GG was able to tune to a local FM station and receive audio. It was pretty crude, but it did work. He was not able to use the resulting DVB stream. The signal status never indicated a signal lock. There is a PLL (phase locked loop) that centers on the band and there are signal strength and burst error rates that create a definite detect
state when the FEC (forward error correction) detects a low error rate.

So in summary, closing this issue as unable to fix AT THIS TIME. Things may, and actually always do, change - just ask Bob The Dinosaur.
MatN

MatN

2019-01-16 11:07

reporter   ~0000610

1. The scan does not find any channels at all. Nothing appears in the scan list box or in the channel field of the monitor.
2. Using your file, I indeed get a selectable channel in the monitor and a list of channels in the scan window, but again a new scan does not find anything and the scan window becomes empty.
3. Using wireshark, I can see w_scan addressing the device (and getting blocks of 4K bulk data back when there is a signal), but Cinelerra does not, not at all. It is not addressing the device.

If you get such a device, following are my wireshark notes:
=================
1. User must be member of wireshark group
2. usbmon cannot filter during capture. Only display filtering is available.
3. Use ¨lsusb¨ to see which bus id / device address it is. Try to have the device of interest as only device on that bus, e.g. not together with a mouse and/or keyboard.
4. In display filter, set ¨usb.bus_id == 1 and usb.device_address == 4¨, adapt 1 and 4 as required.
==================
PhyllisSmith

PhyllisSmith

2019-01-15 23:02

manager   ~0000607

Attached is an example channels_dvb (so you can tune in to the US, ha, ha)

channels_dvb (11,764 bytes)
<?xml version="1.0"?>
<CHANNEL ENTRY=5 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>7.1 KMGH-TV (eng) a1</CHANNEL>
<CHANNEL ENTRY=5 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>7.1 KMGH-TV (spa) a2</CHANNEL>
<CHANNEL ENTRY=5 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>7.2 Azteca_ (eng)</CHANNEL>
<CHANNEL ENTRY=5 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>7.3 LAFF-TV (eng)</CHANNEL>
<CHANNEL ENTRY=7 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>9.1 KUSA-HD (eng) a1</CHANNEL>
<CHANNEL ENTRY=7 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>9.1 KUSA-HD (eng) a2</CHANNEL>
<CHANNEL ENTRY=7 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>9.2 Cozi___ (eng)</CHANNEL>
<CHANNEL ENTRY=7 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>9.3 Justice (eng)</CHANNEL>
<CHANNEL ENTRY=7 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>9.5 Quest__ (eng)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>39.1 CTN-HD_ (...)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>39.2 LFST___ (...)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>39.3 CTNi___ (...)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>33.1 CTN-HD_ (...)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=4 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>33.2   LFST_ (...)</CHANNEL>
<CHANNEL ENTRY=9 ELEMENT=5 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>33.3  CTNi__ (...)</CHANNEL>
<CHANNEL ENTRY=11 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>12.1 KBDI-DT (eng)</CHANNEL>
<CHANNEL ENTRY=11 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>12.2 KBDI+__ (eng)</CHANNEL>
<CHANNEL ENTRY=11 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>12.3 KBDI WV (eng)</CHANNEL>
<CHANNEL ENTRY=11 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>12.4 NHK____ (eng)</CHANNEL>
<CHANNEL ENTRY=13 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>14.1 KCEC    (spa) a1</CHANNEL>
<CHANNEL ENTRY=13 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>14.1 KCEC    (mul) a2</CHANNEL>
<CHANNEL ENTRY=13 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>14.2 Bounce  (eng)</CHANNEL>
<CHANNEL ENTRY=13 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>14.3 GetTV   (eng)</CHANNEL>
<CHANNEL ENTRY=13 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>14.4 Escape  (eng)</CHANNEL>
<CHANNEL ENTRY=15 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>7.1 KMGH-TV (eng) a1</CHANNEL>
<CHANNEL ENTRY=15 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>7.1 KMGH-TV (spa) a2</CHANNEL>
<CHANNEL ENTRY=15 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>7.2 Azteca_ (eng)</CHANNEL>
<CHANNEL ENTRY=15 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>7.3 LAFF-TV (eng)</CHANNEL>
<CHANNEL ENTRY=21 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>3.1 KCDO___ (...)</CHANNEL>
<CHANNEL ENTRY=21 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>3.2 GRIT___ (...)</CHANNEL>
<CHANNEL ENTRY=21 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>3.3 BUZZR__ (...)</CHANNEL>
<CHANNEL ENTRY=21 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>10.1 LIGHT__ (...)</CHANNEL>
<CHANNEL ENTRY=21 ELEMENT=4 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=4 AUDIO_PID=20 VIDEO_PID=17>10.3 jTV____ (...)</CHANNEL>
<CHANNEL ENTRY=26 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>50.1 KTFD    (spa) a1</CHANNEL>
<CHANNEL ENTRY=26 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>50.1 KTFD    (mul) a2</CHANNEL>
<CHANNEL ENTRY=26 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>50.2 LATV    (spa)</CHANNEL>
<CHANNEL ENTRY=26 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>50.3 Stadium (eng)</CHANNEL>
<CHANNEL ENTRY=27 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>25.1 KDEN-DT (eng)</CHANNEL>
<CHANNEL ENTRY=27 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>25.2 Exitos  (eng)</CHANNEL>
<CHANNEL ENTRY=27 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>25.3 COZI    (eng)</CHANNEL>
<CHANNEL ENTRY=32 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>2.1 KWGN-DT (eng) a1</CHANNEL>
<CHANNEL ENTRY=32 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>2.1 KWGN-DT (spa) a2</CHANNEL>
<CHANNEL ENTRY=32 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>2.2 THISTV  (eng)</CHANNEL>
<CHANNEL ENTRY=32 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>2.3 COMET   (eng)</CHANNEL>
<CHANNEL ENTRY=32 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>2.4 CHARGE  (eng)</CHANNEL>
<CHANNEL ENTRY=33 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>4.1 KCNC-TV (eng) a1</CHANNEL>
<CHANNEL ENTRY=33 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>4.1 KCNC-TV (spa) a2</CHANNEL>
<CHANNEL ENTRY=33 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>4.2 StartTV (eng) a1</CHANNEL>
<CHANNEL ENTRY=33 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>4.2 StartTV (eng) a2</CHANNEL>
<CHANNEL ENTRY=36 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>38.1 KPJR-1_ (eng)</CHANNEL>
<CHANNEL ENTRY=36 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>38.2 KPJR-2_ (eng)</CHANNEL>
<CHANNEL ENTRY=36 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>38.3 KPJR-3_ (eng)</CHANNEL>
<CHANNEL ENTRY=36 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>38.4 KPJR-4_ (eng)</CHANNEL>
<CHANNEL ENTRY=36 ELEMENT=4 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=4 AUDIO_PID=20 VIDEO_PID=17>38.5 KPJR-5_ (eng)</CHANNEL>
<CHANNEL ENTRY=39 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>3.1 KCDO___ (...)</CHANNEL>
<CHANNEL ENTRY=39 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>3.2 GRIT___ (...)</CHANNEL>
<CHANNEL ENTRY=39 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>3.3 BUZZR__ (...)</CHANNEL>
<CHANNEL ENTRY=39 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>10.1 LIGHT__ (...)</CHANNEL>
<CHANNEL ENTRY=39 ELEMENT=4 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=4 AUDIO_PID=20 VIDEO_PID=17>10.3 jTV____ (...)</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=0 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>59.1 ION____ (eng) a1</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=0 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=1 VIDEO_STREAM=0 AUDIO_PID=20 VIDEO_PID=17>59.1 ION____ (spa) a2</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=2 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>59.2 qubo___ (eng) a1</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=1 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=3 VIDEO_STREAM=1 AUDIO_PID=20 VIDEO_PID=17>59.2 qubo___ (spa) a2</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=2 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=4 VIDEO_STREAM=2 AUDIO_PID=20 VIDEO_PID=17>59.3 IONLife (eng)</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=3 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=5 VIDEO_STREAM=3 AUDIO_PID=20 VIDEO_PID=17>59.4 Shop___ (eng)</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=4 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=6 VIDEO_STREAM=4 AUDIO_PID=20 VIDEO_PID=17>59.5 HSN____ (eng)</CHANNEL>
<CHANNEL ENTRY=41 ELEMENT=5 FREQTABLE=0 FINE_TUNE=0 INPUT=0 NORM=0 DEVICE_INDEX=0 TUNER=0 AUDIO_STREAM=7 VIDEO_STREAM=5 AUDIO_PID=20 VIDEO_PID=17>59.6 QVC____ (eng)</CHANNEL>
channels_dvb (11,764 bytes)
PhyllisSmith

PhyllisSmith

2019-01-15 22:51

manager   ~0000605

Does the channel list box display channels numbers that it did find? Is it obvious that the probe is succeeding? When you say it last scanned channel 69, was that included in the listbox? You MUST click OK for a file named "channel_xxx" where xxx is probably dvb to be created in $HOME/.bcast5. When/if you do get a channel file, make a copy of it somewhere else so you do not have to scan again.

We ordered from dealextreme the DVB USB receiver that may be close enough. It will be fun for gg to play with in any case! I looked at Features5 and the screenshots are pathetic. If time permits, which it probably will not, I will see if gg can make a sample of what we see.
MatN

MatN

2019-01-15 21:51

reporter   ~0000603

@Phyllis,
1. I have a scan button when I use the 201812 release download (installed via the update manager). If I download that source (have not tried current git) and do a debug build, I don´t see a scan button.

2. I did hit the scan button of the 201812 release, but there was no new file appearing in the .bcast5 directory. Is that where the channel file should be? Are you sure the file should be created when you just hit the scan button?

3. If I start cin from a terminal, when scanning is in progress you see an increasing channel number plus failure, like:

set_channel 66
DeviceDVBInput::open_dev: adaptor /dev/dvb/adapter0 open failed

Eventually the scan finished with channel 69 (looks right for PAL UHF), and then there were still the original "open failed" errors after that . I don´t know if they ever stopped, because I couldn´t see movement, but you don´t see that if the terminal size is just right. And given that the scan shows the channel numbers OK, why is a channel file needed before any stations are found? I though such a file stored the actually found stations, like the w_scan output, and the PAL EUROPE definitions held the possible frequencies to look for stations.

4. Of course I have an antenna attached, and w_scan finds the local available channels.
PhyllisSmith

PhyllisSmith

2019-01-15 20:28

manager   ~0000601

MatN: "Debugging shows that in devicedvbinput, line 251/252, it tries to get first the channel (which fails) and channel table (which also fails)."

Did you hit the "Scan" button? You have to click on the Scan button first which creates the channel table. But more importantly do you even see the "Scan" button? GG tested something here and there was no Scan button -- he is looking at that code right now.

In order to Scan, this must exist:
  1) an antenna ! for something to scan
  2) a set of frequencies that are available

We are going to try to find a similar device.
MatN

MatN

2019-01-14 15:49

reporter   ~0000599

I have some more details. The error already occurs when I just bring up the record screen. Debugging shows that in devicedvbinput, line 251/252, it tries to get first the channel (which fails) and channel table (which also fails). But there is no channel yet in the video monitor field (I presume that is what get_channel() does, have not trace in there), and the channel table doesn't exist yet, so variable "ret" is set to 1 and the error reported, continuously.
Also, because both fail, there is no point in to keep calling this routine.

Is the Cinelerra channel table compatible with some other common dvb-t channel table. like vdr´s channel.conf . w_scan supports various formats, so maybe I can create a Cinelerra-compatible table, see if that fixes it.
MatN

MatN

2019-01-14 15:16

reporter   ~0000598

The TV stick is an EZCAP EZTV688. But model numbers tend to vary. I bought it at dealextreme in 2012.
It looked like (not the same)
https://www.dx.com/p/mini-dvb-t2-usb-dvb-t-t2-c-digital-tv-receiver-w-fm-dab-antenna-white-black-2037700
but this one has a different tuner inside. They all have a RTL2832U chip, but the tuner varies. Mine has an FC0013 according to dmesg, nowadays the better R820T is used. I bought it for SDR purposes, but have not looked at if there are any programming differences between the tuner chips.

The dmesg output is (when rebooted with the device inserted):

usb 5-1: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[ 6.169667] usb 5-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[ 6.169683] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
[ 6.173903] i2c i2c-4: Added multiplexed i2c bus 5
[ 6.173905] rtl2832 4-0010: Realtek RTL2832 successfully attached
[ 6.173918] usb 5-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[ 6.175977] fc0013: Fitipower FC0013 successfully attached.
[ 6.178607] media: Linux media interface: v0.10
[ 6.182380] Linux video capture interface: v2.00
[ 6.186694] rtl2832_sdr rtl2832_sdr.0.auto: Registered as swradio0
[ 6.186695] rtl2832_sdr rtl2832_sdr.0.auto: Realtek RTL2832 SDR attached
[ 6.186697] rtl2832_sdr rtl2832_sdr.0.auto: SDR API is still slightly experimental and functionality changes may follow

I am slightly puzzled by the rtl2832_sdr entries. Could it be that software has claimed the device? I have no SDR software of any kind running.

In addition, I have now built a debug version of cin5, and it seems to run under the gede debugger. I´ll see if I can find something, time permitting.
PhyllisSmith

PhyllisSmith

2019-01-13 23:36

manager   ~0000594

GG is very interested in this! He says the "input" code does not really do anything except find the device which is what you see: "AudioDevice::run_input: Success" - he did not get any further in initially getting this particular section to work. However, we use this recording technique on our broadcast TV and use it 2-3 times a week. Of course, what we use is NTSC instead of Pal-Europe. But the stuff for Pal-Europe is there.

Do you have a model number for your USB TV stick? We would like to get the same one in order to test this.

Issue History

Date Modified Username Field Change
2019-01-13 21:33 MatN New Issue
2019-01-13 23:30 PhyllisSmith Assigned To => goodguy
2019-01-13 23:30 PhyllisSmith Status new => assigned
2019-01-13 23:36 PhyllisSmith Note Added: 0000594
2019-01-14 15:16 MatN Note Added: 0000598
2019-01-14 15:49 MatN Note Added: 0000599
2019-01-15 20:28 PhyllisSmith Note Added: 0000601
2019-01-15 21:51 MatN Note Added: 0000603
2019-01-15 22:51 PhyllisSmith Note Added: 0000605
2019-01-15 23:02 PhyllisSmith File Added: channels_dvb
2019-01-15 23:02 PhyllisSmith Note Added: 0000607
2019-01-16 11:07 MatN Note Added: 0000610
2019-08-17 15:42 PhyllisSmith Status assigned => closed
2019-08-17 15:42 PhyllisSmith Resolution open => not fixable
2019-08-17 15:42 PhyllisSmith Note Added: 0002022