Skip to main content

All Questions

0 votes
1 answer
560 views

ffmpeg - cut without reencoding and strange behaviour: application provided duration is out of range for mov/mp4 format

In Ubuntu 18.04 I quite often used the following command for trimming part of the video without re encoding (which means without any quality loss). ffmpeg -ss 00:06:00 -i DSCF5984.MOV -t 00:07:00 -c ...
user2707175's user avatar
0 votes
0 answers
1k views

Ffmpeg hardware acceleration unsupported formats betwen transpose and auto_scaler_0

I am trying to develop a transoding service which makes use of nvidia hardware acceleration capabilities ( The gpu used in this process is a Tesla T4); I want to generate a mpeg-dash playlist for my ...
Eduard6421's user avatar
1 vote
0 answers
716 views

FFmpeg HLS single file playback is broken when encryption enabled

HLS files generated with encryption enabled and the single segment (byte range) option result in videos that are unplayable. The same videos play without issue when encryption is not utilized. Here ...
user3219798's user avatar
1 vote
1 answer
2k views

ffmpeg to fix video playback speed without re-encoding?

What's the best way to fix incorrect timestamps on a network camera using ffmpeg? Running the camera in h264 mode with a 1fps correctly produces duration=1.000: ffmpeg -hide_banner -rtsp_transport ...
Imaginator's user avatar
1 vote
1 answer
1k views

ffmpeg - waveform.png: Invalid argument

I'm trying to use ffmpeg on Synology NAS with DSM 6.2 to create waveform of my mp4 files. ffmpeg -i aaa.mp4 -lavfi showwavespic=split_channels=1:s=1024x800 waveform.png [NULL @ 0x24271e0] Unable to ...
mikejus's user avatar
  • 11
3 votes
1 answer
2k views

How to efficiently create a best-palette gif from a video portion straight from the web

I've been using for some time this couple of commands to convert a video segment to an animated gif, having ffmpeg calculate the best palette for it: ffmpeg -ss $START -i $IN_FILE -t $LENGTH -vf "fps=...
Matteo Italia's user avatar
4 votes
1 answer
3k views

How to split video files upon detected change in resolution? (ie. recorded streams containing multiple widths)

I have many video files (flv/mp4) that change resolution mid-stream (720p/1080p/640). I would like to use something like ffmpeg to automatically detect the change in resolution and split the videos ...
EverT's user avatar
  • 81
61 votes
1 answer
138k views

Downloading m3u8 videos [closed]

I am trying to download video from a .m3u8 livestream video format. How can I download m3u8 videos using software on my personal computer such as ffmpeg, youtube-dl, VLC, etc? M3U is a computer file ...
FarouK's user avatar
  • 741
0 votes
1 answer
5k views

Create video from a growing image sequence using FFMPEG

I am planning to render a personal 3d project as an image sequence, where each frame takes about a minute to be created and saved as an image file. If I were to use the regular ffmpeg syntax to ...
RedMser's user avatar
  • 41
0 votes
1 answer
3k views

why ffmpeg trimming videos while converting to m3u8?

I am using ffmpeg version 3.2.2, and converting mp4 and mov files to m3u8 format by below command. ffmpeg -i test.mov output.m3u8 The length of test.mov is around 3 min, but it convert it to last 24-...
Puneet Singh's user avatar
0 votes
1 answer
1k views

ffmpeg extract audio from streaming mp4

I am trying to extract audio from streaming mp4,it succeeds on ffmpeg -i http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4 out2.mp3 But it fails on this facebook mp4 streaming ...
user6791548's user avatar
1 vote
0 answers
1k views

ffmpeg with a streaming input change channels order and indices on different execution

We're using ffmpeg to take a mpts stream by 3rd party and encode it to a webm file. Now Every time I've call the ffmpeg command I get different map of channels for it. For example: Input #0, mpegts, ...
shevski's user avatar
  • 121
3 votes
1 answer
6k views

How to create video from images and audio file?

To make the story short, I just want to create a video from a X number of images and a mp3 file, AND get the same audio quality. I've checked the ffmpeg website, but ... here is what I've got: ...
icebox19's user avatar
  • 131
3 votes
0 answers
4k views

Fixing ffmpeg latency accrued over time

I have ffmpeg/ffserver running in the following setup: 10.1.2.2 captures from video capture cards (16 channels) and streams them to an ffserver as mpeg1video 10.1.1.1/10.1.2.1 (two NICs) hosts the ...
CoryG's user avatar
  • 314
1 vote
0 answers
4k views

How can I increase volume for HD mp4 files with ffmpeg?

I am converting videos using FFmpeg on Linux. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when ...
Treat's user avatar
  • 96