home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
TV Thumbnailer - Custom Rec TV Thumbs / Better h264 support
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jay_UK" data-source="post: 928344" data-attributes="member: 98509"><p>Hi there,</p><p> </p><p>Try this FFmpeg command:</p><p> </p><p>ffmpeg.exe -ss BEGINNINGPOSITION -i SOURCEFILE -vf "select=isnan(prev_selected_t)+gte(t-prev_selected_t\,20),yadif=0:-1:0,scale=TILEWIDTH:TILEHEIGHT,setsar=1:1,tile=TILEROWSxTILECOLUMNS" -vframes 1 -vsync 0 -an OUTPUTFILE</p><p> </p><p>Where the CAPITALISED words are values I pass.</p><p> </p><p>There is a slight issues with the division by 20 (ont very short movies), I need to tinker with and probably avoid the select on really short stuff.</p><p> </p><p>You could try the thumbnail filter too.</p><p> </p><p>The values MePo passes to MTN vary, but MTN supports (taken from MTN source code):</p><p> </p><p>-a aspect_ratio : override input file's display aspect ratio</p><p>-b %.2f : skip if %% blank is higher; 0:skip all 1:skip really blank >1<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" />ff</p><p>-B %.1f : omit this seconds from the beginning</p><p>-c %d : # of column</p><p>-C %d : cut movie and thumbnails not more than the specified seconds; <=0<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" />ff</p><p>-D %d : edge detection; 0<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" />ff >0<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" />n; higher detects more; try -D4 -D6 or -D8</p><p>-E %.1f : omit this seconds at the end</p><p>-f %s : font file; use absolute path if not in usual places</p><p>-F RRGGBB:size[:font:RRGGBB:RRGGBB:size] : font format [time is optional]</p><p>-g %d : gap between each shot</p><p>-h %d : minimum height of each shot; will reduce # of column to fit</p><p>-i : info text off</p><p>-I : save individual shots too</p><p>-j %d : jpeg quality</p><p>-k RRGGBB : background color (in hex) </p><p>-L info_location[:time_location] : location of text 1=lower left, 2=lower right, 3=upper right, 4=upper left</p><p>-n : run at normal priority</p><p>-N info_suffix : save info text to a file with suffix</p><p>-o %s : output suffix</p><p>-O directory : save output files in the specified directory</p><p>-p : pause before exiting; default on in win32</p><p>-P : dont pause before exiting; override -p</p><p>-r %d : # of rows; >0<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite9" alt=":eek:" title="Eek! :eek:" loading="lazy" data-shortname=":eek:" />verride -s</p><p>-s %d : time step between each shot</p><p>-t : time stamp off</p><p>-T text : add text above output image</p><p>-v : verbose mode (debug)</p><p>-w %d : width of output image; 0:column * movie width</p><p>-W : dont overwrite existing files, i.e. update mode</p><p>-z : always use seek mode</p><p>-Z : always use non-seek mode -- slower but more accurate timing</p><p>When thumbnailing Recorded TV, MePo uses:</p><p> </p><p>" -D 6 -B {0} -E {1} -c {2} -r {3} -b {4} -t -i -w {5} -n -P \"{6}\"", preGapSec, postGapSec, PreviewColumns, PreviewRows, blank, 0, aVideoPath</p><p> </p><p>Hope this helps...</p><p> </p><p>J.</p></blockquote><p></p>
[QUOTE="Jay_UK, post: 928344, member: 98509"] Hi there, Try this FFmpeg command: ffmpeg.exe -ss BEGINNINGPOSITION -i SOURCEFILE -vf "select=isnan(prev_selected_t)+gte(t-prev_selected_t\,20),yadif=0:-1:0,scale=TILEWIDTH:TILEHEIGHT,setsar=1:1,tile=TILEROWSxTILECOLUMNS" -vframes 1 -vsync 0 -an OUTPUTFILE Where the CAPITALISED words are values I pass. There is a slight issues with the division by 20 (ont very short movies), I need to tinker with and probably avoid the select on really short stuff. You could try the thumbnail filter too. The values MePo passes to MTN vary, but MTN supports (taken from MTN source code): -a aspect_ratio : override input file's display aspect ratio -b %.2f : skip if %% blank is higher; 0:skip all 1:skip really blank >1:off -B %.1f : omit this seconds from the beginning -c %d : # of column -C %d : cut movie and thumbnails not more than the specified seconds; <=0:off -D %d : edge detection; 0:off >0:on; higher detects more; try -D4 -D6 or -D8 -E %.1f : omit this seconds at the end -f %s : font file; use absolute path if not in usual places -F RRGGBB:size[:font:RRGGBB:RRGGBB:size] : font format [time is optional] -g %d : gap between each shot -h %d : minimum height of each shot; will reduce # of column to fit -i : info text off -I : save individual shots too -j %d : jpeg quality -k RRGGBB : background color (in hex) -L info_location[:time_location] : location of text 1=lower left, 2=lower right, 3=upper right, 4=upper left -n : run at normal priority -N info_suffix : save info text to a file with suffix -o %s : output suffix -O directory : save output files in the specified directory -p : pause before exiting; default on in win32 -P : dont pause before exiting; override -p -r %d : # of rows; >0:override -s -s %d : time step between each shot -t : time stamp off -T text : add text above output image -v : verbose mode (debug) -w %d : width of output image; 0:column * movie width -W : dont overwrite existing files, i.e. update mode -z : always use seek mode -Z : always use non-seek mode -- slower but more accurate timing When thumbnailing Recorded TV, MePo uses: " -D 6 -B {0} -E {1} -c {2} -r {3} -b {4} -t -i -w {5} -n -P \"{6}\"", preGapSec, postGapSec, PreviewColumns, PreviewRows, blank, 0, aVideoPath Hope this helps... J. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
TV Thumbnailer - Custom Rec TV Thumbs / Better h264 support
Contact us
RSS
Top
Bottom