Deutsch   English   Français   Italiano  
<e4dde981-6470-4978-b24f-4aea82b2ea81n@googlegroups.com>

View for Bookmarking (what is this?)
Look up another Usenet article

X-Received: by 2002:a0c:8c81:: with SMTP id p1mr14288882qvb.7.1633186455031;
        Sat, 02 Oct 2021 07:54:15 -0700 (PDT)
X-Received: by 2002:ac8:42c5:: with SMTP id g5mr3906753qtm.224.1633186454648;
 Sat, 02 Oct 2021 07:54:14 -0700 (PDT)
Path: ...!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: fr.comp.os.linux.configuration
Date: Sat, 2 Oct 2021 07:54:14 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:cb1c:f17:900:bc52:5e36:7779:7b1a;
 posting-account=q7TWSwoAAACOGlDiqgPG6hvLEUJmQy4p
NNTP-Posting-Host: 2a01:cb1c:f17:900:bc52:5e36:7779:7b1a
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e4dde981-6470-4978-b24f-4aea82b2ea81n@googlegroups.com>
Subject: extrqire des image dans une video script ?
From: ptilou <ptilou@gmail.com>
Injection-Date: Sat, 02 Oct 2021 14:54:15 +0000
Content-Type: text/plain; charset="UTF-8"
Bytes: 1801
Lines: 30

bonjour,

Sur fedora 34 un i3 3th 4 go ra;

J ai taper ca ;
function f_image-fusion {./ffmpeg -i $i -r 24 -f image2 -qscale 1 /png-picture/photo-%0d.png }
{
find ./ -iname \*.mp4
echo "EOF"
} | {
while true; do
read -r i
test "$i" = "EOF" && break
f_image-fusion "$i"
done
}

j ai ca comme erreur :
../boucle-ffmepg_txt: line 3: syntax error near unexpected token `{./ffmpeg'
../boucle-ffmepg_txt: line 3: `function f_image-fusion {./ffmpeg -i $i -r 24 -f image2 -qscale 1 /png-picture/photo-%0d.png }'

alors que quand je tape ca :
[root@localhost-live image-eclatement-video]# ./ffmpeg -i VID_20200924_131157.mp4 -r 24 -f image2 -qscale 1 photo-%0d.png

Jai les image qui sont debite de la video !
Comment avoir un script qui marche m et moins d image par video ?

merci

-- 
ptilou