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

videos not playing from start after pause-rewind #258

Open
public-hons opened this issue Oct 8, 2014 · 3 comments
Open

videos not playing from start after pause-rewind #258

public-hons opened this issue Oct 8, 2014 · 3 comments

Comments

@public-hons
Copy link

hi there,
when i pause a video and rewind it to the beginning and hit pause again, the video does not start from beginning but always quite a few frames in. this happens both with key commands and dbus commands.

the only time i see the first half second or so of my videos is when starting omxplayer, but after that with pause, rewind (or SetPosition to zero) i never get back to frame 0 again. it seems to get better when i encode the videos with more keyframes though..

any help or suggestion ? cause i am a bit stuck ...

thank you guys,
hons

@popcornmix
Copy link
Owner

Seems to work for me with a h.264 mkv file and pressing space, left arrow space.
I may need a sample file that definitely exhibits the problem to resolve this.

@public-hons
Copy link
Author

yes of course, could have thought about that..
https://dl.dropboxusercontent.com/u/1488161/startframes.zip

the above .zip contains two short videos showing this behavior:
"startframes_B.mp4" is visually easier, the first 15 frames are black-white, and then a red circle with a number 1. after pause-rewind-pause you won't see the first frames again.
"startframes_A.mp4" also shows this behavior (but is visually not so clear ..)

in the meantime i realized that it seems to happen (only ?) with videos that have been encoded on a mac with quicktime player.
i can however encode with quicktime player on a mac if i export as quicktime movie and enable “Prepare for Internet Streaming” and choose "Hinted Streaming" (or "add hint track", i don´t know exact translation..) - then the above behavior does not occur.

hope that helps,
and thanks for your effort,
hons

@suszig
Copy link

suszig commented Dec 23, 2014

try to copyvideo tream into differetn container (avi or mkv) - there is an issue with MP4 file format
#291

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

No branches or pull requests

3 participants