[FFmpeg-user] select language from scripting

2019-11-02 Thread Michele Salerno
Example: video file with 4 languages. Only Italian audio can be selected if it is present or if it is not present, leave only the default language? it's posible? Thanks. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

[FFmpeg-user] info options map

2019-11-11 Thread Michele Salerno
, French etc) I want to cancel to leave only the Italian language. If the Italian language does not exist, leave the English language. how can I do? Thanks. Michele Salerno ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman

[FFmpeg-user] error in Codec AVOption b

2019-11-13 Thread Michele Salerno
I have this command: ffmpeg -y -hide_banner -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i INPUT.mp4 \ -vf scale_cuda=-1:360 -c:v h264_nvenc -rc vbr -minrate 400k -maxrate 1500k -bufsize 1500k \ -acodec aac -strict experimental -ar 44100 -b:a 64k \ -preset slow -flags +loop -cmp

[FFmpeg-user] select language ?

2019-11-15 Thread Michele Salerno
how-to select language. example i preferred lang ita. If lang ita non exist select only lang eng... not all lang. in my script i testing lang with https://github.com/mikysal78/scripting/blob/master/videoconverter#L47-L52 example in one conversions i see this: Last message repeated 1 times

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-16 Thread Michele Salerno
Il giorno mer 16 ott 2019 alle ore 00:32 Dennis Mungai ha scritto: > > Build the latest ffmpeg git tip and retest. I put a new ssd disk. installed everything from 0. Do you have a suggestion to compile ffmpeg and cuda on debian buster? Cuda and Drive install from repo debian (apt-get) or bin

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-15 Thread Michele Salerno
Il giorno mar 15 ott 2019 alle ore 23:33 Dennis Mungai ha scritto: > > On Tue, 15 Oct 2019 at 23:47, Carl Eugen Hoyos wrote: > > > > Am Di., 15. Okt. 2019 um 22:25 Uhr schrieb Michele Salerno > > : > > > > > ffmpeg version 4.1.4 Copyright (c) 2000-2019 t

[FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-15 Thread Michele Salerno
I don't speak English well I hope to be understood. Hi to all users. :) My hw is: - CPU Core i7 - GPU Nvidia GTX 660 Ti - RAM 32GB My sw is: - Debian Buster 64bit - Driver nvidia packager manger and cuda toolkit My /etc/modprobe.d/blacklist.conf blacklist nouveau blacklist nvidia-drm options

[FFmpeg-user] resize file and output larger

2019-10-22 Thread Michele Salerno
Hi, i have this command: ffmpeg -threads 16 -hwaccel nvdec -hwaccel_output_format cuda -i input.mp4 -vf scale_cuda=720:480 -c:v h264_nvenc -preset slow output.mp4 and output https://pastebin.com/vDL3rLF5?fbclid=IwAR2zk5MbBveBrdp5nhPuSyLhUvdds0VjBgPG3hgpzZhCCcj4C0YZKMs9rRc because the output

Re: [FFmpeg-user] resize file and output larger

2019-10-23 Thread Michele Salerno
Il giorno mar 22 ott 2019 alle ore 22:02 Moritz Barsnick ha scritto: > > On Tue, Oct 22, 2019 at 14:18:17 +0200, Michele Salerno wrote: > > Hi, i have this command: > > > > ffmpeg -threads 16 -hwaccel nvdec -hwaccel_output_format cuda -i > > input.mp4 -vf scal

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 11:29 Moritz Barsnick ha scritto: > > On Thu, Oct 17, 2019 at 01:08:37 +0200, Michele Salerno wrote: > > > #!/bin/bash > > > for i in *.mp4; do > > > ffmpeg -threads 8 -hwaccel nvdec -i "$i" -vf scale_cuda=720:-1

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai ha scritto: > > My bad, try this: > > ffmpeg -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i "$i" > -vf scale_cuda=720:-1 -c:v h264_nvenc -preset slow "convert/$i"; > > That should fix the issue above. > Driver does not support the

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-16 Thread Michele Salerno
Il giorno mar 15 ott 2019 alle ore 23:33 Dennis Mungai ha scritto: > For usage, see: > > ffmpeg -h filter=scale_cuda > > On my build, I see: > > Filter scale_cuda > GPU accelerated video resizer > Inputs: >#0: default (video) > Outputs: >#0: default (video) > cudascale

Re: [FFmpeg-user] problem ffmpeg with cuda and scale

2019-10-17 Thread Michele Salerno
Il giorno gio 17 ott 2019 alle ore 22:07 Dennis Mungai ha scritto: > > On Thu, 17 Oct 2019 at 22:54, Michele Salerno wrote: > > > Il giorno gio 17 ott 2019 alle ore 19:05 Dennis Mungai > > Driver does not support the required nvenc API version. Required: 9.1 > >

[FFmpeg-user] linux compile ffmpeg with options from file

2019-12-01 Thread Michele Salerno
I have this role ansible but non merge https://github.com/mikysal78/ffmpeg-cuda/blob/3ee1bba28f6618c4800f5fb24ddf4ec291ee2c26/tasks/main.yml#L65 if run line manual is ok, from ansible no. it's posible ./configure --options from file.txt ? Thanks. ___

[FFmpeg-user] Automatic encoder selection failed for output stream

2020-03-01 Thread Michele Salerno
I run this command on file testing: ffmpeg -y -hide_banner -threads 8 -hwaccel nvdec -hwaccel_output_format cuda -i Saving Mr Banks (2013).mkv -vf scale_cuda=-1:720 -c:v h264_nvenc -rc vbr_hq -profile:v main -minrate 1500k -maxrate 4M -bufsize 5M -acodec ac3 -ac 6 -strict experimental -ar

Re: [FFmpeg-user] error with cuda for convert ts to mp4

2021-01-11 Thread Michele Salerno
Il 11/01/21 12:01, Dennis Mungai ha scritto: On Mon, 11 Jan 2021, 04:30 Michele Salerno, wrote: Hi, i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7. I have fresh install debian and install latest driver and cuda from website nvidia, no repository of debian. If convert file

[FFmpeg-user] error with cuda for convert ts to mp4

2021-01-10 Thread Michele Salerno
Hi, i have GPU GTX660Ti on debian buster 64bit, cpu intel core i7. I have fresh install debian and install latest driver and cuda from website nvidia, no repository of debian. If convert file h264 with cpu it's ok, if use gpu i have error. The video prova.ts is recorder from decoder sat.