22:46
If this has already been brought up, I apologize. This is part of a software tuner package I am writing as a POC. It is used by Plex Media Server. For the most part, it works with good picture quality but leaves ffmpeg processes when the User clicks "Stop" or closes the browser, I assume plex is closing the socket and that ffmpeg is not erroring out, but I am not sure. this is part of a function where I pass in a TCP Client Network Stream.
TCPListener waits for a call, when it accepts one, it passes the network stream off to this function below. When the TCP Client disconnects, (...)
21:46
I recently needed to rebuild my zoneminder local camera system, running on an RPi. I switched OS from Debian to Ubuntu and now I'm struggling to get video4linux to decode the video input. The result is either a black or green screen depending on the compression palette I select.
I'm using /dev/video0 as my input.
v4l2-ctl --list-devices
unicam (platform:fe801000.csi):
/dev/video0
/dev/media3
In the logs I'm getting:
zmc_dvideo0 10907 ERR Unable to query control: Inappropriate ioctl for device
I don't understand the (...)
20:25
async def play(ctx, *, link):
try:
voice_client = await ctx.author.voice.channel.connect()
voice_clients[voice_client.guild.id] = voice_client
except Exception as e:
print(e)
if 1==1:
if youtube_base_url not in link:
query_string = urllib.parse.urlencode(
'search_query': link
)
content = urllib.request.urlopen(
youtube_results_url + query_string
)
search_results = re.findall(r'/watch\\?v=(.11)', content.read().decode())
link = youtube_watch_url + (...)
13:23
Up to now, i succeed in using Whisper with Colab (with GPU execution and model v3 ) without error message.
But today, i'm facing to an error message.
Firstly i execute successfully these 2 following commands :
!pip install git+https://github.com/openai/whisper.git
!sudo apt update && sudo apt install ffmpeg
Then, when i execute this third following command :
!whisper "88_89_90_91_103_104_105_106_100.mp3" --model large-v3
I obtain an error message. Please find below the whole error message :
Do you know where the probleme would be (...)
08:02
I want to create a 5.1ch audio stream from a 2ch audio stream. However I want to put a negative delay to LFE, SL and SR channels since they will be played from my bluetooth speaker, so I want to make up for the delay by giving it a negative delay.
ffmpeg -itsoffset 0.1 -i input.mkv -i input.mkv \\
filter_complex “\\
[1:a]pan=5.1(side)|FL=FL|FR=FR|LFE
[0:a]pan=5.1(side)|FL=FL|FR=FR|LFE
[orig5_1][delayed5_1]amerge=inputs=2,pan=5.1(side)|FL=c6|FR=c7|LFE=c2|SL=c3|SR=c4[a]” \\
map "[a]" -map 0:v -map 0:s -c:v copy -c:a flac -c:s copy output.mkv
I tried (...)
09:08
I am trying to crop mp3 using FFMpeg. I need to use streams for both input and output data.
At the moment, I'm trying to use the stream at least only for input data.
var inputFile = ⓐ"D:\\TestInput.mp3";
var process = new Process
StartInfo = new ProcessStartInfo
FileName = ⓐ"path\\to\\ffmpeg.exe",
Arguments = "-i - -vn -acodec copy -ss 00:00:00 -t 00:00:30 -y D:\\\\TestFFMpeg.mp3",
RedirectStandardInput = true,
UseShellExecute = false
,
EnableRaisingEvents = true
;
process.Start();
using (var (...)