Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the format Name#Password
Comment
[i]Italic Text[/i]
[b]Bold Text[/b]
[spoiler]Spoiler Text[/spoiler]
>Highlight/Quote Text
[pre]Preformatted & Monospace Text[/pre]
[super]Superset Text[/super]
[sub]Subset Text[/sub]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


420chan is Getting Overhauled - Changelog/Bug Report/Request Thread (Updated March 22)
Need help joining webms together by Motivating Turtles - Wed, 12 Sep 2018 19:17:03 EST ID:jspzi3SQ No.37638 Ignore Report Quick Reply
File: 1536794223878.png -(52838B / 51.60KB, 768x512) Thumbnail displayed, click image for full size. 52838
is there any easy way to connect multiple webms into one big one?

There are roundabout 50 files and I want to join them all together.
>>
Charlotte Hibberforth - Wed, 12 Sep 2018 19:41:18 EST ID:+i3Wkb0r No.37639 Ignore Report Quick Reply
FFmpeg
>>
Sheel - Wed, 12 Sep 2018 20:11:55 EST ID:HlYwb8O4 No.37640 Ignore Report Quick Reply
Assuming files have same resolution, you could remux them to a new file using mkvmerge (https://mkvtoolnix.download)

I am unsure about how it works if the files have VP8/VP9 mixed though

Simple usage:
mkvmerge -o full.webm 1.webm +2.webm +3.webm ...

Docs: https://mkvtoolnix.download/doc/mkvmerge.html
>>
Jenny Clapperfoot - Thu, 13 Sep 2018 02:23:12 EST ID:UWQjExxE No.37641 Ignore Report Quick Reply
1536819792534.jpg -(383347B / 374.36KB, 1637x1073) Thumbnail displayed, click image for full size.
>>37640
wat.
>>
Rubber Triathlon - Thu, 13 Sep 2018 03:33:09 EST ID:UWQjExxE No.37642 Ignore Report Quick Reply
1536823989478.jpg -(34670B / 33.86KB, 320x760) Thumbnail displayed, click image for full size.
>>37638
convert them into mp4,
connect them via Abobe Premiere (or whatever program you fancy),
reencode the file into .webm via XMedia Recode.
>>
Fucking Fengerture - Fri, 14 Sep 2018 19:47:40 EST ID:9QSfnS0r No.37643 Ignore Report Quick Reply
>>37641
this is /prog/ not /techsupport/

that said
```
from glob import glob
from argparse import ArgumentParser
from moviepy.editor import VideoFileClip, CompositeVideoClip

ap = ArgumentParser()
ap.add_argument('pattern')
ap.add_argument('output')
args = ap.parse_args()

files = glob(args.pattern)
clips = [VideoFileClip(file) for file in files]
joined = CompositeVideoClip(clips)
joined.write_videofile(args.output)
```
>>
Fucking Fengerture - Fri, 14 Sep 2018 19:53:21 EST ID:9QSfnS0r No.37644 Ignore Report Quick Reply
>>37643
since I am trying to get some potentially uninitiated to use python

after you installed python
as a root (or run "cmd" in windows as Administrator)
install moviepy using
python -m pip install moviepy

run the script using:

python joinclips.py path/to/clips/clip*.webm myjoinedclip.webm
>>
Priscilla Blonnerbanks - Fri, 14 Sep 2018 23:24:28 EST ID:ed7hsrjY No.37645 Ignore Report Quick Reply
>>37643
>>37644

Wow. SImple, elegant, and you only had to install Python and half a gig of dependencies to do it.
>>
Walter Grandworth - Sat, 15 Sep 2018 09:33:35 EST ID:9QSfnS0r No.37646 Ignore Report Quick Reply
>>37645
Not to mention the 1.2 gig, 200 bucks/ year IDE I've used to write the few lines of code.

But if you are the guy that complains about that instead of knowing that you won't get anything done either.
All software sucks,
and you can use C but keep in mind that a simple thing like reading the folder contents or a glob pattern from the filesystem requires a library.
Not to mention decoding, joining, and re-encoding of video is actually a fairly complex task.
So it'll take you 100+ lines of code and probably a days worth of work to find out how.
>>
Priscilla Blonnerbanks - Sat, 15 Sep 2018 17:38:16 EST ID:ed7hsrjY No.37647 Ignore Report Quick Reply
>>37646
The guy who wrote a shitty wrapper for FFmpeg instead of ignoring the thread pays for an IDE? Why am I not surprised?
>>
Walter Grandworth - Sat, 15 Sep 2018 19:15:30 EST ID:9QSfnS0r No.37648 Ignore Report Quick Reply
>>37647
lol if you think I am the one paying for it. why am I not surprised...
>>
Eliza Henkinmad - Tue, 02 Oct 2018 04:48:31 EST ID:hT1UzTKo No.37656 Ignore Report Quick Reply
>>37646

What you did with extra dependencies and code you had to write can be done with ffmpeg directly smh 🤦‍♀️ so when you say

> But if you are the guy that complains about that instead of knowing that you won't get anything done either.

I say: no, I am the guy that am aware of the existence of the tools I need, so that I can use those and instead of spending my time reinventing the wheel I can spend my efforts elsewhere, writing code to do new things
>>
Sophie Pittbury - Tue, 02 Oct 2018 12:27:41 EST ID:HoAtcQFE No.37658 Ignore Report Quick Reply
open the webm with notepad, copy and paste it to the other one, voila
>>
Cornelius Smallson - Fri, 05 Oct 2018 02:23:18 EST ID:Xm/W+3lL No.37659 Ignore Report Quick Reply
>>37658
This won't actually work with Notepad. You have to use Wordpad because Notepad will convert all of the CR's into CRLF's and butcher the binary encoding of the datafiles.
>>
Doris Hombleman - Thu, 18 Oct 2018 00:59:03 EST ID:Vu8mgKGQ No.37663 Ignore Report Quick Reply
>>37658
if concatenating webms actually works you can actually do
copy /b *.webm joined.webm
on windows
and cat *.webm > joined.webm
everywhere else

But then again I doubt it, this stuff used to work with oldtimey mpegs in the 90s. webms use vp8 iirc and I can't see how they would behave any differently than say h264 mp4s
>>
Shit Biblingneg - Thu, 01 Nov 2018 13:18:35 EST ID:9t0AOqTI No.37670 Ignore Report Quick Reply
>>37663
I would be amazed if this worked with any modern format. That's a pretty cool trick though

I feel like the 2 posters above you are trolling but I'm too lazy to try it
>>
Edwin Goffingspear - Sun, 09 Dec 2018 19:43:03 EST ID:S+TDDgvB No.37688 Ignore Report Quick Reply
>>37670
I tried it with a tar archive and I'm pretty sure the newlines killed it. Either that or I'm more retarded than I thought.


Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.