nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   jerky playback of 1080i under mythtv with vdpau and 9400M (ION) (http://www.nvnews.net/vbulletin/showthread.php?t=134607)

resoli 06-17-09 01:33 PM

jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
1 Attachment(s)
So I've bought a new Zotac IONITX-C-E mainboard, and jerky playback issues are back :-(

I'm currently using 180.60 and jyavenard repository, on Jaunty

I attach here the nvidia bug report. Faulty AVC DVB-T captured stream sample is available at http://www.resolutions.it/jerky.ts (it's the same sample of the previous posting regarding 8400GS)

Bye,
rob

resoli 06-18-09 06:54 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Some more information:
- mplayer -mc 2 -vo vdpau:deint=2 -vc ffh264vdpau jerky.ts plays the stream quite well.
- I tried also 184.18.14 both installing them manually and from jya "testing" repo, without success.
- mythtv plays very well 1080p AVC files

cehoyos 06-18-09 08:33 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Quote:

Originally Posted by resoli (Post 2031722)
mplayer -vo -mc 2 vdpau:deint=2 -vc ffh264vdpau jerky.ts plays the stream quite well.

So what is your problem (except for posting a non-working command line: -mc 2 get into -vo)?

Carl Eugen

resoli 06-18-09 10:07 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Quote:

Originally Posted by cehoyos (Post 2031779)
So what is your problem

My problem is that mythtv playback is very bad (really worse than with same driver on 8400GS)

Quote:

Originally Posted by cehoyos (Post 2031779)
(except for posting a non-working command line: -mc 2 get into -vo)?

Carl Eugen

oops... corrected, thanks.

Stephen Warren 06-18-09 10:37 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Does MythTV play this clip correctly using SW decoding?

resoli 06-18-09 11:08 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Quote:

Originally Posted by Stephen Warren (Post 2031892)
Does MythTV play this clip correctly using SW decoding?

I have not done a real test, because i guess N230 is too weak for sw decoding, but at least I can tell if at least playback, even with stuttering, is more regular (with vdpau decoding, there is macro blocking, the image seems to go back and forth, or stops for a few secods ...).

I will try and report here.

thanks,
rob

resoli 06-18-09 02:53 PM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
1 Attachment(s)
Test in mythtv with sw decoding profile:
As expected, cpu constantly at 100%, but the image is very neat.
Watching right now live footbool match Italy vs Egypt, with vdpau image is completely garbled.

Here i attach the log of mythtv -v playback jerky.ts with

export VDPAU_TRACE=1
export VDPAU_NVIDIA_DEBUG=3

resoli 06-18-09 03:22 PM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
1 Attachment(s)
Attached the output of :
mplayer -fs -mc 2 -vo vdpau:deint=2 -vc ffh264vdpau jerky.ts

sgriffin 06-18-09 08:56 PM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Quote:

Originally Posted by resoli (Post 2032086)
Attached the output of :
mplayer -fs -mc 2 -vo vdpau:deint=2 -vc ffh264vdpau jerky.ts

Looks like you are selecting the wrong output codec. Try:

mplayer -fs -mc 2 -vo vdpau:deint=2 -vc ffmpeg12vdpau jerky.ts

Note this works for most videos, but for very high bitrates you may need to hack your vo_vdpau file to remove the block until idle call (around line 249). From what I can read about beta 185.19, this will be fixed.

resoli 06-19-09 05:03 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
Quote:

Originally Posted by sgriffin (Post 2032290)
Looks like you are selecting the wrong output codec. Try:

mplayer -fs -mc 2 -vo vdpau:deint=2 -vc ffmpeg12vdpau jerky.ts

jerky.ts is AVC/h.264 encoded, not mpeg2 ....

Code:

mediainfo jerky.ts
General
ID                              : 5
Complete name                    : jerky.ts
Format                          : MPEG-TS
File size                        : 8.00 MiB
Duration                        : 6s 808ms
Overall bit rate                : 9 857 Kbps

Video
ID                              : 535 (0x217)
Menu ID                          : 1 (0x1)
Format                          : AVC
Format/Info                      : Advanced Video Codec
Format profile                  : High@L4.0
Format settings, CABAC          : Yes
Format settings, ReFrames        : 4 frames
Duration                        : 6s 808ms
Bit rate                        : 8 981 Kbps
Width                            : 1 920 pixels
Height                          : 1 080 pixels
Display aspect ratio            : 16/9
Frame rate                      : 25.000 fps
Resolution                      : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : MBAFF
Bits/(Pixel*Frame)              : 0.173
Stream size                      : 7.29 MiB (91%)

Audio
ID                              : 545 (0x221)
Menu ID                          : 1 (0x1)
Format                          : MPEG Audio
Format version                  : Version 1
Format profile                  : Layer 2
Duration                        : 6s 528ms
Bit rate mode                    : Constant
Bit rate                        : 192 Kbps
Channel(s)                      : 2 channels
Sampling rate                    : 48.0 KHz
Resolution                      : 16 bits
Video delay                      : -956ms
Stream size                      : 153 KiB (2%)
Language                        : Italian


resoli 06-19-09 07:12 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
1 Attachment(s)
Another note:

Powermizer in nvidia-settings reports:

Power Source: Battery
(see attached image)

Stephen Warren 06-19-09 10:29 AM

Re: jerky playback of 1080i under mythtv with vdpau and 9400M (ION)
 
What does the PowerMizer page say when actually playing back video? There may be a difference between SD and HD video here. On an ION, I'd expect a high level to be automatically selected for video playback (at least with 185.18.14 and later)

The fact it says "battery" rather than "ac" (or whatever the text is) could affect the performance levels PowerMizer chooses.


All times are GMT -5. The time now is 11:13 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.