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

2020-03-14 Thread Hans Carlson
Is it possible to "remove" everything in a video except a specific color (or maybe a range... ie close to a specific color)? By "remove" I mean covert every that is NOT the color(s) I want to black or transparent. I have a video that contains a yellowish box that moves about the screen. I wa

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 21:06 Uhr schrieb Carl Eugen Hoyos : > The problem gets worse by the fact that in general, neither ffmpeg nor x264 > can > detect that you are using different settings for the two passes (x264 > sometimes > crashes if the passes do not fit, I always wondered if this isn'

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 22:53 Uhr schrieb Jeff Langston : > Right -an in the first pass is referenced in the docs "On pass 1, you may > just deactivate audio and set output to null" Let me repeat: The problem is not only that you get a completely broken encode (wrong frames get higher bitrates)

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Jeff Langston
Right -an in the first pass is referenced in the docs "On pass 1, you may just deactivate audio and set output to null" Which looking closer at the docs and some further experimentation I was able to sort out my issue. I didn't realize the -pass argument also took a stream specifier which was what

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Reindl Harald
Am 14.03.20 um 21:06 schrieb Carl Eugen Hoyos: > name to x264) but in general you cannot do this, you have to use the same > output > format and especially the same audio for pass one and two. The reason is that > ffmpeg (the application) may duplicate (or drop) frames to keep a/v sync and > if

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

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 20:39 Uhr schrieb Ted Park : > Did you already test the following? > $ ffmpeg -i MVI_1324.MOV -acodec copy -vcodec copy out.mov > >>> Then the codec time base remains > >> Of course. > >> > >> The question is if the file is still playable after remuxing. > > It i

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 20:09 Uhr schrieb Jeff Langston : > > Hi, > > Here's the input commands boiled down to the simplest reproducible > versions. > > Here's links to the input files https://s3.amazonaws.com/Jlangston/bunny.mp4 > https://s3.amazonaws.com/Jlangston/track1.m4a > Trying either with

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Jeff Langston
Hi, Here's the input commands boiled down to the simplest reproducible versions. Here's links to the input files https://s3.amazonaws.com/Jlangston/bunny.mp4 https://s3.amazonaws.com/Jlangston/track1.m4a Trying either without the 2nd audio input or without rendering multiple video versions with m

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

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 16:26 Uhr schrieb Ulf Zibis : > > > Am 14.03.20 um 15:34 schrieb Carl Eugen Hoyos: > > Am Sa., 14. März 2020 um 15:09 Uhr schrieb Ulf Zibis : > >> Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos: > >>> Did you already test the following? > >>> $ ffmpeg -i MVI_1324.MOV -acodec

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

2020-03-14 Thread Ted Park
Hi, >> Did the OP have the chance to upload some working camera-generated preview >> files? > > I didn't ask for one because I don't have the necessary hardware to test... I was the one who asked for them, I was thinking I would sort of inspect it for some properties, like if the bitstream act

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

2020-03-14 Thread Ted Park
Hi, >> Here it is: https://cloud.disroot.org/s/fBeePRoA4JGZNMB Ah, yes I did, thank you, sorry, I must have made a mental note to download it after 15 mins then forgot about it because I have the attention span of a goldfish. Regards, Ted Park ___

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

2020-03-14 Thread Ulf Zibis
Am 14.03.20 um 15:34 schrieb Carl Eugen Hoyos: Am Sa., 14. März 2020 um 15:09 Uhr schrieb Ulf Zibis : Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos: Did you already test the following? $ ffmpeg -i MVI_1324.MOV -acodec copy -vcodec copy out.mov Then the codec time base remains Of course. The

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

2020-03-14 Thread Ulf Zibis
Hi Ted, according a sample, didn't you receive this message? -Ulf Am 12.03.20 um 02:04 schrieb Ulf Zibis: Am 12.03.20 um 01:40 schrieb Ted Park: This particular error is because it parsed as video_track_timescale = -map_metadata and output file named “0”. ... and how can I avoid this, or

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

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 15:41 Uhr schrieb Ted Park : > Did the OP have the chance to upload some working camera-generated preview > files? I didn't ask for one because I don't have the necessary hardware to test... Carl Eugen ___ ffmpeg-user mailing

