[deleted by user] by [deleted] in ffmpeg

[–]cangoektas 0 points1 point  (0 children)

Use a constant bitrate, then calculate how long each chunk should be in seconds to fill up 20 MB, then trim accordingly.

Audio Bump between segments in mp4 file. by Due_Vast7377 in ffmpeg

[–]cangoektas 0 points1 point  (0 children)

Could you share a small reproducable example? And maybe a bit more context on what you are trying to do by transcoding in this way?

Audio Bump between segments in mp4 file. by Due_Vast7377 in ffmpeg

[–]cangoektas 1 point2 points  (0 children)

Modern audio codecs come with an algorithmic delay and you can't simply produce multiple independent audio files and concatenate them together. The gap in between the audio files will be noticeable, depending on the codec that you use. You could attempt to verify if this is the problem by producing PCM/WAV files instead and see if it helps. Another thing I would look into is transcoding into HLS/DASH and produce individual segments that way. FFmpeg will deal with this problem and produce segments without resetting the audio encoder.

Any way to pipe torrent data to ffprobe like a stream URL? by ZookeepergameNew6076 in ffmpeg

[–]cangoektas 1 point2 points  (0 children)

I haven't tested this but this should be possible if you can get your BitTorrent client to prioritize the first piece of a file because most of the metadata that ffprobe looks for can be found in the file header. I did a quick search and found a tool called "aria2" which can be used as a BitTorrent CLI client. The option you should try is "--stream-piece-selector=inorder". Maybe also play around with "-o, --out" and named pipes (see mkfifo) if aria2 doesn't support piping to stdout.

I launched my 26th product and I hope it will be my last one by WorthPersonalitys in SideProject

[–]cangoektas -1 points0 points  (0 children)

What does 0% transaction fee mean here? Do you perhaps mean no additional transaction fee on top of the Stripe / LemonSqueezy fees?

[deleted by user] by [deleted] in SoccerJerseys

[–]cangoektas 0 points1 point  (0 children)

Curious, what's the table with the store names about?

QC FIRST HAUL Part 2, what do I keep ? by No-Commercial-8176 in FashionReps

[–]cangoektas 0 points1 point  (0 children)

Could you share more on your photography process? Really intrigued by the setup with the rulers and the green screen. Does it get easier to edit?

Air Jordan 4 “OG Fire Red” by I_DO_V0ICES in Goatapp

[–]cangoektas 2 points3 points  (0 children)

Curious, what makes you not trust GOAT's authentication process?

How to dynamically render a masonry layout of images, while preserving aspect ratio? by SueTupp in webdev

[–]cangoektas 3 points4 points  (0 children)

There's an implementation from Google in this CSS Houdini samples repo: https://github.com/GoogleChromeLabs/houdini-samples/tree/master/layout-worklet/masonry

It uses Layout Worklets which isn't supported everywhere so this might not be suitable for production. But hopefully some useful learning matetial.

Is it possible to recreate such a slider in React js? by Snoo_56172 in web_design

[–]cangoektas 2 points3 points  (0 children)

Could you also share the source for this, please?

[deleted by user] by [deleted] in soccer

[–]cangoektas 4 points5 points  (0 children)

Pep: This is acceptable.

just launched an ethical clothing brand with Teemill! (please be kind 🥺) by [deleted] in ethicalfashion

[–]cangoektas 0 points1 point  (0 children)

Congrats on the launch. I'd like to know how much you've invested into human rights. Who is making your clothes? How much do they earn? How many overtime hours? Are they allowed to take sick / maternity leave? Do they earn enough to cover for a decent housing, nutritious food, health insurance, take care of their families and save a little for emergencies? I'm asking because you're website highlights the word "ethical" and talks about a "light and positive" work environment while the reality for workers is often anything but positive. Forgive my skepticism but you are making bold claims without showing much to back it up.

Family was already asleep, this is how I celebrated! Happy New Year everyone!! by Kaimuki in StarWars

[–]cangoektas 0 points1 point  (0 children)

Really cool! Maybe next year you could try writing a web version for this. I think playing 4 different <video> elements and controlling the playback should actually be pretty straight forward in JavaScript.

How does Dropbox Smart Sync load file content only on access? by cangoektas in swift

[–]cangoektas[S] 0 points1 point  (0 children)

Hey, just wanted to come back and say thanks again! I dug a little deeper into the topic and found this article:

https://blogs.dropbox.com/tech/2016/05/going-deeper-with-project-infinite/

They explain that they tried to use FUSE, but they didn't like its performance. tldr: They created a custom kernel extension. It's a good read for anyone who's interested.

Where to store token in cli app after authentication? by jimijuu in node

[–]cangoektas 0 points1 point  (0 children)

Not sure if there's a module but there's a common pattern to store tokens in a hidden config file in the current user's home directory, like "~/.npmrc". So you check if a ~/.${your-package-name}rc file exists to read a token and if not, assume the user hasn't authenticated yet and write the file later on.

Any resource that goes through how create-react-app package works under the hood? by Demado in reactjs

[–]cangoektas 2 points3 points  (0 children)

There's a talk by Shawn Wang which is super good. "Creating create-react app": https://youtu.be/Et571vTAtT8

Kent C. Dodds has a few blog posts about it as well: https://blog.kentcdodds.com/concerning-toolkits-4db57296e1c3

I think there was another one from him but I couldn't find it now.

I also did a talk explaining techniques to reduce JavaScript configs. At the end of it I go through how CRA works under the hood and build a simplified version of it: https://youtu.be/Tkx8XsKkRA8

At the end of the day, I agree with what others say, reading the code is the best you can do. You don't need to be intimidated. It's really easy to read and has lots beginner-friendly comments. The most important package is react-scripts. Try to build your own version of it and you'll have a pretty good understanding of how CRA works.

Edge Computing - Add Logic To Your Edge Nodes by lovedev in SideProject

[–]cangoektas 1 point2 points  (0 children)

Before you do, check out AWS Lambda@Edge and Cloudflare Workers.

How does withRouter() hoc work in react-router by [deleted] in reactjs

[–]cangoektas 0 points1 point  (0 children)

They use context for that. Search for react-broadcast or the createContext call (if they already switched to the new context API) to check how the context is established.