I am sure that the following code will help you (specially in your case),
Code:
# / Bin / sh
video = `zenity - file-selection - title =" Please select a video to convert "`
subtitle = `zenity - file-selection - title =
" Please select a sub-title "`
mencoder-sub "$ (subtitle)"-fontconfig-font Arial-latin1-subcp subfont-text-scale 4 "$
(video)"-oac mp3lame-lameopts abr: br = 128-ovc xvid-xvidencopts bitrate = 200: chroma_opt : vhq = 4: =
1 bvhq: quant_type = mpeg-vf pp = de, scale = 320: -2, expand = 320:240, scale = 320:240-o "$ (video). ZEN.avi" 2> & 1 | gawk-RSV
= '\ r' '$ 1 ~ / Pos / (gsub (/ Pos: /, "") gsub (/%)/," ") gsub (/ \ (/," "); if ($ 3> 0) print $ 3; fflush ();}' | zenity - progress - auto-close - text =
"Converting <span color=\"blue\"> $ (video) </ span> in progress "- title =" Progression of conversion "
Copy this code into a file convertirZen.sh example, make it executable, and create a shortcut pointing to that file. The converted video will have names nom_origine.zen.avi It will then use to transfer video gnomad2 obtained.
Bookmarks