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

Why do all my webm formulas not work anymore on 4chan and say

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 17
Thread images: 3

File: 1432357475213.jpg (9KB, 302x225px) Image search: [Google]
1432357475213.jpg
9KB, 302x225px
Why do all my webm formulas not work anymore on 4chan and say invalid stream

Here are my formulas

NO SOUND
ffmpeg -i "file" -ss 00:00:00.000 -to 00:15:11.000 -c:v libvpx -crf 4 -b:v 3072*1024*8/duration*0.975 -vf scale=640:-1 -an outputname.webm

FOR SOUND
ffmpeg -i "file" -ss 00:00:00.000 -to 00:00:00.000 -c:v libvpx -c:a libvorbis -crf 4 -b:v 3072*1024*8/duration*0.975 -vf scale=640:-1 Outputname.webm


FOR SUBTITILES
ffmpeg -i "file" -ss 00:00:00.000 -to 00:00:00.000 -c:v libvpx -crf 4 -b:v 3072*1024*8/duration*0.975 -crf 4 -filter_complex "scale=-1:480,subtitles='file'" -an outputname.webm


FOR SOUND AND SUBTITLES
ffmpeg -i "file" -ss 00:00:00.000 -to 00:00:00.000 -c:v libvpx -crf 4 -b:v 3072*1024*8/duration*0.975 -crf 4 -filter_complex "scale=-1:640,subtitles='file'" -sn outputname.webm
>>
Can anyone just post their formula so I can tinker with it?
>>
>>57276189
seriously, just give me a fucking ffmpeg formula
>>
File: vader.webm (816KB, 1920x1080px) Image search: [Google]
vader.webm
816KB, 1920x1080px
Just use WebM For Retards
>>
>>57275904
Probably ffmpeg defaults to VP9, which 4chan does not support.
>>
If your source has subs your webms will have them. Add -sn to your command and try again
>>
>formula
ffmpeg -i input.mp4 -c:v libvpx -b:v 1M output.webm

Works for me.
>>
be a cool kid and encode with alpha channel
>>
how can I do seek multiple times with ffmpeg without processing/downloading everything between?
>>
>>57276420
Write your own wrapper program. The C API is not that hard.
>>
>>57276508
well right now I just call ffmpeg multiple times with different seek positions it saves considerable amount of bandwidth but its not perfect at all.

I would be able to save much more if there was a possibility to load videoonly once and then do those seeks multiple times
>>
>>57276765
>I would be able to save much more if there was a possibility to load videoonly once and then do those seeks multiple times

It is. I have it implemented in one project. Write your own. Use a baby language with ffmpeg bindings, if you have to.
>>
File: 1447442255167.jpg (48KB, 212x299px) Image search: [Google]
1447442255167.jpg
48KB, 212x299px
>>57276285

sheev's plastic surgery has done wonders for anakin's crispy skin
>>
>>57275904
You've been drivin much too long
https://www.youtube.com/watch?v=dP9Cc_wdNeM
>>
>>57276321
libvpx is VP8.

>>57275904
I never seen this in use:
3072*1024*8/duration*0.975
do?
Hey OP, can you paste the data after you do:
ffmpeg -i yourWebm.webm


I use:
ffmpeg -ss 00:00:00.000 -i input.mkv -to 00:00:00.000 -c:v libvpx -pass 1 -crf 4 -b:v 2M -sn -an -c:a libvorbis -vf scale=-1:360,ass=file.ass:fontsdir=mkvfonts -copyts -avoid_negative_ts make_zero -metadata title='FILENAME' output.webm

Remove -an for sound. I change 2M from 400k to 4M and 0.
fontdir for fonts without having to install them to the system.
>>57276420
You mean start right at the time stamp? You need to ass -ss before -i to seek and something to reset the time stamps.
>>
>>57275904
>Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
ffmpeg won't even take your command.

You might want to remove 3072*1024*8/duration*0.975
wtf does that even do?
>>
>>57276903
Also remove -pass 1
You can do a second pass with -pass 2 after running -pass 1 but its optional. File size will result larger than with the -pass values

Omit -pass 1 to save you time.
Thread posts: 17
Thread images: 3


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.