|
|
#85 | |
|
Registered User
Join Date: Mar 2006
Posts: 99
|
hi,
this looks really promising, although it seems to be too slow to properly decode the daily opera-broadcasts at astra hd. after a few seconds mplayer reports too many frames in buffer... if it would be of interest I could post a sample clip anyway, I tried to play around a bit with the options and tried to enable deinterlacing, so I added this to vo_vdpau.c after vdp_video_mixer_create: Code:
VdpVideoMixerFeature features[1];
VdpBool enables[1];
features[0] = VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL;
enables[0] = VDP_TRUE;
vdp_st = vdp_video_mixer_set_feature_enables(
videoMixer,
1,
features,
enables
);
CHECK_ST
Code:
vdp_video_mixer_create(1, 0, NULL, 3, {0, 1, 2}, {1920, 1080, 0}, -)
-> 0, 22
vdp_video_mixer_set_feature_enables(22, 1, {1}, {1})
-> 15
Error at libvo/vo_vdpau.c:699
UPDATE: I recognized that I need to request the feature first. Doing this, the player runs, but no deinterlacing seems to be done. Seems like the feature is not yet implemented? regards, julian |
|
|
|
|
|
|
#86 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
philipl, this XID is a known issue we're investigating. I can't say right now if it's related to why the decoder_create is failing. I would say the best thing is to wait until we've fixed that, then try again. Sorry I can't be more help.
|
|
|
|
|
|
|
#87 | |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
Quote:
However, you should be able to enable bob and see a difference. |
|
|
|
|
|
|
#88 | |
|
Registered User
Join Date: Mar 2006
Posts: 99
|
I see, I think currently no deinterlacing happens because VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME is set in vo_vdpau.c...
Will fiddle around a bit with it. Actually what I am even more curious about right now is how far performance-improvements are to be expected? All high bitrate H264-ts streams I have do run out of sync until mplayer spews messages telling me that the video-buffer is full... You might grab a short sample here: http://www.jusst.de/files/sample.ts Regards, Julian |
|
|
|
|
|
|
#89 | |
|
Registered User
Join Date: Dec 2005
Location: My own little world
Posts: 117
|
Quote:
and mpeg2 ts files for some time with respect to sync. you may try "-demuxer lavf" and see if that helps. |
|
|
|
|
|
|
#90 | |
|
Registered User
Join Date: Sep 2004
Posts: 60
|
First of all: I love this VDPAU
. I played a m2ts file with only 3-4% cpu load on 1 of 4 cores.But how do I enable bob deinterlacing? Also it seems that the aspect of my movies are not correct, and I can't switch through the aspect ratios using mplayer. |
|
|
|
|
|
|
#91 |
|
MythTV developer
Join Date: Mar 2006
Posts: 413
|
I'm assuming you got the m2ts file from a bluray rip ; those videos aren't interlaced , so why would you want to enable the deinterlacer?
|
|
|
|
|
|
#92 | |
|
Registered User
Join Date: Mar 2006
Posts: 99
|
Quote:
Did you have a look at the sample I linked? |
|
|
|
|
|
|
#93 |
|
Registered User
Join Date: Nov 2008
Posts: 3
|
I still get the error at line 826 even after extracting a h264 track from a mkv file. I get this:
Code:
MPlayer dev-SVN-r27408-4.2.3 (C) 2000-2008 MPlayer Team CPU: AMD Athlon(tm) 64 Processor 3200+ (Family: 15, Model: 31, Stepping: 0) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Playing /media/Disk250/ftp/Movies/DVD-R/Zodiac/video.264. H264-ES file format detected. FPS seems to be: 23.976000 ========================================================================== Forced video codec: ffh264vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] VDPAU accelerated codec. Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU)) ========================================================================== Audio: no sound Starting playback... [VD_FFMPEG] Trying pixfmt=0. VDec: vo config request - 1280 x 536 (preferred colorspace: H.264 HIGH VDPAU acceleration) VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2) Movie-Aspect is undefined - no prescaling applied. VO: [vdpau] 1280x536 => 1280x536 H.264 HIGH VDPAU acceleration Error at libvo/vo_vdpau.c:826% 0 0 Code:
./mplayer -vo vdpau -vc ffh264vdpau <file> |
|
|
|
|
|
#94 |
|
Registered User
Join Date: Sep 2004
Posts: 60
|
After upgrading to Xorg 1.5.3-1 I get this error
Code:
$ mplayer -vo vdpau -vc ffh264vdpau Grey.ts MPlayer dev-SVN-r27408-4.3.2 (C) 2000-2008 MPlayer Team CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (Family: 6, Model: 15, Stepping: 11) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 Warning unknown option skin at line 95 Warning unknown option skin at line 95 128 audio & 261 video codecs 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 ========================================================================== Forced video codec: ffh264vdpau Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family [VD_FFMPEG] VDPAU accelerated codec. Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU)) ========================================================================== ========================================================================== 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] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... [VD_FFMPEG] Trying pixfmt=0. VDec: vo config request - 1920 x 1088 (preferred colorspace: H.264 MAIN VDPAU acceleration) VDec: using H.264 MAIN VDPAU acceleration as output csp (no 1) Movie-Aspect is 1.76:1 - prescaling to correct movie aspect. VO: [vdpau] 1920x1088 => 1920x1088 H.264 MAIN VDPAU acceleration [fs] [ASPECT] Warning: No suitable new res found! [ASPECT] Warning: No suitable new res found! [ASPECT] Warning: No suitable new res found! Error at libvo/vo_vdpau.c:700 EDIT: I now tried a recording from mythtv with "$ mplayer -vo vdpau -vc ffmpeg12vdpau /home3/Multimedia/TV/13060_20081117201500.mpg" The video is playing quite well but with less quality then XVideo. |
|
|
|
|
|
#95 |
|
Registered User
Join Date: Nov 2008
Posts: 2
|
Hey all. I'm getting this error:
VO: [vdpau] 1920x1040 => 1920x1040 Planar YV12 Error at libvo/vo_vdpau.c:179 I'm running a 9600GT, with the 180.06 drivers. What's up? : ) |
|
|
|
|
|
#96 |
|
Registered User
Join Date: May 2008
Posts: 7
|
I have the same problem, with an 8600 GT (180.06 driver). Compiled with gcc 4.3.2 under gentoo.
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xorg locks-up with newest nvidia drivers w/ vdpau. | theroot | NVIDIA Linux | 1 | 06-24-12 11:04 AM |
| NVIDIA VDPAU Reference Benchmarks | News | Latest Tech And Game Headlines | 0 | 06-11-12 05:30 AM |
| VDPAU and KDE 4.8 compositing = slow | Pie-rate | NVIDIA Linux | 30 | 05-23-12 07:07 AM |
| VDPAU testing tool | crisalide | NVIDIA Linux | 392 | 04-29-12 06:01 PM |
| mplayer & xmms problems! | replys2me | NVIDIA Linux | 5 | 09-06-02 02:34 PM |