[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
What ffmpeg GUI supports .webm conversions?
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: 69
Thread images: 8
File: erdogan-ap-3481-646x366.jpg (50 KB, 800x453) Image search: [Google]
erdogan-ap-3481-646x366.jpg
50 KB, 800x453
What ffmpeg GUI supports .webm conversions?
>>
>>52064116
install gentoo
>>
>>52064116
try handbrake
>>
>>52064139
It doesn't support webm
>>
>gui

just learn the few commands.
It'll be so much easier and faster.

There's only like 2-3 parameters to remember if all you want is a video.
>>
File: spoon-feeding-pupils.jpg (63 KB, 420x282) Image search: [Google]
spoon-feeding-pupils.jpg
63 KB, 420x282
webm for retards

now delete this thread
>>
File: linus_darrell_lca2007.jpg (33 KB, 244x206) Image search: [Google]
linus_darrell_lca2007.jpg
33 KB, 244x206
>>52064156
ffmpeg -i <source> -c:v libvpx-vp9 -pass 2 -b:v 1000K -threads 1 -speed 0 \

-tile-columns 0 -frame-parallel 0 -auto-alt-ref 1 -lag-in-frames 25 \

-g 9999 -aq-mode 0 -c:a libopus -b:a 64k -f webm out.webm
>>
>>52064163
Not spoonfeeding, and it's not correct, either

It's called WebM for Bakas because, you guessed it, GitHub being an SJW.

No need to be a self-hating spoonfeeder, either.
>>
>>52064198
you can make everything complex.

But I doubt a GUI gives you every option and not just an empty textfield for additional parameters.
>>
File: 148.jpg (157 KB, 1276x760) Image search: [Google]
148.jpg
157 KB, 1276x760
>>52064204
Fuck off retard.
>>52064208
>an empty textfield for additional parameters
That'll be saved there avoiding to type 100 characters everytime I need to simply one click in a large button to get everything done.

I don't mind typing few sudo apt-get but it's unpractical for .webm

Pic related doesn't support ·webm though
>>
>>52064198
>-threads 1 -speed 0
Confirmed for retard
>>
>>52064245
It's a copied script from the official website.
http://wiki.webmproject.org/ffmpeg/vp9-encoding-guide
>>
>>52064238
you can just use ffmpeg presets.
No need to write something multiple times.

Or write a batch file where you just drag and drop your files on.

@echo off
if [%1]==[] goto :eof
:loop
ffmpeg -i %1 -r 30 -c:v libvpx-vp9 -pass 1 -b:v 1500K -threads 4 -speed 4 -tile-columns 6 -frame-parallel 1 -an -f webm -y NUL
ffmpeg -i %1 -r 30 -c:v libvpx-vp9 -pass 2 -b:v 1500K -threads 4 -speed 1 -tile-columns 6 -frame-parallel 1 -auto-alt-ref 1 -lag-in-frames 25 -c:a libopus -b:a 64k -f webm -y "%~n1.webm"
shift
if not [%1]==[] goto loop
>>
>>52064116
Xmedia Recode

http://xmedia-recode.de/en/index.html
>>
I'am using "Shana Encoder" is really good encoding software.
>>
I like Winff on Linux.
>>
>>52064274
So, how does it really work? I saved on a notedpad and tried to drag something at it without success.
>>
>>52064116
https://gitgud.io/nixx/WebMConverter
all you need to convert to webm, crop, trim, rotate and so on. everything else is shit compared to this including using CLI
>>
>>52064274
Stop the sperging and admit a GUI is good here
>>
>>52064198
ffmpeg -ss <start_time> -i <source> -an -t <length> -b:v <24/length>M -vf "scale=-1:480" <destination_path>

you don't even need to explicitly specify the codec, ffmpeg figures out the right one automatically from the .webm extension
>>
File: The_Animatrix_floating.webm (3 MB, 710x368) Image search: [Google]
The_Animatrix_floating.webm
3 MB, 710x368
ffmpeg -i Movies/Animated/The_Animatrix/The_Animatrix.mkv -ss 01:01:30.931 -to 01:02:05.333 -crf 4 -an -sn -c:v vp8 -b:v 800k webm/The_Animatrix_floating.webm
>>
>>52064116
The command line GUI.
>>
>>52064509
this
>>
>>52064116
>if use Linux you are smart enough to just use cli
>>
>>52064664
this, I don't really get what that is.
>>
File: 1450374508945.jpg (54 KB, 499x499) Image search: [Google]
1450374508945.jpg
54 KB, 499x499
>>52067831
>look at all these people discussing technology instead of programming, clothes to wear when programming, music for programming, hardware for programming, pictures of their rooms, headphones and other fagets marketing
>>
>CLI

You'll never be able to auto-format your video to fit into 3MB like Webm for Retards does. Enjoy fiddling for hours until it's >2.95MB and <3MB
>>
>>52068092
>implying there's not a size limit option
moron detected
>>
>>52068111
>skipping frames
>reducing quality

Webm for Retards also has a slow high quality mode. That's how the best webms you've seen on 4chan are made.
>>
>>52068126
>>52068092
Webm for Retards uses ffmpeg under the hood. The "slow high quality" thing you are talking about is just a normal two-pass filter, like every single how-to on ffmpeg for webbums has been recommending from day one.

Though you might be better off using the GUI considering the name and your condition.
>>
>>52068404
>ffmpeg under the hood

no shit?

It just doesn't make you jump through hoops to get a fucking webm under 3MB. Two pass filters require you to actually calculate the bitrate to fit under 3MB
>>
>>52064116
https://gitgud.io/nixx/WebMConverter

the best.

Has trim, crop, subtitle support and all that
>>
>>52068430
>add -f 1, -f 2 as a flag for your two passes
>jumping through hoops
>>
>>52068404
>>52068438
>Only works on Windows (I assume Linux users don't need GUIs)
Read the thread.
>>
>>52068470
>-f1
>-f2

Damn I wonder how ffmpeg can know for sure how much the bitrate needs to be with these 2 options..
CLI is just magical it seems.
>>
>>52068516
The required bitrate is directly proportional to the length of the video. Literally first grade math.
>>
>>52068539
Yes but you need to calculate this shit for every fucking video you want to convert, how fucking dense can you be?

When I'm on a stream thread and want to snapshot quick webms to post, I don't have time for this crap.
>>
kdenlive
>>
>>52068569
You don't. You are in front of a fucking computer. "Compute" is even in the name.
>>
how to burn subtitle on to a webm

input.mkv (stream 0: audio, stream 1: video, stream 2: ass)

ffmpeg -i input.mkv output.webm

creates output.webm (stream 0: audio, 1: video, 2: sub)

I want stream 0: audio 1: video (with sub burned in)

Any help?
>>
>>52069211
>When hardsubbing video, please keep in mind that the video will have
>to be reencoded. To avoid quality loss you should perform the
>hardsubbing at the same time as your first encoding.

>The general structure of the command looks like follows:
 $ ffmpeg -i softsubbed.mp4 <encoding options go here> -vf "subtitles=softsubbed.mp4" -sn hardsubbed.webm
>>
>>52069280
Cool lemme test it.
>>
>ffmpeg -ss 00:00:17 -i test.mkv -t 00:00:15 -c:v libvpx -an -vf "subtitles=test.mkv" -sn test.webm
1 stream with no subtitle
>ffmpeg -ss 00:00:17 -i test.mkv -t 00:00:15 -c:v libvpx -an -vf "subtitles=test.mkv" test.webm
2 stream 0:video 1: webvtt

Any other way to do this?
>>
>>52069494
for >>52069280

Also to clarify, the problem with bottom is you can't upload it to 4chan.
>>
>>52069494
>>52069521

The top one should work. What version of ffmpeg are you running?

You could try exporting the subtitles (ffmpeg -i test.mkv test.ass, I guess) and substituting that file for test.mkv in the subtitles= part.
>>
>>52069601
ffmpeg version N-74835-gbd6610c Copyright (c) 2000-2015 the FFmpeg developers

>You could try exporting the subtitles (ffmpeg -i test.mkv test.ass, I guess) and substituting that file for test.mkv in the subtitles= part.
I could do that, but thats an extra step that I don't really want to have to do unless necessary.
>>
>>52069601
>>52069494
>>52069521

Subtitles + Audio work on Windows, here's one i made a while ago:

https://my.mixtape.moe/lkgwgy.webm
>>
>>52069623
True dat. I dunno, it werks on my machine. Not sure why it doesn't work with yours.

You can read more about the "subtitles" video filter here: https://www.ffmpeg.org/ffmpeg-filters.html#subtitles-1
>>
File: 9600.webm (3 MB, 960x540) Image search: [Google]
9600.webm
3 MB, 960x540
why are people using vp9 and opus.. 4chins only supports vorbis and vp8
>>
>>52069667
Even updated to the latest ffmpeg (64 static) and still wouldn't fix it.
>>52069650
What exact command did you use? Can you post it?

I'm reading the filters guide right now, hopefully a fix would be found.
>>
>>52069776
What have they done to this show? It looks like generic anime crap. Don't they have a decent budget?
>>
>>52069810
Strange. You're not using Gentoo and forgetting to enable the libass USE flag or something, are you?

Try telling it explicitly to use the first subtitle track (:si=0).
>>
>>52069810

I use multiple programs and multiple commands

ffmpeg shits the bed when you try encoding with subtitles on windows.. videos come out messed up or substiles all messed up
>>
File: 1432374669413.png (117 KB, 372x351) Image search: [Google]
1432374669413.png
117 KB, 372x351
>>52069818
God forbid if anyone would get the impression that DBZ was generic.
>>
>>52069810
I tested it with 3 file(a,b,c). 1/3 worked. 2/3 failed.

I'm on windows. The ffmpeg behavior is weird.
>>
>>52069949

>>52069601 here, I've never used Windows, so I'm not really sure what is causing it. Could you post the clips you're using to pomf.cat or something so I can see if I get the same behaviour on Linux? Preferably, cut them (-ss, -t) before posting.
>>
>>52070011
>file: http://a.pomf.cat/vzuaby.mkv (rename to test.mkv)
>input: ffmpeg -i test.mkv -c:v libvpx -an -vf "subtitles=test.mkv" -sn test.webm
>result: http://a.pomf.cat/ocifpb.webm

See if this works for you.
>>
>>52070127
Second test file

>file: http://a.pomf.cat/ldcadm.mkv (test2.mkv)
>input: ffmpeg -i test2.mkv -c:v libvpx -an -vf "subtitles=test2.mkv" -sn test2.webm
>result: http://a.pomf.cat/swfqlk.webm

This file works.
>>
>>52070127
>>52070203
>See if this works for you.
Huh, doesn't look like it. I don't get any subs either. Second one works, though.
>>
>>52064509
Yes works ok on Windows and Linux. You might need to download webm presets for winff.
>>
>>52070127
>>52070247
Did some more testing. subtitles=test.mkv doesn't work, extracting the ass and then hardsubbing works, extracting the ass followed by merging it into the original mkv with mkvmerge and then hardsubbing also works. Really strange.
>>
>>52070247
I think I found out the problem. Its the shitty way ffmpeg does seek.

Both of the files were done with seek (-ss) from the original file. Because of the inaccuracies with the -ss, this fucked up the first file. I did a new cut without -ss and only cut after 40 seconds. Then did the command again, it works perfectly fine.

You should check the test.mkv's ass file and compare it to test2.mkv's ass file. You'll see the problem. The first test.mkv has quite a bit of subs in it, even though the file is only supposed to be few seconds long. The second one did it bit accurate and only has the short sub line.

Now I need to know if there is an accurate way to do seek with ffmpeg without fucking shit up.
>>
>>52070520
>The first test.mkv has quite a bit of subs in it, even though the file is only supposed to be few seconds long
Oh, right. I noticed that too, but I assumed it would just ignore the extra lines.

If I recall correctly, the order in which you give the -ss and -t flags change the behaviour subtly. If you declare them before -i, it seeks in the input file and starts decoding from there (which is not always accurate). If you declare it after, it decodes the file as if it was playing and then discards the content outside the boundaries.
>>
>>52064116
>not using sorenson squeeze desktop
please consider jumping off of a moving train
>>
>>52064116
Sauce?
>>
>>52071164
Boku no Erdogan.
>>
>-vf "scale=-1:640, subtitles="A:\New Folder\test.mkv""
Folder\test.mkv: No such file or directory

>-vf "scale=-1:640, subtitles='A:\New Folder\test.mkv'"
Unable to parse option value "New Foldertest.mkv" as image size
Error setting option original_size to value New Foldertest.mkv
Error applying options to the filter
etc

>-vf "scale=-1:640, subtitles=A:/new folder/test.mkv"
same problem as above

>-vf "scale=-1:640, subtitles=test.mkv"
success

How do I do quotations inside quotations properly on ffmpeg?
>>
>>52071348
Try both using ' ' and escaping your \'s (i.e. type \\ instead).
>>
>>52071650
used \' and worked fined.

Thanks for everyone. Helped me quite a bit in my script.
Thread replies: 69
Thread images: 8

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.