13:03
I want to add a module for video editing in my web app. I have researched about video editing tools like ffmpeg but it is not working. is there any plugin for video editing or I have to build my own with jquery?
Thanks
I have tried with npm package like ffmpeg but it is not working and I want to know is there any other pacakge for video editing.
23:57
I want to show the video on the browser streamed by ffmpeg.
Here's the python script which i made but can't find the way to do so since i am not much into javascript. Can anyone help me please ?
import socketio
import subprocess
import uvicorn
sio = socketio.AsyncServer(async_mode='asgi', cors_allowed_origins='*')
app = socketio.ASGIApp(sio)
ⓐsio.event
async def connect(sid, environ):
await sio.enter_room(sid, 'Streaming')
ⓐsio.event
async def stream(cid):
video_path = (...)
13:45
How can I use ffmpeg to combine 3 mp4s and 1 mp3 into 1 mp4 with wiperight transitions between the videos and a fade out the audio at the end. The mp3 is longer than the the videos but I only want the resultant video to be the length of the 3 mp4s.
13:37
I'm using NodeJS server to display an HTML page which has webcam option. Once user visited to my NodeJS server, it will serve html page. User can allow webcam option and see webcam view on the page.
In the backend, I send webcam stream (byte array) using socket.io. I receive byte array successfully in backend with the help of socket.io. BUT MY PROBLEM IS, I can't pipe this byte array to the ffmpeg spawn process. I don't know how to properly pipe this data to the ffmpeg. Once it done, all my problem will be solved.
On the other side, I have node-media-server as (...)
10:43
I'm trying to install ffmpeg on docker for amazon lambda function.
Code for Dockerfile is:
FROM public.ecr.aws/lambda/python:3.8
# Copy function code
COPY app.py $LAMBDA_TASK_ROOT
# Install the function's dependencies using file requirements.txt
# from your project folder.
COPY requirements.txt .
RUN yum install gcc -y
RUN pip3 install -r requirements.txt --target "$LAMBDA_TASK_ROOT"
RUN yum install -y ffmpeg
# Set the CMD to your handler (could also be done as a parameter override outside of the Dockerfile)
CMD (...)
00:41
I would like to preserve the creation time metadata when I convert videos using ffmpeg/avconv. Here is the file I'm trying to convert:
$ ffmpeg -i in.avi
ffmpeg version 0.8.6-4:0.8.6-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Apr 2 2013 17:00:59 with gcc 4.6.3
Input #0, avi, from 'in.avi':
Metadata:
creation_time : 2013-08-12 06:59:14
encoder : CanonMVI06
Duration: 00:00:12.26, start: 0.000000, bitrate: 14549 kb/s
Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc
Stream (...)
00:12
I have this command that I run via cmd in a folder and it executes without problems:
for %i in (*) do ffmpeg -y -i "%i" -vcodec copy -acodec copy -map 0:v -map 0:a "%i.mp4"
Now I want to create a batch file that I can just open and it will execute this command in the current folder.
However for the life of me I cannot get anything to work.
Ive tried googling the answer and tried lots of answers from here also, but it seems my knowledge is lacking a bit.
If anyone can give any tips that would be appreciated, thanks.
I apologize beforehand if something is blatantly (...)