LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-21-2003, 09:41 PM   #1
trpn
Member
 
Registered: Oct 2002
Posts: 31

Rep: Reputation: 15
mplayer and watching tv


has anyone here have experience with watching tv with mplayer... my problem is that xawtv is not actually working in full screen even when I have load "v4l" in my xconfig file... mplayer however works in full screen and I have gotten it to work with full tv capabilities except for one thing. When I am watching tv the audio and the video are not in sync the audio seems to be about 1 second ahead of the video output...
this is the command that I am using to start mplayer with tv
mplayer -tv on:driver=v4l:norm=ntsc:chanlist=us-cable:channels=2-2,3-3,4-4,5-5,6-6,7-7,8-8,9-9,10-10,11-11,12-12,13-13,14-14,15-15,16-16,17-17,18-18,19-19,20-20,21-21,22-22,23-23,24-24,25-25,26-26,27-27,28-28,29-29,30-30,31-31,32-32,33-33,34-34,35-35,36-36,37-37,38-38,39-39,40-40,41-41,42542,43-43,44-44,45-45,46-46,47-47,48-48,49-49,50-50,51-51,52-52,53-53,54-54,55-55,56-56,57-57,58-58,59-59,60-60:height=480:width=640: -vo xv
and by the way I am using the bttv modules to enable v4l
any ideas on what I can do to either get the sound synced or run xawtv in full screen?
 
Old 03-21-2003, 11:03 PM   #2
Mustaf
LQ Newbie
 
Registered: Mar 2003
Location: Wash DC
Posts: 9

Rep: Reputation: 0
there are certain tyopes of modes that are needed for this to run correctly:

you will have to try something different like:

mplayer -tv on:driver=v4l:driver=v3d:norm=vtsc and the like for this to work... do a man and check the different options you have at your fingertimps.... these new flags that you may not have seen before will set your sync just right (hopefully) or you may have to try some different ones to get it right... keep playing with it... this is like trying to find cube roots.... there are no good formulas just a lot of the elbow greese.
 
Old 03-22-2003, 05:52 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
'scuse my language btw wtf is that channels= statement meant to mean??? that's just gibberish... you want something like
Code:
channels=46-bbc1,40-bbc2,43-itv,50-ch4,37-5ive
as for sound sync, there certainly should be no reason that sound should be off when you're using a live stream. how are you using the audio for the card? via a patch cable to your sound card or using the btaudio sound driver? it really shouldn't be at all possible......
 
Old 03-22-2003, 12:53 PM   #4
trpn
Member
 
Registered: Oct 2002
Posts: 31

Original Poster
Rep: Reputation: 15
i don't know the names of all the channels in my area and just having chanlist=us-cable causes mplayer to crash when i try to change channels... so I had to use that long list 2-2 means that i will get "2" on the osd ... anyways it is a cable from the tv tuner to the sound card ... so i guess I am not using the btaudio driver... also ... sound is synced at the beginning, however i can see it drop frames and eventually become out of sync... I looked all over the mailing lists and docs but it only said something about system clocks making the a/v out of sync (NTP) but i know i don't have ntp installed...
xawtv however works but "fullscreen 640x480" in my config makes it go to 640x480 on the desktop so i have to move my mouse to center the video screen (the desktop becomes huge, bigger than my monitor and moving the mouse causes it to follow)
 
  


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
Thread Watching judge_neo LQ Suggestions & Feedback 1 11-02-2004 06:31 AM
Crappy resolution when watching DVD's with mplayer henrikanttonen Linux - Software 2 08-06-2004 06:35 PM
Watching TV on RH Linux 9 b_suny Linux - Software 2 03-22-2004 10:17 PM
Problem watching dvd in mplayer vijayaramanl Linux - Newbie 5 11-06-2003 01:18 PM
watching tv in linux Muddy Linux - General 46 10-20-2003 09:44 PM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration