MythTV Adds Support For NVIDIA VDPAU - Page 3 - AVS Forum
Forum Jump: 
Reply
 
Thread Tools
post #61 of 78 Old 12-14-2008, 04:41 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
.16 is supposed to fix the tearing issue.

but a coding problem where? the driver im using shouldnt matter to the patch compiling.
gsrcxsi is offline  
Sponsored Links
Advertisement
 
post #62 of 78 Old 12-14-2008, 05:05 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Can you look through the make output and find the first error (not warning)? It is usually most indicative of what the real problem is, and all of the other errors usually stem from it.
mythmaster is offline  
post #63 of 78 Old 12-14-2008, 05:30 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
well i went back to .11 with the older (11/26) mplayer patch. everything seems to have run fine.

however i have a question. i mainly use mythtv to watch my videos. but how to i make it run ./mplayer from the correct directory (the one that i just made), or will the current method that mythtv employs work as well?

if you dont know mythtv just runs the command : mplayer, and then whatever options you want to add on. or will ./mplayer do just fine?
gsrcxsi is offline  
post #64 of 78 Old 12-14-2008, 05:31 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
If you're talking about comb-tearing and not page-tearing, this is usually a deinterlacing artifact, and often has complex causes. Don't count on .16 to fix it.

I don't know what this patch is, but is it coded specifically for this version of the driver? If not, no guarantees. Are all the hunks applying cleanly? Give more detail about these things and the failure.

Edit: OK, why use mplayer? Myth should serve most uses.
quantumstate is offline  
post #65 of 78 Old 12-14-2008, 05:39 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
sorry for the 198372984723 4questions but im confused. do i have to have the video file in the compiled mplayer directory?

running the Grey.ts file, if i run the command from the directory with the video file it says ./mplayer command not found. if i run the command from the compiled mplayer directory it says file not found. and if i run it with the regular mplayer command it runs but does not display any video (i can hear sound though)

what is going on? do i have to overwrite the old mplayer executable with the new one? someone please explain this to me
gsrcxsi is offline  
post #66 of 78 Old 12-14-2008, 05:41 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
myth will not play VC-1. the few BD rips i have are VC-1. i tried and i get audio and no video.
gsrcxsi is offline  
post #67 of 78 Old 12-14-2008, 06:03 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
a little more detail

Code:
./mplayer -vo vdpau Grey.ts
MPlayer dev-SVN-r27960-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing Grey.ts.
TS file format detected.
VIDEO H264(pid=255) AUDIO A52(pid=259) NO SUBS (yet)!  PROGRAM N. 1000
FPS seems to be: 25.000000
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
TS_PARSE: COULDN'T SYNCof 632.6 (10:32.5)  0.8%                                 
a52: CRC check failed!  
a52: error at resampling
a52: error at resamplingf 632.6 (10:32.5)  0.8%                                 
A:40347.4 (11:12:27.4) of 632.6 (10:32.5)  0.8%                                 

Exiting... (End of file)
when i do this (with the Grey.ts file in the same directory), it starts playing but there is no video or sound. if i use just mplayer rather than ./mplayer, it works but i get that segfault error and it does not appear to be using any HW acceleration.

what did i miss?
gsrcxsi is offline  
post #68 of 78 Old 12-14-2008, 06:28 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Well, you only answered one of my questions. But I'll try to help anyway.

In your Code section, mplayer is failing because it can't find your video hardware. And your audio hardware is being used by something else, maybe Alsa. (lsof /dev/dsp)

I guess you have an nVidia card, but you didn't tell us what it is, nor show us the Xorg logfile as I suggested above. We don't know if the driver is actually being used.

Further, I question this VC-1 assertion. BD is recorded in H.264/AVC, not VC-1. And mplayer is recognizing it as such. Depending on your video card, Myth may be able to play it in hardware. (if you compile it properly)

On your mplayer vs ./mplayer question: When you compile something, it (should) result in an executable, in this case a file called mplayer. This will normally be in the compile tree until you do a 'make install', in which case it is copied to /usr/local/bin. Do a which mplayer, and it will tell you where the executable is that you're using. Putting ./ in front of the command tells it to only execute the mplayer in the current directory.
quantumstate is offline  
post #69 of 78 Old 12-14-2008, 06:45 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
my card is the 9400GT, not currently supported for VC-1, but im banking on future support. thats why im trying to test the h264 samples to see that its working. so far it is not.

im sorry but what xorg logfile? i looked through the thread since my first post and didnt see a request for one, maybe i missed it. could you post the path the file? im terrible at knowing where conf and log files are located.

as for VC-1. it is definitely on some BD discs. i ripped "The Dark Knight" and "A Clockwork Orange" and they both use VC-1 for the video stream. i know this because when i remuxed the .m2ts files to have the main movie and english audio only (using TsRemux) it said that the video streams were VC-1.

i assume the patch install script already did make install for me. as the executable is there. the readmen said all i had to do was run the script correct?
gsrcxsi is offline  
post #70 of 78 Old 12-14-2008, 06:55 PM
 
quantumstate's Avatar
 
Join Date: Apr 2006
Posts: 1,694
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
I've never needed to compile mplayer, but you say the mplayer file is where?

And sorry, I was helping Daravon with his deal here:
http://www.avsforum.com/avs-vb/showthread.php?t=1095618

MythTV will play VC-1 in hardware if you have a 9300 or 9400 based card, and compile Myth with the --enable-vdpau option.
http://www.phoronix.com/scan.php?pag...item&px=Njg4Ng
quantumstate is offline  
post #71 of 78 Old 12-14-2008, 07:00 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Quote:
Originally Posted by gsrcxsi View Post

a little more detail

Code:
./mplayer -vo vdpau Grey.ts
MPlayer dev-SVN-r27960-4.2.4 (C) 2000-2008 MPlayer Team
CPU: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (Family: 6, Model: 23, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing Grey.ts.
TS file format detected.
VIDEO H264(pid=255) AUDIO A52(pid=259) NO SUBS (yet)!  PROGRAM N. 1000
FPS seems to be: 25.000000
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
DVB card number must be between 1 and 4
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
TS_PARSE: COULDN'T SYNCof 632.6 (10:32.5)  0.8%                                 
a52: CRC check failed!  
a52: error at resampling
a52: error at resamplingf 632.6 (10:32.5)  0.8%                                 
A:40347.4 (11:12:27.4) of 632.6 (10:32.5)  0.8%                                 

Exiting... (End of file)
when i do this (with the Grey.ts file in the same directory), it starts playing but there is no video or sound. if i use just mplayer rather than ./mplayer, it works but i get that segfault error and it does not appear to be using any HW acceleration.

what did i miss?

You have to specify the correct codec, as well. For example:
Code:
./mplayer -vo vdpau -vc ffh264vdpau Grey.ts
Also, try adding "-ao alsa" to the command line.

I'm a bit behind atm, but I'll try to address your other questions tomorrow. I'll also branch this thread off into an official nvidia vdpau thread instead of just an announcement one, as its scope has increased.
mythmaster is offline  
post #72 of 78 Old 12-14-2008, 07:11 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
sorry i should have mentioned that i tried that too (specifying the codec) i get the exact same

but i do hear that the mythtv implementation is MUCH better than the mplayer implementation, is this correct? so if i can avoid all this junk with mplayer and just use the SVN mythtv setup and get hardware VC-1, that would be great.

now the thing is that ive alwasy installed mythtv with the entire mythbuntu OS. im currently running mythbuntu 8.04 x64. which i believe is mythtv version 0.21. and the version that i need for vdpau support is 0.22 SVN right? how will this affect my setup? i really only need HW acceleration on my frontend since its low powered. but if i update mythtv on the front end wont it become incompatible with the backend?

a how-to for installing whatever i need to would be great, i cant seem to find any for installing mythtv with vdpau. i know im a newb, but i do appreciate the time you guys have spent trying to help me out.
gsrcxsi is offline  
post #73 of 78 Old 12-14-2008, 07:48 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
how-to in progress
mythmaster is offline  
post #74 of 78 Old 12-15-2008, 06:54 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Sorry, I didn't get to it today, gsrcxsi
mythmaster is offline  
post #75 of 78 Old 12-16-2008, 12:28 AM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
its cool. i spent just about all day trying to get this working possibly with CoreAVC. well i got everything installed after much reading and many tries, but low and behold for some reason the patched mplayer with coreAVC wont do VC-1 streams either (or at least not in a .m2ts container. im ready to try the vdpau implementation now as i think ive got compiling mplayer and stuff down.

although if mythtv's vdpau implementation can do VC-1 in .m2ts containers and utilize vdpau with my vid card (9400GT) that is the obvious best solution.

looking forward to the howto.
gsrcxsi is offline  
post #76 of 78 Old 12-18-2008, 09:35 AM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
mythmaster is offline  
post #77 of 78 Old 12-18-2008, 02:47 PM
Member
 
gsrcxsi's Avatar
 
Join Date: Dec 2008
Posts: 19
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
excellent, thank you very much! i think im going to give mplayer another shot. i dont want to mess with my stable mythtv install (and i dont do HD programming). so im going to try again with mplayer. thanks again.
gsrcxsi is offline  
post #78 of 78 Old 12-18-2008, 03:00 PM - Thread Starter
 
mythmaster's Avatar
 
Join Date: Mar 2008
Location: 255.255.255.255
Posts: 2,142
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10
Hope it helps!
mythmaster is offline  
Reply HTPC - Linux Chat

User Tag List

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off