Re: [FFmpeg-user] How to set pts from 0

2020-03-14 Thread Carl Eugen Hoyos
Am Fr., 13. März 2020 um 02:59 Uhr schrieb penguin flying : > > i want the pts of the output file begins with 0. > > using this cmd: > ffmpeg -i 0.flv -c:v libx264 -vf setpts=PTS-STARTPTS -acodec libfdk_aac -f > mp4 -y out.mp4 Complete, uncut console output missing, try -movflags +negative_cts_o

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

2020-03-14 Thread Ted Park
Morning, ffmpeg-user Did the OP have the chance to upload some working camera-generated preview files? I did ask for some if possible, but mail delivery from this list has been funky for my email for some reason the last few days... Regards, Ted Park ___

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

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 15:09 Uhr schrieb Ulf Zibis : > > Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos: > > > > Did you already test the following? > > $ ffmpeg -i MVI_1324.MOV -acodec copy -vcodec copy out.mov > > Then the codec time base remains Of course. The question is if the file is still

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

2020-03-14 Thread Ulf Zibis
Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos: Am Do., 12. März 2020 um 01:11 Uhr schrieb Ulf Zibis : Am 12.03.20 um 00:07 schrieb Carl Eugen Hoyos: Am Mi., 11. März 2020 um 23:56 Uhr schrieb Ulf Zibis : compatible_brands: qt CAEP What happens if you remove CAEP with a binary editor

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

2020-03-14 Thread Ulf Zibis
Am 14.03.20 um 11:51 schrieb Carl Eugen Hoyos: Did you already test the following? $ ffmpeg -i MVI_1324.MOV -acodec copy -vcodec copy out.mov Then the codec time base remains (but it does not compress the video, which is my main purpose): ffprobe MVI_1324_copy_git.mov ffprobe version N-9693

Re: [FFmpeg-user] How to change codec time base

2020-03-14 Thread Carl Eugen Hoyos
Am Fr., 13. März 2020 um 12:48 Uhr schrieb Ulf Zibis : > in the input file I have: > 60k tbc > in the output file I have: > 59.94 tbc > > How can I set this setting to 59.94 for the output? Not sure but the "-vcodec copy" test should answer how important it is. Carl Eugen ___

Re: [FFmpeg-user] make-mingwlibs.bat failed

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 02:14 Uhr schrieb : > I download the Kodi project from GitHub and follow the steps stated in > https://github.com/xbmc/xbmc/blob/master/docs/README.Windows.md, > I want to build kodi to uwp arm 32bit program, so in step4 Set up the build > environment, I change directory t

Re: [FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

2020-03-14 Thread Carl Eugen Hoyos
Am Sa., 14. März 2020 um 06:04 Uhr schrieb Jeff Langston : > I'm trying to sort out an issue I've run into with ffmpeg on the cli and > was wondering if anyone might be able to help. I am trying to leverage 2 > pass encoding as well as inputting additional audio tracks to generate > multiple outp

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

2020-03-14 Thread Carl Eugen Hoyos
Am Do., 12. März 2020 um 01:11 Uhr schrieb Ulf Zibis : > > > Am 12.03.20 um 00:07 schrieb Carl Eugen Hoyos: > > Am Mi., 11. März 2020 um 23:56 Uhr schrieb Ulf Zibis : > > > >> compatible_brands: qt CAEP > > What happens if you remove CAEP with a binary editor? > > When I replace CAEP in the o

Re: [FFmpeg-user] Problem with pixel format and/or missing constant

2020-03-14 Thread Carl Eugen Hoyos
Am Do., 12. März 2020 um 00:28 Uhr schrieb Reindl Harald : > > That's apart from the fact that we don't have the manpower to support > > releases apart from security issues. > > irreleavent in the context "only latest git is supported on this list" > which is *users list* and so y*you* can decide