Re: [FFmpeg-user] 2nd pass has more frames than 1st pass (99021)2kbits/s dup=27 drop=0 speed=4.76x

2020-11-29 Thread Mathieu Malaterre
Carl Eugen, Thanks for taking the time to answer my questions. On Sun, Nov 29, 2020 at 7:40 PM Carl Eugen Hoyos wrote: > > Am So., 29. Nov. 2020 um 16:32 Uhr schrieb Mathieu Malaterre > : > > > $ ffmpeg -y -i input.avi -c:v libx264 -b:v 1321894 -pass 1 -an -f null > > /dev/null && \ > > ffmpeg

Re: [FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread Carl Zwanzig
On 11/29/2020 10:07 PM, madderek--- via ffmpeg-user wrote: ffmpeg -framerate 29.97 -start_number 70001 -i L:\baf1400_70001-9\%06d.tif -c:v libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p -level 4.1 -crf 17 -r 29.97 -threads 2 L:\baf140070001916tiff.mkv Output?

Re: [FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread madderek--- via ffmpeg-user
ffmpeg -framerate 29.97 -start_number 70001 -i L:\baf1400_70001-9\%06d.tif -c:v libx264 -preset veryslow -tune film -profile:v high -pix_fmt yuv420p -level 4.1 -crf 17 -r 29.97 -threads 2 L:\baf140070001916tiff.mkv Derek -Original Message- From: ffmpeg-user On Behalf Of Carl

Re: [FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread Carl Eugen Hoyos
Am So., 29. Nov. 2020 um 21:36 Uhr schrieb madderek--- via ffmpeg-user : > The process is slow. Please show us the command line you tested together with the complete, uncut console output to allow us to better understand what your issue is. > Is there a simple way of using the GPU ram?

Re: [FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread madderek--- via ffmpeg-user
Thanks for reply. About 4.6 hours! The software that I am using to enhance videos will output to jpeg, I'm outputting to uncompressed 16bit TIFFs at the moment. Derek -Original Message- From: ffmpeg-user On Behalf Of andrei ka Sent: 29 November 2020 21:21 To: FFmpeg user questions

Re: [FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread andrei ka
20k frames are a mere 800s of a 25fps movie... how slow is cpu process ? afaik nvenc can only do mjpeg_cuvid for stitching images, it won't work with tiffs... e.g. ffmpeg -vsync 0 -hwaccel cuvid -c:v mjpeg_cuvid -framerate NN -i image_%04d.jpg -c:v h264_nvenc x.mp4...

[FFmpeg-user] Using GPU with ffmpeg

2020-11-29 Thread madderek--- via ffmpeg-user
Hi I'm using ffmpeg to combine a large number of TIFF files into a single video. The TIFFs are the result of upscaling videos. They are large in number, typically 2 or 3. The process is slow. Is there a simple way of using the GPU ram? I have a NVIDIA 2080 TI with 11GBof

Re: [FFmpeg-user] 2nd pass has more frames than 1st pass (99021)2kbits/s dup=27 drop=0 speed=4.76x

2020-11-29 Thread Carl Eugen Hoyos
Am So., 29. Nov. 2020 um 16:32 Uhr schrieb Mathieu Malaterre : > $ ffmpeg -y -i input.avi -c:v libx264 -b:v 1321894 -pass 1 -an -f null > /dev/null && \ > ffmpeg -y -i input.avi -c:v libx264 -b:v 1321894 -pass 2 -c:a aac -b:a > 128k fixed.mp4 This cannot work (and this is not related to the fact

Re: [FFmpeg-user] asubboost and asupercut

2020-11-29 Thread Phil Rhodes via ffmpeg-user
On Sunday, 29 November 2020, 15:55:29 GMT, Michael Koch wrote: > The name "feedback" is misleading because this signal isn't going back.> It > would make sense to rename "feedback" to "wet".> What's now "wet" could be > renamed "gain", or it could be removed because > it's

Re: [FFmpeg-user] asubboost and asupercut

2020-11-29 Thread Paul B Mahol
On Sun, Nov 29, 2020 at 4:55 PM Michael Koch wrote: > Am 28.11.2020 um 22:09 schrieb Paul B Mahol: > > Ok, made the wet option do actually apply gain to final output. > > I think the asubboost block diagram does now look like this (view with > fixed width font): > > IN

Re: [FFmpeg-user] asubboost and asupercut

2020-11-29 Thread Michael Koch
Am 28.11.2020 um 22:09 schrieb Paul B Mahol: Ok, made the wet option do actually apply gain to final output. I think the asubboost block diagram does now look like this (view with fixed width font): IN -o> DRY ---> ADD -> WET -> OUT     |  

[FFmpeg-user] 2nd pass has more frames than 1st pass (99021)2kbits/s dup=27 drop=0 speed=4.76x

2020-11-29 Thread Mathieu Malaterre
Hi there, I am staring at the following guide to re-encode an existing avi (mpeg4+mp3) into MP4 (h264+aac): https://trac.ffmpeg.org/wiki/Encode/H.264#twopass My video is such that: $ ffprobe -show_streams -show_format -print_format json -i input.avi [...] Input #0, avi, from 'input.avi':

Re: [FFmpeg-user] How to remove duplicate frames

2020-11-29 Thread Carl Eugen Hoyos
Am Sa., 28. Nov. 2020 um 16:57 Uhr schrieb Mike Martin : > ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/25/TB -c:a copy -vsync 0 > out.mp4 Please remove setpts and vsync from your command line, both are meant to destroy audio sync. You cannot get the result you want with mp4 output because

[FFmpeg-user] Issue with disposition "forced" for a subtitles stream (mov_tex) in a mp4 container

2020-11-29 Thread Andrea Giudiceandrea via ffmpeg-user
Dear all, I'm using ffmpeg (4.3.1-2020-11-19-full_build-www.gyan.dev) on Windows 7 to mux video, audio and subtitles streams in a mp4 container. I'd like to force the subtitles stream to be displayed by default, so I use the "-disposition:s:0 forced" option. However ffmpeg fails to properly

Re: [FFmpeg-user] help needed, combine three simple calls into one?

2020-11-29 Thread Ram Shaffir
> > ffmpeg -y -f concat -safe 0 -copyts -i videoList.txt -muxpreload 0 > > -muxdelay 0 -c copy -b:a 128K -cpu-used 0 -preset slow -movflags > > +faststart -f mp4 concat.mp4 > Make one file out of ??? files. Does this also re-encode anything? (What are > the input formats? see below) > > > ffmpeg