Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Carl Zwanzig
On 3/16/2020 3:30 PM, Lou Logan wrote: Simple reason I usually list them in that order is because it is easier and more logical for me to process it in the form of: inputs -> filters -> output Accepted that it's convenient although -filter_complex (global) is a different beast than -filter

Re: [FFmpeg-user] Remove everything but a single color (range)

2020-03-16 Thread Hans Carlson
Can anyone explain to me why this displays only the yellow bar with everything else black: ffplay -f lavfi -i 'smptehdbars=duration=5' -vf "colorhold=color=0xbcc906:similarity=0.25,chromakey=color=black:similarity=.2" but this displays all bars in gray scale except the yellow bar which is

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Lou Logan
On Mon, Mar 16, 2020, at 12:37 PM, Carl Zwanzig wrote: > > Or is there another reason for listing inputs, then -filter_complex, then > outputs? Simple reason I usually list them in that order is because it is easier and more logical for me to process it in the form of: inputs -> filters ->

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Mark Filipak
On 03/16/2020 04:37 PM, Carl Zwanzig wrote: On 3/16/2020 6:24 AM, Gyan Doshi wrote: -filter_complex is a global option, so parsed first, then input files, then the complex filtergraphs are set up, then output files. Is there any reason, then, not to always put -filter_complex as the first

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Mark Filipak
On 03/16/2020 04:37 PM, Carl Zwanzig wrote: On 3/16/2020 6:24 AM, Gyan Doshi wrote: -filter_complex is a global option, so parsed first, then input files, then the complex filtergraphs are set up, then output files. Is there any reason, then, not to always put -filter_complex as the first

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Carl Zwanzig
On 3/16/2020 6:24 AM, Gyan Doshi wrote: -filter_complex is a global option, so parsed first, then input files, then the complex filtergraphs are set up, then output files. Is there any reason, then, not to always put -filter_complex as the first parameters of the command line? The Synopsis

[FFmpeg-user] screen cast windows 10 desktop with audio

2020-03-16 Thread Lance Bermudez
How do i screen cast a windows 10 desktop with audio? PS C:\Users\lance> ffmpeg -list_devices true -f dshow -i dummy ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20200122 configuration: --disable-static --enable-shared

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Gyan Doshi
On 16-03-2020 06:24 pm, Moritz Barsnick wrote: On Mon, Mar 16, 2020 at 17:32:42 +0530, Gyan Doshi wrote: With loglevel verbose, I get: Reading option '-f' ... matched as option 'f' (force format) with argument '-i'. I wonder why ffmpeg doesn't trip over this first. Whatever. -f is paired

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Moritz Barsnick
On Mon, Mar 16, 2020 at 17:32:42 +0530, Gyan Doshi wrote: > > With loglevel verbose, I get: > >> Reading option '-f' ... matched as option 'f' (force format) with argument > >> '-i'. > > I wonder why ffmpeg doesn't trip over this first. Whatever. > -f is paired with -i and file.ts is interpreted

Re: [FFmpeg-user] Facing issues in streaming videos

2020-03-16 Thread karthik
I almost run a stream for a whole day for testing. As of memory leakage continuous I finally send you the console log. Anyhow memory utilization is increasing. When I run stream using simple command also. ffmpeg -threads 1 -i udp://224.1.1.1:1100 -c:v copy -c:a copy -f

Re: [FFmpeg-user] Facing issues in streaming videos

2020-03-16 Thread Ted Park
Hi, > When CPU memory utilization is below > > top - 15:31:22 up 6 days, 2:39, 4 users, load average: 0.00, 0.00, 0.00 > Tasks: 376 total, 2 running, 275 sleeping, 0 stopped, 1 zombie > %Cpu(s): 0.0 us, 0.1 sy, 0.0 ni, 99.8 id, 0.0 wa, 0.0 hi, 0.0 si, > 0.0 st > KiB Mem : 16423264

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Gyan Doshi
On 16-03-2020 01:57 pm, Moritz Barsnick wrote: On Mon, Mar 16, 2020 at 09:21:56 +0100, Michael Fladischer wrote: But there was no syntax error: $ ffmpeg -f -i file.ts -filter_complex '[i:0x101][i:0x103]amix=inputs=2' -vn -c:a flac /tmp/auphonic-input-m2s6wfy8.flac [...] Invalid file index

Re: [FFmpeg-user] Facing issues in streaming videos

2020-03-16 Thread karthik
hi , I tried with simple ffmpeg command ffmpeg -threads 1 -i udp://224.1.1.1:1100 -c:v copy -c:a copy -f /home/user/ffmpeg-4.2.2/mw_movies.m3u8 In that also I faced memory leakage issue I have listed below console output and memory usage details

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Moritz Barsnick
On Mon, Mar 16, 2020 at 09:21:56 +0100, Michael Fladischer wrote: > But there was no syntax error: > > $ ffmpeg -f -i file.ts -filter_complex '[i:0x101][i:0x103]amix=inputs=2' -vn > -c:a flac /tmp/auphonic-input-m2s6wfy8.flac [...] > Invalid file index 0 in filtergraph description >

Re: [FFmpeg-user] How to compress .MOV file compatible to Canon camera

2020-03-16 Thread Moritz Barsnick
On Mon, Mar 16, 2020 at 04:10:57 -0400, Ted Park wrote: > I’m not sure if you were asking about playback on the camera, That's the whole point of the thread... > Just curious, but what are you trying to do? Are you looking to play > footage from other cameras? Or watch completely unrelated

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Michael Fladischer
Hi Moritz, Am 16.03.2020 um 09:16 schrieb Moritz Barsnick: Also please quote the actual command used, the one you showed has a syntax error.;-) (The "-f" should throw an error.) you are right, I somehow mistook '-f' for "overwrite output file if exists", instead of '-y'. Now it works. But

Re: [FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Moritz Barsnick
On Mon, Mar 16, 2020 at 09:05:17 +0100, Michael Fladischer wrote: > Now I tried to use the child stream IDs of both audio streams in > combination with amix: > > $ ffmpeg -f -i file.ts -filter_complex '[i:0x101][i:0x103]amix=inputs=2' > -vn -c:a flac /tmp/out.flac Could you kindly show us the

Re: [FFmpeg-user] How to compress .MOV file compatible to Canon camera

2020-03-16 Thread Ted Park
Hi, >> There’s a huge user data box in the moov, upon a quick glance it has the >> camera model, firmware version, etc. I have to imagine it is used somehow. > > Same question: > Is the (original) file still playable if you edit this atom? I’m not sure if you were asking about playback on the

Re: [FFmpeg-user] How to hardcode subtitles

2020-03-16 Thread Moritz Barsnick
On Sun, Mar 15, 2020 at 22:05:47 -0400, Andy wrote: > Can someone please shed some light on how to hardcode subtitles onto a file > that already has a subtitles(not hardcoded)? There's a wiki entry explaining this: https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo Also note the part "If

[FFmpeg-user] Selecting MPEG TS child streams for filter_complex

2020-03-16 Thread Michael Fladischer
Hi, I'm trying to merge two audio streams from a MPEG TS file using the amix filter. Here's the file metadata: $ ffmpeg -probesize 50M -analyzeduration 50M -i file.ts Input #0, mpegts, from 'file.ts': Duration: 00:09:32.10, start: 0.00, bitrate: 12944 kb/s Program 1 Metadata: