View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Apr 28, 2005 2:39 pm 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
Hope this is the correct group.

Live TV is working as it should, with audio and video in sync.

But when playing a normal mpg og avi file, the audio is coming to early compared to the video :( I am not sure but it looks like the audio is always like 2-3 seconds to early.

Any ideas how to solve this ?

Another thing, how to control the replay of video's in mplayer the keyboard does nothing

Best regards
theDiver


Top
 Profile  
 
PostPosted: Thu Apr 28, 2005 5:02 pm 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
I'm using mythvideo under R5A12 and so far have no problems with a/v sync. I can also use the left/right keys for small jumps and the page-up/page-down keys for large jumps.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 28, 2005 11:56 pm 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
Hi Brendan

Those keys work perfectly well when watching live TV og replaying recorded TV, and the sync is perfect as well.

But when playing maybe a little movie downloaded from Pixar.com (i love 'for the birds') then mplayer is started, and i got no control and video/audio is out of sync :-(

Do you use Mplayer to replay .mpg and .avi files or the internal player ?

I use R5A12 with a hauppauge 350 car don a P3 1 GHz machine.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:36 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
theDiver wrote:
Hi Brendan

Those keys work perfectly well when watching live TV og replaying recorded TV, and the sync is perfect as well.

But when playing maybe a little movie downloaded from Pixar.com (i love 'for the birds') then mplayer is started, and i got no control and video/audio is out of sync :-(

Do you use Mplayer to replay .mpg and .avi files or the internal player ?

I use R5A12 with a hauppauge 350 car don a P3 1 GHz machine.


Yes, I use the default options for mythvideo on R5A12, which is mplayer with a couple command line options. The only things I've put up there are the UK sat broadcasts of battlestar galactica (higher def, but not quite hdtv level). keyboard control works fine, audio is in sync. System is a Athlon64 3400+, IIRC. Output is via the FX5200's VGA port.

If it weren't for the missing keyboard control, I'd suggest that perhaps the system might be underpowered, but that lack of keyboard control is weird. You did not, perhaps, apt-get install or apt-get upgrade something that replaced your mplayer binary, did you?

On my R5A12 system, this is my mplayer:

Code:
root@mythtv-backend-1:~# ls -al /usr/local/bin/mplayer
-rwxr-xr-x  1 root root 5232428 Jul 30  2004 /usr/local/bin/mplayer

...

root@mythtv-backend-1:~# mplayer --version
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices  2200 MHz (Family: 8, Stepping: 0)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
You added '--' but no filenames presented!


(yes, the --version isn't valid, but it worked, didn't it? <grin> )

Oh wait, you're outputting via the PVR-350? That's not going to work well except with mpeg-2 streams, from what I understand.

Still not sure what the problem with the keyboard is, other than perhaps mplayer and the ivtv framebuffer driver don't know how to talk about skipping related issues (ff/rw) on non-mpeg2 streams, and so mplayer doesn't even try?

IIRC, using the PVR-350 TV out seems to be useful only for folks using mythtv for tivo-replacement types of video usage only. Since I was planning to use the knoppmyth box for dvd, random net-obtained video and hdtv, I chose to go with the accelerated nvidia driver's VGA/TV out options (using the FX5200).

-brendan


Last edited by brendan on Fri Apr 29, 2005 7:56 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 7:45 am 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
Hi again,

Here is the same info from my system, looks the same to me.

Code:
root@mythtvserver:/home/disky# ls -al /usr/local/bin/mplayer
-rwxr-xr-x  1 root root 5232428 Jul 30  2004 /usr/local/bin/mplayer
root@mythtvserver:/home/disky# mplayer --version
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville 997.3 MHz (Family: 6, Stepping: 6)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
You added '--' but no filenames presented!


I wonder if my wireless USB keyboard has something to do with it ?

I can control MythTV without problems, but not Mplayer, very strange.

What player string do you have in the Myth setup ?

Would you be so kind and post your mplayer config file ?

I actually did reinstall R5A12 because i had 'apt-get install mplayer' and then it did not work, sp i hoped a reinstall would help.


Do you think that buying a cheap nvidia GFX card with tv-out would help me ?

p.s. have a nice weekend.

Best regards
Søren Reinke

Do you have problems with audio and video out of sync ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 8:01 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
After posting, I updated my post with some comments about the use of PVR-350 for tv-out. I'm pretty sure that's your problem, since I haven't modified my mythtv mplayer command lines nor my mplayer configuration files at all.

I'd suggest a cheap (<$50) fanless FX5200. :)

Edit (AGAIN): when you reinstalled R5A12, did you do a mythbackup first and then a mythrestore? If so, maybe you are on to something about the mplayer configuration. Because if the newer mplayer wrote out options to .mplayer/config in the mythtv user's directory, that could be a problem.

My ~mythtv/.mplayer/config file is essentially empty:

Code:
sh-3.00$ more ~mythtv/.mplayer/config
# Write your default config options here!


sh-3.00$


What's yours? If not empty, perhaps it should be. If that doesn't fix it, though, I suspect the mplaer/ivtv-fb/PVR-350 attempting to playback non-mpeg2 streams is the problem.

Also, to see my mythtv's mythvideo config/command lines, I'd have to go to the console, which I can't do right now. But basically, it's currently the default settings for R5A12.

-brendan


Last edited by brendan on Fri Apr 29, 2005 8:06 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 8:04 am 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
Ahh so you did update it.

I was wondering after my post if i had miss that part :-)

I really wonder if using the 350 has anything to do with the controlling of mplayer, strange.

But a new GFX card it will be (only problem it has to be a low profil one to fit my Dell desktop machine)

Thanks for the help.

Best regards
Søren Reinke


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 8:08 am 
Offline
Joined: Tue Dec 07, 2004 12:04 pm
Posts: 369
And updated my previous post after you posted a reply (AGAIN!). Heh. Sorry about that.

-brendan


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 8:12 am 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
brendan wrote:
And updated my previous post after you posted a reply (AGAIN!). Heh. Sorry about that.

-brendan


Hehe no problem, as long as you inform me :)

The reinstall of the R5A12 was after a complete wipe, i had tried the R5A15 but to many problems with a lot of things.

So my R5A12 is a clean install.

My /home/mythtv/.mplayer/config is also 'empty' just like yours.

I'll try to find a new GFX card for the machine.

Thanks again

Best regards
Søren Reinke


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 29, 2005 9:09 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
I'd suggest taking a look at the MPlayer docs. LOTS of great information in there...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 02, 2005 4:23 am 
Offline
Joined: Tue Apr 26, 2005 12:39 pm
Posts: 9
Hi Cesman

Thanks for the tip about mplayer.

But what about my problem with not being able to control mplayer at all from mythvideo ?

Might you have any ideas there ?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu