From: Jelle de Jong <jelledejong@powercraft.nl>
To: Antti Palosaari <crope@iki.fi>
Cc: video4linux-list@redhat.com
Subject: Re: one dvb-t devices not working with mplayer the other is, what is going wrong?
Date: Sat, 25 Apr 2009 11:43:44 +0200 [thread overview]
Message-ID: <49F2DB50.5090003@powercraft.nl> (raw)
In-Reply-To: <49F2D25B.80801@iki.fi>
[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]
Antti Palosaari wrote:
> On 04/25/2009 11:54 AM, Jelle de Jong wrote:
>> Hmm, I used the latest Debian kernel available in unstable and
>> experimental, so I used the stock kernel. If this is to old I cant really
>> help this and have to wait until Debian releases a new kernel. There is
>> no residue in my current kernel of any em28xx code its a complete clean
>> stock Debian kernel.
>>
>> I don't know about the age of the firmware, but I believe its extracted
>> from the kernel code it tells me:
>> [ 4689.481452] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
>> [ 4689.975618] af9013: firmware version:4.65.0
>
> Firmware is not delivered with Kernel. You can download various firmware
> version from, but newest is the best. If you need remote and you have
> problems with remote you can test older ones.
> http://palosaari.fi/linux/v4l-dvb/firmware/af9015/
>
>> Ignore the em28xx devices they have proprietary code, and is not
>> mainstream developed, no use wasting energy on that. Been there, done that.
>>
>> What is your kernel and firmware version? Is there a way to easily add a
>> newer firmware file without recompilation?
>
> Yes, it is only file usually in /lib/firmware/
>
> According to attached log it does not lock to the 722000000 MHz. Could
> you try tzap -r "3FM(Digitenne)" and then mplayer /dev/dvb/adapter0/dvr0
> from other window whil tzap is running. tzap should inform if it locks
> and also some signal values.
> There could be many reasons why it does not lock, most typical a little
> too weak signal. Is there any other stream in same frequency which works?
>
> regards
> Antti
I updated the firmware, did all my test again, still exactly the same
issue! The stream plays with totem-xine but not with mplayer. tzap and
mplayer do work. (this all works with em28xx devices)
I attached my logs.
Any ideas, does mplayer works directly with dvb on your side so without tzap:
$ /usr/bin/mplayer -dvbin timeout=10 dvb://"3FM(Digitenne)"
Cheers,
Jelle
[-- Attachment #2: test1.txt --]
[-- Type: text/plain, Size: 7689 bytes --]
$ tzap -r "3FM(Digitenne)"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/jelle/.tzap/channels.conf'
tuning to 722000000 Hz
video pid 0x0000, audio pid 0x1be6
status 02 | signal a080 | snr 010e | ber 00000000 | unc 00000000 |
status 1f | signal a080 | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 0078 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 0078 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
....
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
^C
------------------------------------------------------------------------
$ mplayer /dev/dvb/adapter0/dvr0
MPlayer dev-SVN-r29170Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /dev/dvb/adapter0/dvr0.
TS file format detected.
NO VIDEO! AUDIO MPA(pid=7142) NO SUBS (yet)! PROGRAM N. 0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:8991.0 ( 2:29:51.0) of -0.0 (unknown) 6.7%
Exiting... (Quit)
------------------------------------------------------------------------
$ /usr/bin/mplayer -dvbin timeout=10 dvb://"3FM(Digitenne)"
MPlayer dev-SVN-r29170Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing dvb://3FM(Digitenne).
dvb_tune Freq: 722000000
Not able to lock to the signal on the given frequency, timeout: 10
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL 7: Failed to open dvb://3FM(Digitenne).
Exiting... (End of file)
------------------------------------------------------------------------
wget http://palosaari.fi/linux/v4l-dvb/firmware/af9015/4.95.0.0/dvb-usb-af9015.fw
sudo rm --verbose /lib/firmware/dvb-usb-af9015.fw
removed `/lib/firmware/dvb-usb-af9015.fw'
sudo cp --verbose ~/dvb-usb-af9015.fw /lib/firmware/
`/home/jelle/dvb-usb-af9015.fw' -> `/lib/firmware/dvb-usb-af9015.fw'
sudo chmod 644 --verbose /lib/firmware/dvb-usb-af9015.fw
mode of `/lib/firmware/dvb-usb-af9015.fw' retained as 0644 (rw-r--r--)
------------------------------------------------------------------------
[ 1619.746043] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully deinitialized and disconnected.
[ 1746.568052] usb 1-2: new high speed USB device using ehci_hcd and address 8
[ 1746.703983] usb 1-2: New USB device found, idVendor=15a4, idProduct=9016
[ 1746.703991] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1746.703996] usb 1-2: Product: DVB-T
[ 1746.704000] usb 1-2: Manufacturer: Afatech
[ 1746.704225] usb 1-2: configuration #1 chosen from 1 choice
[ 1746.718343] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[ 1746.718356] usb 1-2: firmware: requesting dvb-usb-af9015.fw
[ 1746.735745] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[ 1746.804024] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 1746.804114] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 1746.804579] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 1747.209976] af9013: firmware version:4.95.0
[ 1747.214477] DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
[ 1747.217517] MT2060: successfully identified (IF1 = 1220)
[ 1747.691859] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 1747.706218] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8
[ 1747.706934] input: Afatech DVB-T as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.1/input/input14
[ 1747.737351] generic-usb 0003:15A4:9016.0006: input,hidraw0: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-2/input1
------------------------------------------------------------------------
$ /usr/bin/mplayer -dvbin timeout=10 dvb://"3FM(Digitenne)"
MPlayer dev-SVN-r29170Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing dvb://3FM(Digitenne).
dvb_tune Freq: 722000000
Not able to lock to the signal on the given frequency, timeout: 10
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL 7: Failed to open dvb://3FM(Digitenne).
Exiting... (End of file)
------------------------------------------------------------------------
$ tzap -r "3FM(Digitenne)"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/home/jelle/.tzap/channels.conf'
tuning to 722000000 Hz
video pid 0x0000, audio pid 0x1be6
status 02 | signal 9040 | snr 0000 | ber 00000000 | unc 00000000 |
status 1f | signal 9040 | snr 0000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 0078 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 0078 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
...
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal ffff | snr 010e | ber 00000000 | unc 00000000 | FE_HAS_LOCK
^C
------------------------------------------------------------------------
$ mplayer /dev/dvb/adapter0/dvr0
MPlayer dev-SVN-r29170Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /dev/dvb/adapter0/dvr0.
TS file format detected.
NO VIDEO! AUDIO MPA(pid=7142) NO SUBS (yet)! PROGRAM N. 0
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 20000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:9344.4 ( 2:35:44.4) of -0.0 (unknown) 48.9%
MPlayer interrupted by signal 2 in module: decode_audio
A:9344.5 ( 2:35:44.5) of -0.0 (unknown) 49.2%
Exiting... (Quit)
[-- Attachment #3: Type: text/plain, Size: 164 bytes --]
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2009-04-25 9:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 17:18 one dvb-t devices not working with mplayer the other is, what is going wrong? Jelle de Jong
2009-04-03 17:58 ` Jelle de Jong
2009-04-08 7:20 ` Jelle de Jong
2009-04-24 12:37 ` Jelle de Jong
2009-04-24 18:18 ` Antti Palosaari
2009-04-25 8:00 ` Jelle de Jong
2009-04-25 8:17 ` Antti Palosaari
2009-04-25 8:54 ` Jelle de Jong
2009-04-25 9:05 ` Antti Palosaari
2009-04-25 9:43 ` Jelle de Jong [this message]
2009-04-25 9:50 ` Antti Palosaari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49F2DB50.5090003@powercraft.nl \
--to=jelledejong@powercraft.nl \
--cc=crope@iki.fi \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox