[FFmpeg-devel] FFplay: progress bar feature proposal
ray1110000 at yandex.com
Thu Apr 13 18:53:49 EEST 2017
13.04.2017, 09:40, "Steven Liu" <lingjiujianke at gmail.com>:
> 2017-04-13 20:48 GMT+08:00 Raymond Pierce <ray1110000 at yandex.com>:
>> Hi. Currently FFplay has no visible progress bar and it is hard to tell
>> where a stream is currently positioned. So if one wants, for example, to
>> a little back relative to current position using right mouse click it is
>> guessing and trying.
>> I propose very simple 1-pixel progress bar which can be turned on or off
>> playback by pressing a button (I use 'L', from 'line'). By default the bar
>> is off.
>> I choose bright green color (#00ff00) for the part to the left of a current
>> position and pure black for the part to the right.
>> You can see how it looks on the attached image.
>> Draft patch is applied. One global variable ('static int
>> and one function ('static void video_progress_line_display(VideoState
>> have been added. Also the existing 'video_display()' function has been
>> below 'get_master_clock()' as the latter is used in the new function.
>> What do you think?
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
> git commit -a
> git format-patch -s -1
> You should use the command looks like the above git command to make patch
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
Hello, Steven. Thank you for the advice. New patch in the attachment.
Should I post a new message with the patch to ffmpeg-devel at ffmpeg.org list?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4152 bytes
Desc: not available
More information about the ffmpeg-devel