Skip to content
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

Can't seek/jump in dash mp4 files anymore #74

Closed
Klaus1189 opened this issue Mar 21, 2016 · 15 comments
Closed

Can't seek/jump in dash mp4 files anymore #74

Klaus1189 opened this issue Mar 21, 2016 · 15 comments

Comments

@Klaus1189
Copy link
Contributor

If I play a dash mp4 file downloaded from youtube I can't jump to a specific time with MPC-HC or MPC-BE anymore. If I use the built in Filters of MPC-BE it works.

@Nevcairiel
Copy link
Owner

Can you upload a sample file somewhere?

@Klaus1189
Copy link
Contributor Author

strange is that not every file is affected, I uploaded two files, one is fine and the other causes this issue:
https://drive.google.com/folderview?id=0B4y5u0gBKYqbLThBQUgxcXVwUEU&usp=sharing

@Klaus1189
Copy link
Contributor Author

I just noticed that there is another problem with this kind of files. At a specific time the playback gets suttery and in display stats the framerate gets lower to about 18 fps and the red line in the right corner is going up and down very wild. In this test I didn't changed the refresh rate to the match the videos framerate, so there a typical 3:2 pulldown artefacts in the graph with the red and green line visible. See here:
https://drive.google.com/file/d/0B4y5u0gBKYqbLU9mTkpQTlVORE0/view?usp=sharing

@Klaus1189
Copy link
Contributor Author

Can you confirm that?

@Nevcairiel
Copy link
Owner

Both mp4 files seem to seek just fine.

@kasper93
Copy link
Contributor

Speaking of youtube. Local dash files works fine. But they glitch when seeking during playback from url. For example grab url by using command youtube_dl 'https://www.youtube.com/watch?v=5UE3jz_O_EM' --get-url and open video link. It glitches every time until it gets next I frame.

The glitch doesn't occur when player request I frame. So to reproduce in let say MPC-HC you will need to disable this option in tweaks.

@Klaus1189
Copy link
Contributor Author

But I have several other files, which can't be jumped to a specific time with the slider in MPC-BE and MPC-HC. I use latest MPC-HC with integrated LAV Filters and latest Nightly LAV Filters from today LAVFilters-0.68.0-12.exe

On both players I can't jump to 01:00 with the slider, I always get to 00:04. I resetted MPC-HC to default settings, same thing.

@Klaus1189
Copy link
Contributor Author

I made a video where you can see the issue:
https://www.youtube.com/watch?v=l_GfhC7IiAg

@kasper93
Copy link
Contributor

@Klaus1189: Could you go to Options->Tweaks and disable "fast seek"? YouTube doesn't insert a lot I frames from what I see. Does this option make a difference?

@Klaus1189
Copy link
Contributor Author

Hah, I have it:
LAVFilters-0.66.0-29.exe 2015-10-20 02:47 8.9M is the last working version
LAVFilters-0.66.0-31.exe 2015-10-23 02:47 9.0M is the first version with this behavior you can see on youtube video I made

@Klaus1189
Copy link
Contributor Author

Seems like this issue was introduced in one of these commits:
c783078
e35572f

@Nevcairiel
Copy link
Owner

Seeking in those files works perfectly fine, it just doesn't really export the seek points as key frames, hence MPC-HC forces it to seek to 0:04, not LAV. Key-frame seek is a bad kludge, not a solution, so I would rather recommend to turn it off.

@Klaus1189
Copy link
Contributor Author

Ok, I turn it off, but what is different in versions till 0.66.0-29? Till this version I don't have to turn off key frame seeking, it works also with this.
Do you know what changed since 0.66.0-31 which is causing that?

@kasper93
Copy link
Contributor

Seeking in those files works perfectly fine, it just doesn't really export the seek points as key frames, hence MPC-HC forces it to seek to 0:04

So what has changed? LAV hasn't reported keyframes before for those files or now it is bogus?

Either way url seeking is not working correctly, whether it is something to fix I don't know.

@Klaus1189
Copy link
Contributor Author

Aah ok, but what is different when the file is muxed to a mkv? Then there is no issue with seeking to keyframes and the latest versions of LAV Filters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants