Periodic jerkyness
#46
What does the fps look like when the stutter happens? Also what about aq: in CodecInfo? does it dropp to zero? did you set triplebuffer to true on xorg.conf?
Reply
#47
Am I correct that you guys are having no sound issues playing 24 FPS videos? I posted a while ago and couldn't get any confirmation that this worked. I have tried 24hz at both 23.976 and 24.000 and have had a/v sync issues. Wondering if you guys have any tips?

My prior post is below. At 24HZ I don't see the stuttering you guys describe.

schmoko Wrote:I'm wondering if anyone has had any luck mantaining audio-sync with any video content at 24hz?

Currently, playing any content at 60hz results in audio and video mantaining sync, regardless of source refresh rate (verified by OSD A/V display). Changing refresh rate to 24hz (via XRandR or the new Refresh Rate detection in SVN) results in A/V sync fluctuating between +0.05-0.09, which is fairly noticable with most content. I can verify the only difference between one setting and the other is the configured refresh rate.

This is more then likely not a CPU problem, as the issue occurs with both SD and HD material, and occurs when CPU usage on both cores is >30%. I'm starting to think it may be a deeper problem with my hardware configuration, and want to confirm that I'm not chasing an impossible configuration before I pursue it further.

Hardware is AMD X2 5600+ @2.9 Ghz with 8600 GT. Issue first appeared with Hardy and persisted once I upgraded to Intrepid Ibex. nVidia driver version is 177.80.
Reply
#48
harryzimm Wrote:What does the fps look like when the stutter happens? Also what about aq: in CodecInfo? does it dropp to zero? did you set triplebuffer to true on xorg.conf?

When it stutters the FPS is the same as before. No frames dropped. Triple Buffer has been tried.

Edit: Added configs
Reply
#49
Is there a test clip anywhere that demonstrates this?
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
#50
Any xvid running 30fps.
Reply
#51
Well, all I have here are SD DVDs in either VOB/IFO or ISO (am converting) or MKV containers with H.264 files from BD rips. Can ya be a BIT more exacting? especially if the FPS makes a difference. I don't DL stuff off TPB liek crazy so I've not exactly got a dearth of candidates here to test with. Something we can ALL agree on displays the issue might not hurt and allow the devs to see it too?
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
Reply
#52
Hey man thanks for replying Smile

Got codec info. FPS = 29.970. Could that be a problem in 60 Hz?

Format : AVI
Format/Info : Audio Video Interleave
File size : 349 MiB
Duration : 43mn 52s
Overall bit rate : 1 113 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2540/release)
Writing library : VirtualDubMod build 2540/release

Video
Format : MPEG-4 Visual
Format profile : Streaming [email protected]
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 43mn 52s
Bit rate : 991 Kbps
Width : 512 pixels
Height : 384 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.168
Stream size : 311 MiB (89%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)

Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Codec ID : 55
Codec ID/Hint : MP3
Duration : 43mn 52s
Bit rate mode : Variable
Bit rate : 108 Kbps
Minimum bit rate : 32.0 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 33.8 MiB (10%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.72 video frame)
Interleave, preload duration : 531 ms
Writing library : LAME3.97b
Encoding settings : VBR (mtrh)
Reply
#53
I'm having the same issue and I am running at 60Hz too.
Reply
#54
I tried a 25 FPS video. This one went fine for a while, but then it started going jerky for a long time, maybe half or one third of the framerate.
It got fixed by skipping back and forth. This is some serious stuff.

The time it takes to jerk varies. I am running 50Hz with this one.
Does not happen in VLC.

There is a link between the FPS the video is running in and the jerkyness. on 25FPS it's longer, more painful periods. on 30 FPS they are shorter but still really painful. And on 24 FPS they are barely noticable.

Info:

Format : AVI
Format/Info : Audio Video Interleave
File size : 350 MiB
Duration : 41mn 30s
Overall bit rate : 1 180 Kbps
Writing application : VirtualDubMod 1.5.4.1 (build 2178/release)
Writing library : VirtualDubMod build 2178/release
IAS1 : English

Video
Format : MPEG-4 Visual
Format profile : Streaming [email protected]
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 41mn 30s
Bit rate : 981 Kbps
Width : 576 pixels
Height : 432 pixels
Display aspect ratio : 4/3
Frame rate : 25.000 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.158
Stream size : 291 MiB (83%)
Writing library : XviD 1.2.0SMP (UTC 2006-01-08)

Audio
Format : AC-3
Format/Info : Audio Coding 3
Format profile : Dolby Digital
Codec ID : 2000
Duration : 41mn 30s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Stream size : 57.0 MiB (16%)
Alignment : Aligned on interleaves
Interleave, duration : 96 ms (2.40 video frames)
Interleave, preload duration : 96 ms
Reply
#55
Problem is nearly gone!
Just a minor lag.

Had a good feeling when reading trac timeline so I got latest, so everyone with lag: Get Revision 16998!
Reply
#56
The jerkiness is still there, with 17076, it may be better but I really can't tell. Are you looking at a specific trac ticket?
Reply
#57
Yeah back here too. Not sure if it was a kernel upgrade, aaron's frame parallelism patch to ffmpeg or a newer rev of XBMC.
Reply
#58
It was the parallelism patch that made it lag more again. I undid it and now the lag is smaller. But it's still there. AlTheKiller mentioned something about frame counting code in XBMC. Maybe this is the problem?

The lag has been smaller in later revisions, I have to diff my way back to see. Any help would be appriciated Smile
Reply
#59
Exclamation 
http://trac.xbmc.org/ticket/5717
Reply
#60
Thanks a lot! Really good description!
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Periodic jerkyness51
This forum uses Lukasz Tkacz MyBB addons.