Deutsch   English   Français   Italiano  
<5c9246ed-86aa-4d6d-9a08-61e1d763ab4an@googlegroups.com>

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

X-Received: by 2002:a37:747:: with SMTP id 68mr3199204qkh.526.1633194428423;
        Sat, 02 Oct 2021 10:07:08 -0700 (PDT)
X-Received: by 2002:a37:44cc:: with SMTP id r195mr3256975qka.77.1633194428178;
 Sat, 02 Oct 2021 10:07:08 -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 10:07:07 -0700 (PDT)
In-Reply-To: <e4dde981-6470-4978-b24f-4aea82b2ea81n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:cb1c:f17:900:ed5b:f423:1427:b1e6;
 posting-account=q7TWSwoAAACOGlDiqgPG6hvLEUJmQy4p
NNTP-Posting-Host: 2a01:cb1c:f17:900:ed5b:f423:1427:b1e6
References: <e4dde981-6470-4978-b24f-4aea82b2ea81n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5c9246ed-86aa-4d6d-9a08-61e1d763ab4an@googlegroups.com>
Subject: Re: extraire des images dans une video, script ?
From: ptilou <ptilou@gmail.com>
Injection-Date: Sat, 02 Oct 2021 17:07:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Bytes: 2462
Lines: 40

Le samedi 2 octobre 2021 =C3=A0 16:54:15 UTC+2, ptilou a =C3=A9crit=C2=A0:
> bonjour,=20
>=20
> Sur fedora 34 un i3 3th 4 go ra;=20
>=20
> J ai taper ca ;=20
> function f_image-fusion {./ffmpeg -i $i -r 24 -f image2 -qscale 1 /png-pi=
cture/photo-%0d.png }=20
> {=20
> find ./ -iname \*.mp4=20
> echo "EOF"=20
> } | {=20
> while true; do=20
> read -r i=20
> test "$i" =3D "EOF" && break=20
> f_image-fusion "$i"=20
> done=20
> }=20
>=20
> j ai ca comme erreur :=20
> ./boucle-ffmepg_txt: line 3: syntax error near unexpected token `{./ffmpe=
g'=20
> ./boucle-ffmepg_txt: line 3: `function f_image-fusion {./ffmpeg -i $i -r =
24 -f image2 -qscale 1 /png-picture/photo-%0d.png }'=20
>=20
> alors que quand je tape ca :=20
> [root@localhost-live image-eclatement-video]# ./ffmpeg -i VID_20200924_13=
1157.mp4 -r 24 -f image2 -qscale 1 photo-%0d.png=20
>=20
> Jai les image qui sont debite de la video !=20
> Comment avoir un script qui marche m et moins d image par video ?=20
>=20

Je me pose la question du path, ffmpeg est dans le r=C3=A9pertoire des vid=
=C3=A9o, parceque le disque dur de la machine est fusill=C3=A9, et donc au =
lieux de mettre le chemin relatif, ne faut il pas mettre le chemin absolu ?

> merci=20
>=20
> --=20
> ptilou