View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Sep 15, 2005 2:13 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
hi guys. I'm trying to add some videos onto my Knoppmyth box. I've enabled samba and copied a video into /myth/video now I know I need to use video manger in order to import it into the listings but I'm having now luck. If I go into video manager I get the message 'no videos' and there's text at the bottom right that says 'INFO - action menu'. I've pressed the I key on my keyboard and also tried the green button on my hauppauge remote which is meant to map to the info key, but nothing happens on screen, I must be doing something wrong. Any input would be much appreciated.

many thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 3:33 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
If I understand you correctly, you moved a video into your /myth/video via SAMBA but cannot get it to come up in the db for playback. Sorry if these are some obvious questions, but here goes: what kind of video is it (i.e. avi, mpg, etc.)? If it's something odd like a .mov or .wmv you'll need to install the proper codec for playback to work... although I'm not sure if they'll even display. I'm on in front my my mythbox now to test. Another question: if you go to the setup>video options, is the path to your videos /myth/video (should be by default)?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 4:43 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
Thanks for the reply. It's an avi encoded with Xvid.

I think I found the setting you mean under Setup > Video Settings > general Settings 'Directory that holds videos' It was set to /share/Movies/dvd (I haven't changed this).

I changed it to /myth/video and now my video appears in the list - thanks for your help!

No my next problem is that I can't actually play the video. I select play and nothing happens. Could this be something to do with the codec not being installed? Is there an error log I can check to find out what's going on when the system tries to play the video?

Many thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 15, 2005 6:53 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Quote:
Could this be something to do with the codec not being installed?


This is a great post on how to update Mplayer, codecs, and install xvid.

You would do all this stuff from a console (ALT+CTRL+F1) or SSH.
http://mysettopbox.tv/phpBB2/viewtopic.php?t=4706

Quote:
Is there an error log I can check to find out what's going on when the system tries to play the video?


This should show installed codecs.
Code:
mplayer -vc help


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 18, 2005 7:29 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Just like spalVl said, follow the directions in my howto. Did it work for you? Please let us all know!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 8:05 am 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
Also make sure the command line mythTV is using for Mplayer is using the correct path. Mine was calling it from /usr/local/bin but Mplayer was actually located in /usr/bin. The setting is somewhere in the frontend setup menu. run 'which mplayer' from an xterm to find the correct directory for your machine.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 3:18 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
ryanpatterson, I've not been able to find the aetting for the path to mplayer within mythtv. Under video settings -> Player settings I've found the 'Default Player' setting which is just set to:

Code:
mplayer -fs -zoom -quiet -vo -xv %s


Should I change that?

graysky, I will definitely give your Howto a go. Thanks. (aldso thanks spalVl for the link)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 3:31 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
Also, by doing
Code:
mplayer -vc help | grep xvid

I've found that the Xvid codec is installed:

xvid xvid working XviD (MPEG-4) [libxvidcore.a]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 19, 2005 4:09 pm 
Offline
Joined: Fri Aug 26, 2005 9:54 pm
Posts: 617
miraclemaker wrote:
ryanpatterson, I've not been able to find the aetting for the path to mplayer within mythtv. Under video settings -> Player settings I've found the 'Default Player' setting which is just set to:

Code:
mplayer -fs -zoom -quiet -vo -xv %s


Should I change that?


Close Mythtvfrontend and open a xterm. Change the directory to where you have some avis stored. Then try running mplayer using the the command line you just gave (replace %s with the filename). If it works then there should be no reason to change it in mythtvfrontend.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 12:14 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
Thanks for your reply, I've made some progress with this.

running the mplayer command from an xterm window didn't work. I got an error message saying
Quote:
Error opening / initializing the selected video_out (-vo) device.


I changed the command to

Code:
mplayer -fs -zoom -quiet %s


and it worked - the video played.
I've tried the same change through MythTV and I still get the same same problem when I try to play a video - nothing happens. I remember reading somewhere that you need to change the mplayer command parameters when using a PVR 350 like I am, but I've been unable to find anythign useful via searching the forum.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 2:45 pm 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
I also get the same problems with DVDs - copying the command from the mythtv settings and running it in X works great, but it doesn't work from within Mythtv itself.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 10:41 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Quote:
I changed the command to

Code:

mplayer -fs -zoom -quiet %s


Wondering if the 350 is not setup correctly. Have you see this 350 setup guide?

http://www.knoppmythwiki.org/index.php? ... stallation


I had some problems before with another Video card it turned out I was using VESA drivers in /etc/X11/XF86Config-4 file


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 10, 2005 5:54 pm 
Offline
Joined: Fri Apr 15, 2005 10:52 am
Posts: 20
Did you ever find a solution to this, I am having the same problem.

I figured it out.
I had to change to /usr/local/bin/mplayer -fs -zoom -quiet -vo -xv %s
to /usr/local/bin/mplayer -fs -zoom -quiet %s


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2006 7:16 am 
Offline
Joined: Wed Mar 02, 2005 1:34 pm
Posts: 106
Location: London, UK
Yes the same thing worked for me, I can play videos through myth now. The only remaining problem I'm having is that audio rapidly gets out of sync wit hthe video - the audio gets way ahead of itself. I've tried searching for 'audio sync' type threads in the forum but only found threads where the reverse happens - sound stutters or gets behing the video. Have anyone else encountered thsi problem that could perhaps shed some light on the issue?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 26, 2006 3:51 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Miraclemaker can I suggest a new thread for that problem as I don't think you will get too many responses in this thread that relates to adding videos to myth.

_________________
Girkers


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 14 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