[FFmpeg-user] Synchronized xstack or overlay content

2023-01-26 Thread Troy via ffmpeg-user
Hi there, I'm struggling to build a command that will synchronise xstack content, as a "stretch goal" I'd like to also keep audio in sync, but that is less important. It appears that because each input is started in sequence, and then buffered until all inputs are active, the first input can b

Re: [FFmpeg-user] Evade shortening audio while transcode

2023-01-26 Thread Carl Zwanzig
On 1/26/2023 7:48 AM, Moritz Barsnick wrote: The original files may have misleading headers regarding their lengths. I would definitely check this, I've run into more than a couple of files where the metadata doesn't match the actual data (e.g. says it's 20 minutes long, plays for 21 (or 18,

Re: [FFmpeg-user] Generating HLS chunks on demand

2023-01-26 Thread Vincent Deconinck
Hi, OK, I made some progress, so replying to self : So although I'm forcing keyframes, the durations are actually not 4 seconds > (the EXT-X-TARGETDURATION field even says 5) > Is there another way to force all segments to be exactly the same duration > ? > After a bit of reading, the -g option

Re: [FFmpeg-user] Evade shortening audio while transcode

2023-01-26 Thread Moritz Barsnick
On Fri, Jan 20, 2023 at 14:59:20 +0200, Alexander Bieliaev via ffmpeg-user wrote: > When transcoding audio from WAV and GSM formats to MP3, the result is > shorter in duration than the original. How can you avoid this and keep the > original duration? Have you played the transcoded files, and is

Re: [FFmpeg-user] Passing headers to encrypted hls stream in ffmpeg

2023-01-26 Thread Moritz Barsnick
On Thu, Jan 26, 2023 at 20:43:53 +0530, Nitin Singh wrote: > I am using ffmpeg 5.1. I want to save encrypted aes-128 hls in which > the decrypting key link is in m3u8 stream link. I am able to pass > headers & get m3u8 file content using : > > ffmpeg -headers "Hvar1: hvalue1" -headers "Hvar2: hval

[FFmpeg-user] Passing headers to encrypted hls stream in ffmpeg

2023-01-26 Thread Nitin Singh
Hi ! I am using ffmpeg 5.1. I want to save encrypted aes-128 hls in which the decrypting key link is in m3u8 stream link. I am able to pass headers & get m3u8 file content using : ffmpeg -headers "Hvar1: hvalue1" -headers "Hvar2: hvalue2" -headers "Hvar3: hvalue3" -i "http://media.link/mediafil