Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): Replying to [comment:9 jbvsmo]: Replying to [comment:8 cehoyos]: Works even better with -cpuflags -sse2 -vf deshake=rx=63:ry=64 But it is not even close from what the proposed link shows. Sorry, which link do you mean? Also, this configuration makes it very slow to be used on realtime. A good deshake filter should add the possibility to crop the image instead of filling it with surrounding pixels. Try adding crop=600:400 after the deshake filter to see a better result. Of course, I don't understand the above argument... This will crop in the middle while the deshake filter could manage to crop in the right places. --- BTW, in the ffmpeg-devel list, there's a proposal to include a binding for vid.stab (https://github.com/georgmartius/vid.stab and http://public.hronopik.de/vid.stab/) library. The results seems to be superior. Why can't the library be included directly in ffmpeg? I'd like to know the answer as well, please ask the developer! -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:10 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by jbvsmo): Replying to [comment:10 cehoyos]: Sorry, which link do you mean? The article in the ticket description: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Of course, I don't understand the above argument... Using -cpuflags -sse2 -vf 'deshake=rx=63:ry=64, crop=600:400' The crop filter will be in the middle of the video, but it may not be the optimal place to crop. The deshake filter could choose it better. That's what I'm saying -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:11 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): Replying to [comment:11 jbvsmo]: Using -cpuflags -sse2 -vf 'deshake=rx=63:ry=64, crop=600:400' The crop filter will be in the middle of the video, but it may not be the optimal place to crop. The deshake filter could choose it better. That is likely true, thank you for explaining. -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:12 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): Works even better with -cpuflags -sse2 -vf deshake=rx=63:ry=64 -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:8 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): I don't know much about the deshake filter but I wonder if a high bitrate sample wouldn't make more sense - please consider uploading the larger sample to http://www1.datafilehost.com/ and post the link here. -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:5 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by ubitux): Original uploaded here: http://lucy.pkh.me/samples/Sam%20and%20Cocoa%20shaky%20original.webm -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:6 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): Works better here with -vf deshake=rx=48:ry=64 -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:7 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Comment (by cehoyos): Please provide the sample, your url is 403 here. -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:4 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: wish |Component: avfilter Version: unspecified | Resolution: Keywords: deshake | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Changes (by cehoyos): * keywords: = deshake * priority: normal = wish -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:3 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
[FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter ---+-- Reporter: ubitux | Owner: Type: enhancement | Status: new Priority: normal | Component: avfilter Version: unspecified | Keywords: Blocked By: | Blocking: Reproduced by developer: 0| Analyzed by developer: 0 ---+-- An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Our deshake filter isn't very efficient with the provided sample (at least with the default settings) {{{ clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo' }}} {{{ ffplay -vf deshake 'Sam and Cocoa shaky original.webm' }}} It would be nice to improve the filter to handle such sample. -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: normal |Component: avfilter Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Description changed by ubitux: Old description: An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Our deshake filter isn't very efficient with the provided sample (at least with the default settings) {{{ clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo' }}} {{{ ffplay -vf deshake 'Sam and Cocoa shaky original.webm' }}} It would be nice to improve the filter to handle such sample. New description: An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Our deshake filter isn't very efficient with the provided sample (at least with the default settings) {{{ clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo' }}} {{{ ffplay 'Sam and Cocoa shaky original.webm' -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w' }}} It would be nice to improve the filter to handle such sample. -- -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:1 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac
Re: [FFmpeg-trac] #1430(avfilter:new): More efficient deshake filter
#1430: More efficient deshake filter -+ Reporter: ubitux |Owner: Type: enhancement | Status: new Priority: normal |Component: avfilter Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0| -+ Description changed by ubitux: Old description: An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Our deshake filter isn't very efficient with the provided sample (at least with the default settings) {{{ clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo' }}} {{{ ffplay 'Sam and Cocoa shaky original.webm' -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w' }}} It would be nice to improve the filter to handle such sample. New description: An interesting de-shake filter article: http://googleresearch.blogspot.in/2012/05/video-stabilization-on- youtube.html Our deshake filter isn't very efficient with the provided sample (at least with the default settings) {{{ clive -f best 'http://www.youtube.com/watch?v=627MqC6E5Yo' }}} {{{ ffplay 'Sam and Cocoa shaky original.webm' \ -vf 'split[a][b]; [a]pad=iw*2:ih[src]; [b]deshake[filt]; [src][filt]overlay=w' }}} It would be nice to improve the filter to handle such sample. -- -- Ticket URL: https://ffmpeg.org/trac/ffmpeg/ticket/1430#comment:2 FFmpeg http://ffmpeg.org FFmpeg issue tracker ___ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac