20:31
tl;dr I am trying to merge two videos using concat command. The videos merge well but the audio is missing. I get a warning message about "New audio stream with inder 1 at pos7354 and DTS 15s" which is exactly the time where the second video starts. I don't care about the audio stream from the first video, it is just a thumbnail, but I want the second video audio to work.
I merged the files using:
ffmpeg -i list.txt -c copy output.mp4
16:44
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 (...)
14:03
I'm trying to create a video from a single image with a very specific duration of 0.09375 seconds using FFmpeg. I've tried various commands, but I can't seem to get the exact duration I need. The closest I've gotten is 0.080000 seconds. It doesn't always have to be something like 0.09375, but I wanted to have an example for it.
I've also tried trimming a video, but from what I've read so far, the encoding of the video can be a problem. Even after trying different FFmpeg commands or using MoviePy directly, I've never arrived at the desired (...)
11:04
I am implementing a function to merge audio and video into a single stream using FFmpeg tool.
The problem I have right now is that FFmpeg is not connecting to the pipes and I have no idea why. Can someone help me with this issue?
Questions I already read:
ffmpeg process how to read from pipe to pipe in c#
ffmpeg output pipeing to named windows pipe
How to use pipe in ffmpeg within c#
Using pipes with FFMpeg as an input
Arguments:
-i "\\\\.\\pipe\\FFmpeg_8daf7" -i "\\\\.\\pipe\\FFmpeg_46100" -c:v copy -map 0:v:0 -map 1:a:0 -shortest -f mp4 (...)
11:53
I want to convert a video to h.264 codec. I can run ffmpeg from shell successfuly using this command:
ffmpeg.exe -i C:/Users/fd/motorboat_org.mp4 -c:v libx264 -preset medium -crf 20 -c:a aac -b:a 160k -vf format=yuv420p -movflags +faststart C:/Users/fd/motorboat_2.mp4
How can I execute the same job in php ffmpeg using create method? How to get my following code correct to do the job?
function get_ffmpeg_exe_path_arr_def()
return( array( 'ffmpeg.binaries' => "C:/bin/ffmpeg.exe",
'ffprobe.binaries' => "C:/bin/ffmpeg.exe",
(...)
06:52
CMake cannot find FFmpeg even though everything is right setup. I used vcpkg to install ffmpeg
I can't find any information to setup ffmpeg with CMake. I'm on Windows 10 with Visual Studio.
Get findFFMPEG and put in ffmpeg folder but doesn't solve the issue. change the folder name to
FFMPEG capital letters but still doesn't solve the issue.
add_executable (CMakeProject1 "Source/Main.cpp" "Source/SDL2_Init.cpp" "Header/SDL2_Init.h")
target_include_directories(CMakeProject1 PRIVATE "$CMAKE_CURRENT_SOURCE_DIR/Header")
find_package(SDL2 (...)