-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh-rate switching and "frame rate differs from container frame rate" #108
Comments
There are 2 types of NTSC DVDs. Content is stored as progressive 23.97 and requires the DVD player to on-the-fly telecine for playback on old NTSC TV equipment. Those DVDs should play at 23.76 in XBMC. Content is telecined and written to DVD. Those play at 59.98 using de-interlacing. Seems your file got messed up during encoding and is a mixture of both. But this is guessing. Can you post a debug log. |
So I googled a little, and it would appear that the Babylon 5 source material is indeed variable frame rate:
|
btw: what strange version of XBMC are you running? I have removed the call to nvidia-settings for quite a while because its unreliable. |
I'm running frodo 12.0 final from debian (2:12.0~git20130127.fb595f2-1) with pull xbmc#870 on top, and no other changes. |
now that I realize the source is VFR, perhaps I am just re-reporting the issue originally raised under xbmc#1387 ? i.e., that xbmc switches to the lower frame rate and then stays there, which makes the special effects scenes look jerky, but does keeps the film sequences smooth. |
yes, it seems like the issue we discussed on 1387. Not sure if it's enough just to apply those 2 commits (I have never tried). Maybe those are dependent on dropsdl in which case you'd better use my entire master branch. |
1387 may not cover your use case. Consider that the video plays well for approximately 10 min before the first special effect. |
@FernetMenta so currently XBMC is switching to 23.976 and staying there as the majority of the episode plays smoothly. However, the special effects sections seem to play OK and then jump forwards and play OK and jump forwards etc. Is this because it is incorrectly attempting to do inverse telecine, or some other reason? |
@FernetMenta the avisynth docs here discuss this decimation. So it would seem that we would want to "to reduce their [the non-film sections] frame rate by blend decimating each cycle of frames from 5 frames to 4 frames" |
not sure how this would help. We have to do this in realtime with the infrastructure in place. Currently best we can do is just to drop one frame in 5 or run at 59.98 with 3:2 cadence for film sequences. |
VAAPI: Properly set VA_FOURCC_P010 for the attribute
seems like a similar issue to #52 but no mention of variable frame rate in my files
I have some old x264 encodes of my NTSC Babylon 5 DVDs. Initially in XBMC they correctly start playing at [email protected] and seem smooth
However, after a few seconds of playback it inexplicably switches to [email protected] and doesn't play smoothly.
However, looking at the file in mkvinfo, ffmpeg, and mediainfo we can see that the container and the video file itself differ in what they believe the correct fps is:
Is this just a badly encoded file? Is XBMC doing the right thing?
The text was updated successfully, but these errors were encountered: