LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-23-2003, 12:19 AM   #1
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Changing TV channels in mplayer/mencoder


Any ideas? I've tried the obvious up/down arrow keys and pgup and pgdn keys with no luck...

Also, I must be doing something wrong, so if anyone can pick apart my syntax and suggest something that'd be greatly appreciated (I will post the problem after the syntax):
Code:
mencoder -tv on:chanlist=us-cable:channel=16:channels=13-Fox,11-UPN,16-WB,8-Disc:driver=v4l:width=720:height=480:norm=ntsc:forceaudio:amode=1:adevice=/dev/dsp  \
-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1100 -oac mp3lame \
-lameopts cbr:br=128 -vop scale=512:340,pp=tn/lb -sws 1 -o output.avi
With that I am assuming that I will record channel 16; however it records the last channel played with mplayer specifically. It does not even default to the last channel played with xawtv, it goes with whatever mplayer last played.

If anyone has any suggestions or ideas, I'd appreciate reading them.

Thanks
 
Old 04-23-2003, 06:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
like i said in that programming thread, mixing channels and channel is a no go afaik.

but why are you bothering to include a channels set when you're only going to record anyway? you can't change it half way through etc....

you might benefit from looking at my http://thirtythreeandathird.net/simple script, if it's still at that location to see how i do it. it's more indepth than what you're after but you should be able to see the core recording parameters easily enough.

Coal
 
Old 04-23-2003, 09:23 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
Thanks, I'm currently getting the required perl modules and will check out your 'simple.pl' script

However, if just playing tv with mplayer, how would one change channels?

Cool-aid
 
Old 04-24-2003, 03:13 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
can i suggest an rtfm? i *think* the channel hotkeys are h for down and L for up.... not sure... at the moment m,player can't bind numberpad keys, i've spoken to the dev's about this and they're hopefully going to add it then. then it should be easy enough to have one button per channel like xawtv.

that script is only for england, might be worth flicking through the code though...
 
Old 04-24-2003, 08:31 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Original Poster
Rep: Reputation: 64
I did, actually that's where I got all my options from; however I must have missed the section on channel flipping

FYI, it's H and K for me.

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer, mencoder and libmp3lame conn-fused Mandriva 7 11-14-2005 07:18 AM
MPlayer won't use all 6 channels DeNayGo Linux - Software 1 06-26-2005 02:17 PM
Installing Mplayer/Mencoder NomadABC Linux - Software 4 02-20-2005 12:16 PM
two questions about MENCODER and MPLAYER v2lk Linux - Software 6 06-26-2004 06:04 PM
Changing channels on a Cisco Aironet 350 w/Redhat 9.0 garlick Linux - Wireless Networking 6 03-30-2004 10:55 AM


All times are GMT -5. The time now is 04:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration