17:05
i'm trying to merge video and audio from ytdl-core with ffmpeg and export it to user in mp4. The output video apears without time (inifit duration) and can not seek or navigate to another point of the video.
app.get('/downloadmp4', async (req, res)=>
let url = req.query.url;
if (!ytdl.validateURL(url))
return res.sendStatus(400);
let title = 'video';
let info = await ytdl.getInfo(url);
title = info.videoDetails.title.replace(/[^\\x00-\\x7F]/g, "");
res.header('Content-Disposition', `attachment; (...)
12:04
I was using video_player to do the rest of the metadata extraction I need but I didn't find a way to get the resolution with this package.
11:11
I am building a project that uses the ffmpeg libav libraries and I can't seem to get meson to compile with them.
I have tried including just the headers but then definitions can't be found. I then compiled all of the source files I needed, and that didn't work either.
I have compiled the whole thing into objects and plan to link them but I feel there should be an easier way.
09:13
I have several mp4 video files and want to concat there video streams into a new mp4 file. The command I used shows below:
ffmpeg -f concat -safe 0 -i concat.txt -an -c:v copy -y out.mp4
The fps of result does not meet expectations.
For example, there are two input wrote in concat.txt:
file temp_result_0.mp4
file temp_result_1.mp4
file
duration
number of frames
fps
tbr
temp_result_0.mp4
60.0
1200
20
20
temp_result_0.mp4
0.1
2
20
20
out.mp4
6
05:39
I'm trying to record video from my ip camera stream with ffmpeg in command line
fmpeg -rtsp_transport tcp \\
> -i rtsp://192.168.0.250/stream1 \\
> -c copy \\
> -map 0 \\
> -f segment \\
> -segment_time 60 \\
> -segment_format mp4 \\
> "/home/video/stream-%010d.mp4"
and got the next output:
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu (...)