22:35
I Have written a go code but it is slow and the video compression rate is also not that impressive. I am new to FFMPEG and my entire project depends on FFMPEG. I have tried different video codecs like vp9, h264, h265, NVENC, AV1, etc. All of them were too slow (maybe I am not good enough to optimize it). My project is based on Go and the current codec that I am using is libx264. Can anyone help me optimize the video encoding part of my project.
Libx264:
func encodeVideo(fileName, bitrate, crf, preset, resolution string) *exec.Cmd
return (...)
18:31
I am creating disnake music bot. The error is:
[in#0 ⓐ 00000233f8d71500] Error opening input: Invalid data found when processing input
Error opening input file https://www.youtube.com/watch?v=duDUqBtxwXk.
Error opening input files: Invalid data found when processing input
Here is part of my code:
import disnake
import asyncio
from yt_dlp import YoutubeDL
import ffmpeg
YTDL_OPTIONS = 'format': 'bestaudio', 'noplaylist': 'False', 'simulate':'True', (...)
18:10
I want to upscale a stereo signal with PLII from an input on a VM and sent it to an output after the upscale.
I am thinking of installing Voicemeeter/Virtual Audio Cable or something like that to get an input on the VM.
I will then be able to use Dante Via on the VM host to sent the audio to the VM input and receive it again from the VM output on Dante Via then send it to my amplifier.
The solution needs to be able to initialize itself after reboot.
I have looked into different solutions the most promissing seems to be FFDShow and FFMpeg, but there is not much (...)
19:05
I was looking for a way to batch reduce mp3 bitrate on my sizable collection of mp3 files. It was surprising difficult given that this must be a super common thing to want to do.
In fact, there are dozens, maybe hundreds, of posts from people asking how to do it, and dozens of utilities available for varying amounts of money that claim to do just that. Looking around and trying some of the free software, I was surprised that none made the task of batch converting/adjustment easy.
If I wanted to convert a single file, I'm told this is a decent way to do (...)
11:52
I have the following code
ffmpeg(readStream)
.setFfmpegPath(ffmpegPath)
.outputOptions('-vframes 1')
.outputOptions('-f image2pipe')
.outputOptions('-vcodec png')
.writeToStream(writeStream)
Which runs fine without any errors, but it does not store the screenshot in the output stream.
What I'm doing wrong? It looks like I'm now waiting for the process to finish, but if so, how can I (...)