View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 14 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Aug 28, 2008 3:18 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi,

Files in my /myth/video don't appear to be playing properly. I've a bunch of .avi's and some dvd rips. I've installed various decoding bits, for example commercial DVDs play. TV and recordings play properly. I can rip a dvd. That dvd plays through xine fine however, the rip on the hard drive does not and I've ripped as an image - I get pixelation and no sound. Some ripps don't play at all. The avi's on my system play, but no again no sound. I've got all sound going to my receiver over spdif optical.

I saw that Graysky posted in his hints and tips for mplayer :
Quote:
because the one that came with R5.5 out-of-the-box experienced playback problems.
Are these the issues that were being referred to? I'm fine with following graysky's instructions to downgrade mlayer, I was just wondering if there was anything else I could try before I do that.

Thanks

Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 28, 2008 12:53 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
First off, let's establish that you have sound in LINUX. Do you have sound when watching captured programs via your PVR card? If you do, and the problem is unique to mplayer what happens in you hit 9 or 0 as you're watching the content? Do you see the OSD volume level go up and down?

As to the pixely video... if it's unique to your DVD rips, it could be some setting in the ripper. I dunno since I haven't used the one that came with KM. Can you play avi or mpg files via mplayer that you didn't rip? If so do they have sound and do they appear to be pixely?

As I recall, the problems I was experiencing with the dev version of mplayer was related to starting playback. Sometimes it would appear to just hang for 5 sec or so and then drop back to mythfrontend. If all else fails, can you put a 5-10 sec clip of one of your 'bad' videos up on your webspace for us to take a look at?

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 2:27 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi Graysky,

I was hoping you'd reply - you seem to be quite the man to ask about mplayer.

I must apologies, I thought I had mentioned live tv, and recorded programmes all have sound that works.

As for the .avi files I have in my /myth/video /myth2/video folders, picture is good, just no sound. The 0 and 9 keys do give me the volume osd, but as I'm usng optical out for everything it doesn't really do anything.

For dvd rips, I'm sure the files are good. I can play them on my laptop, for example with sound and no pixelation via mythweb. It's only on the mythbox itself. There is more than enough horsepower to play them.

Or rather I could... I now get this error.
Quote:
Error

Could not create a symlink to /myth/video:/myth2/video, the local MythVideo directory for this hostname (mythtv). Please create a symlink to your MythVideo directory at data/video in order to use the video portions of MythWeb
.

I don't think this is directly related because I certainly used to be able to watch my dvd rips via mythweb. I suspect I haven't set up a permission somewhere which broke the symlink. I should also mention, most of the rips were on this system prior to the upgrade to 5.5 on a R5F27 system.

By the way, I'm not sure how to upload a clip, but a better description of the playback issues I am seeing is that there is some blocking and smearing of colour while some of the image is still playing behind these pixels (quite large ones) but some of the image then gets left behind and 'dragged' across the screen. -I'll have to get the camera out and take a photo.

Thanks.

Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 1:17 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Sorry man, I totally glossed over the fact that you're using an optical out for sound. I have no experience with this, but I suspect it's the source of your problems. I'll bet you $5 mplayer is using the analog out for the avi files it's playing. I dunno how you would go about changing it.

See this thread and check it for relevance to your situation. Beyond that, you might need to subscribe to the mplayer mailing list and post your problem there unless someone else in here knows the solution.

Do update this thread if you figure it out which will help others who use the search feature :)

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 6:23 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Have you looked at Known Changes #2.3 in the R5.5 Hints?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 30, 2008 4:58 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
-tjc, thanks that was exactly was needed. I had read your hints and tips, but obviously I had just glossed over that bit.

For reference I only modified the code line in the ao line in the /etc/mplayer/mplayer.conf file to read
Code:
ao alsa:device=spdif
I couldn't see where to add hwac3,hwdts to the command. But happily I can report my .avi files are now playing with sound! As for the DVD rips, the ones that start I can hear sound (so a step in the right direction) but not all start (just hang at the loading screen) or they are really blocky and the picture smears. I don't know if DTS or AC3 pass through over optical, coz they won't play properly.

I will keep looking, but any more suggestions.

