[FFmpeg-user] m3u8 seeking issues

Louis Letourneau lletourn49 at gmail.com
Thu Sep 15 17:47:38 EEST 2016


> On Thu, Sep 15, 2016 at 8:45 AM, Moritz Barsnick <barsnick at gmx.net> wrote:
>
> The commit on master corresponding to your bisected commit on 3.1 is
> 9884f17e343b37aef442fafa05bd0113cdf47087, according to the commit
> message.

I found that commit but it didn't fix or cause the problem on master?!

So on branch 3.1
This commit 309fa24f361f1c9d357f8d152c3b78718d2f870d
- Fixes seeking
- Breaks frame counts

On master this commit 9884f17e343b37aef442fafa05bd0113cdf47087, which
should be the same
- Seeking stays broken (it was broken the commit before too)
- Doesn't change frame count (it was also working the commit before)

(I also tested the one before and after to no avail)

I've searched master but can't find a commit on which seeking works as
expected.

I shared the video on S3 so if you want to check it out from the 3.1 branch
git checkout 309fa24f361
make clean ; make distclean ; ./configure --enable-gpl --enable-libx264
--enable-nonfree --enable-libfdk-aac --enable-openssl --enable-static &&
make -j5
rm -f dude.png ; ./ffmpeg -y -ss 0 -loglevel error -vsync 0 -i
https://s3.amazonaws.com/slffmpegdebug/seekProb/seekProb.m3u8 -f image2
-q:v 1 -vframes 1  dude.png ; feh dude.png

this will show you the same frame as (notice no -ss 0)
rm -f dude.png ; ./ffmpeg -y -loglevel error -vsync 0 -i
https://s3.amazonaws.com/slffmpegdebug/seekProb/seekProb.m3u8 -f image2
-q:v 1 -vframes 1  dude.png ; feh dude.png

Then
git checkout 3586c6868
make clean ; make distclean ; ./configure --enable-gpl --enable-libx264
--enable-nonfree --enable-libfdk-aac --enable-openssl --enable-static &&
make -j5
rm -f dude.png ; ./ffmpeg -y -ss 0 -loglevel error -vsync 0 -i
https://s3.amazonaws.com/slffmpegdebug/seekProb/seekProb.m3u8 -f image2
-q:v 1 -vframes 1  dude.png ; feh dude.png

Will show you the wrong frame.

Same steps with the master's version of these commit will always yield the
wrong frame.

Any ideas?

Louis


More information about the ffmpeg-user mailing list