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

Seek #31

Open
daslicht opened this issue Jul 2, 2013 · 2 comments
Open

Seek #31

daslicht opened this issue Jul 2, 2013 · 2 comments

Comments

@daslicht
Copy link

daslicht commented Jul 2, 2013

Hello,
is it possible to seek in audio files , or return the audio from a specific point of time in the file ?

@nickdesaulniers
Copy link
Owner

Recently I changed the architecture when a transcode was needed to start streaming as soon as possible. Before it used to wait until the entire file was transcoded before serving, which could take a long time in the case of FLAC. I'm just using the native html audio element, which has many cross browser inconsistencies. When a transcode in not necessary, you can seek forward and back no problem. When a transcode is needed, and a stream is set up, you can only seek backwards. I'd have to investigate if it's possible to tell FFMPEG to start transcoding from a certain point (forward) in the file, but that would have the issue then if someone were to seek forward then back, that you have to restart the transcode.

So it might be worthwhile if you can pass ffmpeg a time to start transcoding from.

@daslicht
Copy link
Author

daslicht commented Jul 3, 2013

Thank you !

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

2 participants