Only to get this and firefox working (before the upgrade to an HDTV!)

Thanks

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2008 3:56 pm 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Having to resurrect this thread again because I still haven't managed to solve this issue with playback of .iso files.

To recap: I have a bunch of avi's and some .iso files on my mythbox. At present the avi's all play fine. Sound and everything. So, I've downloaded an episode of Heroes for example, it'll play properly.

Conversely, if I rip a DVD. It doesn't play properly. Now, commercial DVDs do play. I've installed that piece of code.

For example, I watch my copy of Stardust. Plays fine with xine. I rip the dvd, it appears to complete correctly. I try and play said rip. I get lots of pixelation, and tearing / smearing. Sound works. I copy off the iso to my kbuntu laptop via samba and the iso plays. I can also play the iso via mythweb. but not directly. I am sure there is something simple, but for the life of me I have no idea what will sort this.

I've even recompiled mplayer. But that hasn't solved it. Any suggestions please.

Regards Chris.

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 27, 2008 8:07 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Chris,

That line in /etc/mplayer/mplayer.conf should have another =.
Code:
ao=alsa:device=spdif

You can then add another line for ac3 and dts passthrough.
Code:
ac=hwdts,hwac3,
Make sure you keep the trailing comma.

I have the ac line in my /home/mythtv/.mplayer/config instead of the /etc/mplayer/mplayer.conf file so that on an upgrade I don't have to manually edit the /etc/mplayer/mplayer.conf. I guess you could even put the ao line in the /home/mythtv/.mplayer/config and not have to worry about it for upgrades either.

Britney


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 3:30 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi Britney,
Thanks that seems a good tip, so it can survive upgrades. I had got optical out working, but through adding the commands to the startup line through the command in the settings menu but will look into it going into the config file.

I'm still stuck with unwatchable iso files.

I'm beginning to think a reinstall of Knoppmyth would be a good idea, however that's just the age old windows user rearing it's head again. I know I can get this sorted, but it must be a configuration thing.

Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 4:23 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
Have you tried using VLC to play the .iso files? Does it have the same problem?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 5:46 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi mad_paddler,

While I haven't tried it using VLC yet on the mythbox, on my ubuntu/kubuntu laptop the .iso I copied off plays in kaffine fine. With mplayer I get the problems I described in my original post. I appears there is a problem with mplayer specifically as I get an error message from Mplayer
Quote:
Too many packets in the buffer: (4096 in 8268564 bytes)
This is on the laptop.

Have to look into using a different player for .iso files it seems. Is no one else seeing this issue?
I've got it on two different systems using the same software.

Regards for the pointers. Have to research VLC

Regards
Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 28, 2008 2:46 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
Chris,

In your original post you say that you use xine to play DVDs. Have you tried using xine to play the iso? I use xine to play DVDs, iso and video_ts files and directories.

Something like this is what I use in MythVideo for ISOs:
Code:
xine -pfhq --no-splash "dvd:/$s"


Britney


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 29, 2008 4:07 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
Hi Britney,
From memory, as I am not at work now, I have the command you mention set for VCD' and the suchs. It appears that the association for ISO's is wrong and Myth is trying to use MPlayer.
This might be the solution I am seeking.
I just need to set the ISO's to open with xine. I think I know where to set that preference, so hopefully all might be good.
In advance, thanks for the pointer.
Chris

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 11:21 am 
Offline
Joined: Tue Sep 13, 2005 10:48 am
Posts: 852
Location: London, UK
I solved this by changing the Video player start command from using mplayer to using the Internal player. Well, I say solved. It's not the most satisfactory way of dealing with this as it hasn't 'fixed' whatever the problem was. Quite annoying really. On the positive side, it means that I can now play my dvd rips without all the tearing.

Pleased, but somewhat irritated by it all. Fortunately the Internal player is improving.

_________________
Version:R8
Intel C2D 7400, Nvidia 5600 via HDMI to Samsung B37B650TW (PAL), Asus P5QL-E mobo, 4Gb PC6400 DDR2 ram, Samsung Spinpoint 500 Gb & 1Tb drive, Nova-HD-S2 (x2)


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 13 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