Closed GoogleCodeExporter closed 9 years ago
Just to verify, I took every FLV I tried with flvmeta and ran them through
Facebook's
flvtool++ and the skipping is now gone. Let me know if I can give you more
information to track down this cause of this issue.
http://danieldixon.com/forum_posts/after_flvtool.flv
Original comment by onedans...@gmail.com
on 24 Jan 2009 at 6:46
I suspect this is a problem related to the handling of the "onLastSecond"
metadata
tag, because the pausing causes the indicator to skip exactly to the last
second of
the video when resuming the playback.
I reproduced the problem by using FLVTool2 to inject metadata to the
before_flvmeta.flv file. I expected that result since just like FLVmeta,
flvtool2
injects the "onLastSecond" event, while flvtool++ does not.
The upcoming 1.1 version of FLVmeta will offer the option to omit the injection
of
that specific tag, since it seems the only way to avoid this problem.
Strangely, I could only reproduce that odd behaviour with your file, probably
because
each frame is a keyframe.
Out of sheer curiosity, is there a specific reason you're encoding the file in
such a
way ? IMHO, using only keyframes kind of defeats the purpose of video
compression,
because each frame will have to contain all image information, instead of only
differential information as found in interframes.
Could you please give me the exact command-line you use to encode your files
that way ?
Original comment by marc.noi...@gmail.com
on 24 Jan 2009 at 3:20
Thanks for the quick reply. I admit the keyframe-per-frame is a unique use
case, but
it's a requirement for the application I'm working on as the user needs to be
able to
go frame-by-frame on the media if he desires. Since you can only seek to whole
keyframes...
Here's the command I'm using (though I don't remember if this was the one used
for
the example files I gave...I pulled it out from a while ago because I needed
something I could post online):
ffmpeg -i input.mov -g 1 -f flv -s 768x432 -ar 22050 -b 10000000 -r 24
output.flv
Original comment by onedans...@gmail.com
on 24 Jan 2009 at 3:40
As or r96, the trunk version supports the command-line option -l or
--no-lastsecond
that omits the insertion of the onLastSecond metadata tag.
You might want to try the latest revision to see whether it fixes that bug.
Original comment by marc.noi...@gmail.com
on 4 Jun 2009 at 2:47
All issues are verified in production.
Original comment by marc.noi...@gmail.com
on 15 Mar 2010 at 8:53
Original issue reported on code.google.com by
onedans...@gmail.com
on 24 Jan 2009 at 5:47