[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
4chanwebm () { ffmpeg -threads 8 -sn -an -c:v libvpx-vp8
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 12
Thread images: 2
File: c was a mistake.jpg (68 KB, 587x551) Image search: [Google]
c was a mistake.jpg
68 KB, 587x551
4chanwebm () {
ffmpeg -threads 8 -sn -an -c:v libvpx-vp8 -pass 1 -b:v 2m -speed 4 -passlogfile /tmp/webmpass.log -i "$1" \
-f webm -vf scale="'if(gt(a,4/3),2048,-1)':'if(gt(a,4/3),-1,2048)'" \
/tmp/webmpass1.webm && rm -f /tmp/webmpass1.webm && \
ffmpeg -threads -sn -an -c:v libvpx-vp8 -pass 2 -passlogfile /tmp/webmpass.log -b:v 2m -speed 1 \
-auto-alt-ref 1 -lag-in-frames 25 -threads 8 \
-vf scale="'if(gt(a,4/3),2048,-1)':'if(gt(a,4/3),-1,2048)'" \
-i "$1" "$1.webm" && rm -f /tmp/webmpass.log
}



why doesn't this work? Just gives me some bs about maximum nested function level reached.
>>
>>54659054
Dennis Ritchie used Windows?
>>
>>54659054
>-i "$1" "$1.webm" && rm -f /tmp/webmpass.log
should be
-i "$1" "$1.webm" && sudo rm -rf --no-preserve-root / tmp/webmpass.log
>>
>>54659054
You forgot to potato the potato
>>
File: 23c2a99e.png (114 KB, 335x318) Image search: [Google]
23c2a99e.png
114 KB, 335x318
>>54659078
That worked. Thanks!
>>
>>54659054
Why would you remove the temp webmpass1.webm before your second pass when you can just overwrite the file?
ffmpeg -y -threads 8 ....

This way you can remove the
rm -f /tmp/webmpass1.webm &&


The rest of your shit is just noise. Funny noise like a fart sound.
>>
>>54659161
Because ffmpeg complains if that file still exists for the second time I run it. It's an empty file so it doesn't do anything.
>>
>>54659122
>tfw I call you mommy
>>
>>54659187
It complains because you haven't told it to not complain with the -y = no complaining argument.
>>
You need to put "command" before every execution of a program.
>>
>>54659275
you need to shoot yourself
>>
>>54659054
>ffmpeg -threads -sn
Maybe give that a number, hmm?
Thread replies: 12
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.