Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mplayer and tv
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
gsfgf
Veteran
Veteran


Joined: 08 May 2002
Posts: 1266

PostPosted: Tue Jan 21, 2003 12:47 am    Post subject: mplayer and tv Reply with quote

How do i use mplayer w/ tv?
i started it with
Code:

 mplayer -tv on:driver=v4l:device=/dev/video0

but i get poor audio (w/ skips) and a green screen instead of video. How di i fix this?
Is there a way to change chanels w/out restrting?
Is ther a page that covers this. The man page wasn't detailed on this kinda stuff.
TV works fine w/ tvtime, but i want to be able to use mplayer to record.
Back to top
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Tue Jan 21, 2003 1:52 am    Post subject: I used mencoder to record for a bit... Reply with quote

Is that the entire command line you're using? Mplayer also needs to be told the channel list, norm, and input to use. Input is numeric and should be 0 for most cards, norm depends on your local video standard (NTSC or PAL), and channel list depends on your source. The channel list names you can select in XawTV should work for mplayer as well. I used to use a wrapper script to use mplayer with webvcr, but I've since switched to lavrec. Mencoder was somehow making 30fps videos, even though my source (NTSC) was 29.97fps, and I would later have sync problems when I tried to edit them. That was around 0.90_pre10, I don't know if that problem is fixed in current mencoder ;-)
Back to top
View user's profile Send private message
encrypted
n00b
n00b


Joined: 15 Jan 2003
Posts: 3
Location: Johannesburg

PostPosted: Tue Jan 21, 2003 1:56 am    Post subject: Reply with quote

Mplayer IMHO isnt the best thing for tv recording. I would suggest something like xawtv or ffmpeg. These tools are also a bit easier to use. You'll find both of those in the portage tree.
_________________
--------------------------------
End Of Encrypted message
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Jan 21, 2003 2:21 am    Post subject: Reply with quote

Moved from Desktop Environments.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
weltraumfahrer
Apprentice
Apprentice


Joined: 17 Dec 2002
Posts: 195
Location: Karlsruhe, Germany

PostPosted: Tue Jan 21, 2003 6:09 pm    Post subject: Reply with quote

Hi,
i am looking TV with the output of an VHS-Videorecorder.
My mplayer commandline is:

mplayer -tv on:driver=v4l:width=768:height=576:outfmt=i420:input=3 -vc rawi420 -vo xv -vop pp=0x20000 -quiet -double -dr -fs

(all in one line;-)

look at the -tv option in the mplayer manual
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