Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]seeking or not on dvb devices
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message

Joined: 17 Aug 2005
Posts: 1603
Location: Switzerland (Romandie)

PostPosted: Fri Sep 07, 2012 7:11 pm    Post subject: [solved]seeking or not on dvb devices Reply with quote

I try several things to setup mplayer to work with my multi-tuner dvb card. I cannot use something like "mplayer dvb://2@R1" because mplayer will look for the first tuner of the second card, and I want the second tuner of the first and only card.

At that time, it is a 3 steps setup:

1) Get some channels lists:
dvbscan /usr/share/dvb/dvb-t/ch-All -a 0 -f 1 -d 1 -o zap | tee
dvbscan /usr/share/dvb/dvb-s/Astra-19.2E -x 0 -t 1 -a 0 -o zap | tee

In 2 different terminals:
2) Tune a tuner:
tzap -a 0 -f 1 -d 1 -r "RTS Un" -c channels_ter.conf

szap -a 0 -r "Cubavision Internacional" -c channels_sat.conf

3) Watch the TV:
mplayer /dev/dvb/adapter0/dvr1

mplayer /dev/dvb/adapter0/dvr1

On the mplayer email list, someone tell me
don't play device files as if they were plain files, or mplayer will try
to seek on them.
Better use
$ cat /dev/dvb/adapter0/dvr1|mplayer -

This command work well, but mplayer quit when I change the channel with tzap or szap. So, I prefer the first one ("mplayer /dev/dvb/adapter0/dvr*") because I can change the channels without to have to restart mplayer.

I responded on the mplayer list about this issue, but didn't get any answer. So, what is the problem if any with something like "mplayer /dev/dvb/adapter0/dvr1"? Can such a command damage my hardware?

I am very confused because on the linux-tv wiki, they use "mplayer /dev/dvb/adapter0/dvr0".

EDIT: According to a discussion I get on irc #linuxtv@freenode, "mplayer /dev/dvb/adapter0/dvr1" is safe, it will not damage the hardware, and the messages about seek stream can be ignored.
[[[ To any NSA and FBI agents reading that text: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum