sigmoid.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A social space for people researching, working with, or just interested in AI!

Server stats:

608
active users

#ffmpeg

4 posts4 participants0 posts today

Assume I have a single 10h long .mkv clip (#IYKYK) which I want to chop up at non-uniform parts, i.e. first chunk would be 14:05 long, the second 17:36 etc.
Provided I establish where to cut, can you provide me with a script that does exactly that? No need to re-encode or transcode, no need to modify neither the video nor the audio streams; no need to adjust sync either, just chop-chop-chop 😁
I'm not looking for a GUI where I'd need to configure a zillion settings before I can perform the manual part, so #ffmpeg seems like an obvious choice.
Can any of you aficionados help me out please? Please boost for karma 😘

So I have hundreds of videos of ~1 minute recorded from my phone ~10 years ago, and they generally don’t have that great compression, nor they are stored in a modern and advanced video format.

For archiving purposes, I want to take advantage of my workstation’s mighty GPU to process them so that the quality is approximately the same, but the file size would be strongly reduced.

Nevertheless, compressing videos is terribly hard, and way more complex than compressing pictures, so I wouldn’t really know how to do this, what format to use, what codec, what bitrate, what parameters to keep an eye on, etc.

I don’t care if the compression takes a lot of time, I just want smaller but good looking videos.

Any tips? (Links to guides and tutorials are ok too)

Also, unfortunately I am forced to use Windows for this (don’t ask me why 🫠), but I know nothing about Windows because I hate it. Practical software suggestions are very much welcome, too!

#ffmpeg#help#askFedi

Playing with this amazing frontend again to understand FFmpeg better.

Because FFmpeg can do a multitude of operations on both the audio and the video of a stream, it takes or a lot of time and a significant amount of systematic effort to understand everything you need to know about this superb toolbox

I need to know a lot about it so I'll use any tool to assist me in this endeavor

https:// ffmpeg.lav.io

I'm trying to free my audiobooks from the Audible ecosystem and have run into a little issue for which I'm looking for help.

After liberating books with "ffmpeg -y -activation_bytes <bytes> -i <book>.aax -codec copy <book>.m4b", some of them show a vastly longer duration in my library. One example goes from 14h34m44s to 777h28m46s. It's only a small portion of the books, and I haven't figures out a pattern yet. 😠

Any ideas why? :boostRequest:

So I was trying to make an animated gif myself (as one does), and I figured #ffmpeg could come in handy (as it usually does). Tried googling around for parameters and, wouldn't you know it, I came across a blog post from @bug on that very subject. I was pretty sure I'd find him lurking in this corner of the interwebs.

My question is: how up-to-date is that blog post? Are there any new options or ways of doing gifs in ffmpeg since [checks date] ... 2015?

blog.pkh.me/p/21-high-quality-

blog.pkh.meHigh quality GIF with FFmpeg
Replied in thread

@sotolf @joel

Millennial/Zoomer long-form podcast enjoyers vs. GenX Zero Attention Span dude. XD

(To be fair, I have had some audio things that were over nine hours long, but they were compilations of several sermons concatenated together (and audio-equalized) with #ffmpeg)

Replied to doboprobodyne

@doboprobodyne @christianp

awesome!
In the long run it might also make the online transcoding tools with the "Start now" [to download malware]-button obsolete.

Funnily I talked about this [soon solved] problem with my funder @clemensg by phone today.

#transcoding #encoding #video #browser #ffmpeg #webassembly #clientside #videoconverter

just et. al. too
please save us from uploading duplicate files or journalists from writing alt twice with clientside content-id comparison.

Replied in thread

@christianp

Just a thought, from a knuckle-dragging biology scientist. TL;DR: I believe there is scope to make the hosting of a peertube instance even more lightweight in the future.

I read some time ago of people using #webAssembly to transcode video in a user's web-browser. blog.scottlogic.com/2020/11/23

Since then, I believe #WebGPU has done/is doing some clever things to improve the browser's access to the device's GPU.

I have not seen any #peertube capability that offloads video transcoding to the user in this way.

I imagine, though, that this would align well with peertube's agenda of lowering the bar to entry into web-video hosting, so I cannot help but think that this will come in time.

My own interest is seeing a #Piefed (activitypub) instance whose web-pages could #autotranslate posts into the user's own language using the user's own processing power... One day, maybe!

Thank you again for all your hard work; it is an inspiration.

Scott LogicIn-browser transcoding of video files with FFmpeg and WebAssemblyThe WebAssembly build of FFmpeg allows you to run this powerful video processing tool directly within the browser. In this blog post I explore FFmpeg.wasm and create a simple client-side transcoder that streams data into a video element, with a bit of RxJS thrown in for good measure.

Re: okla.social/@johnmoyer/1147381

rsok.com/~jrm/2025May31_birds_

ffmpeg -loop 1 -i IMG_3666cs_gimp.JPG -y -filter_complex "[0]scale=1200:-2,setsar=1:1[out];[out]crop=1200:800[out];[out]scale=8000:-1,zoompan=z='zoom+0.005':x=iw/3.125-(iw/zoom/2):y=ih/2.4-(ih/zoom/2):d=3000:s=1200x800:fps=30[out]" -vcodec libx265 -map "[out]" -map 0:a? -pix_fmt yuv420p -r 30 -t 30 video_IMG_3666c_2.mp4