
Recherche avancée
Autres articles (75)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (8249)
-
ffmpeg Creating Video and Streaming Command Line
17 juillet 2017, par Brindha KanniahCurrently, using ffmpeg, I am using two commands on my Terminal to :
1) create a video from a bunch of images :
ffmpeg -r 60 -f image2 -s 1920x1080 -i rotated-pano_frame%05d_color_corrected_gradblend.jpg -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4
2) stream the video to a udp address :
ffmpeg -re -i test.mp4 -c copy -f flv udp://127.0.0.1:48550
I am trying to combine both these instructions into one command line instruction, using && :
ffmpeg -r 60 -f image2 -s 1920x1080 -i rotated-pano_frame%05d_color_corrected_gradblend.jpg -vcodec libx264 -crf 25 -pix_fmt yuv420p test.mp4 && ffmpeg -re -i test.mp4 -c copy -f flv udp://127.0.0.1:48550
but am encountering an error which prevents streaming :
[flv @ 0x7fa2ba800000] video stream discovered after head already parsed.
Thoughts on a different command line syntax to join the two instructions, different ffmpeg instruction (filters perhaps ?), and why I am getting the error ?
-
setting a correct ffmpeg GOP (group of pictures) [closed]
9 mai 2013, par Robert CantaruttiI'm using ffmpeg to ser the GOP (Group of pictures) with mpeg4.
I had success to set a GOP of :12,2 (12 frames between two I frames, and 2 frames between each P frames)
15,2
18,2
30,2
And I had not success in this cases :8,2
4,2
1- Example to set a GOP of 12,2 :
ffmpeg -s cif -r 30 -i video.yuv -vcodec mpeg4 -g 12 -bf 2 -sameq video.m4v2-Example to set a GOP of 8,2 :
ffmpeg -s cif -r 30 -i video.yuv -vcodec mpeg4 -g 8 -bf 2 -sameq video.m4v- The result of (1) - ok :
$ head trace
...
11 H 20313 14 0.43
12 B 10752 8 0.43
13 B 10718 8 0.43
14 P 12643 9 0.529
15 B 11338 8 0.529
16 B 11136 8 0.529
17 P 12999 9 0.634
18 B 10666 8 0.634
19 B 11000 8 0.634
20 P 12530 9 0.727
21 B 10345 8 0.727
22 B 10887 8 0.727
23 H 20300 14 0.825
24 B 11258 8 0.825
25 B 10759 8 0.826
26 P 12482 9 0.925
27 B 10871 8 0.925
28 B 11249 8 0.925
29 P 13229 10 1.024
30 B 11003 8 1.024
31 B 10904 8 1.024
32 P 12788 9 1.123
33 B 11063 8 1.123
34 B 11365 8 1.123
35 H 20253 14 1.234- The result of (2) - nok :
...
8 H 19824 14 0.33
9 B 11238 8 0.331
10 B 11566 8 0.331
11 P 13314 10 0.929
12 B 11117 8 0.929
13 B 11152 8 0.929
14 H 19683 14 0.929
15 B 11002 8 0.93
16 B 10827 8 0.93
17 P 13240 10 0.93
18 B 11060 8 0.93
19 B 11220 8 0.93
20 H 19942 14 0.93
21 B 10353 8 2.283
22 B 10897 8 2.283
23 P 13386 10 2.283
24 B 11433 8 2.283
25 B 10945 8 2.283
26 H 19623 14 2.284
27 B 10630 8 2.284
28 B 11247 8 2.284
29 P 13430 10 2.284
30 B 11294 8 2.284
31 B 10954 8 2.284
32 H 19654 14 2.351
33 B 10989 8 2.352
34 B 11127 8 2.352
35 P 13630 10 2.352
36 B 11121 8 2.352
37 B 11640 8 2.352
38 H 19691 14 2.352
39 B 11426 8 2.353
40 B 11294 8 2.353
41 P 12675 9 2.353
42 B 11705 9 2.353
43 B 11333 8 2.399
44 H 19659 14 2.399Note : "I" frames is same as "H" above.
First :
1-Itś possible to have a GOP 8,2 and 4,2 ?
2-How they are ? Ex. : I,B,B,P,B,B,P,B,I ? I,B,B,P,B,I ? -
ffmpeg batch convert and automator on mac - automator won't complete script
24 février 2021, par Penarth SoundsPlease forgive me for my lack of knowledge, i've written a short shell script for the mac in order to convert files in a folder using ffmpeg. it outputs them after conversion to a different folder, and puts the original in another folder. it all works fine in Terminal :


This is the code :


1 #! /bin/bash
2 srcExt=$1
3 destExt=$2
4
5 srcDir=$3
6 destDir=$4
7
8 opts=$5
9
10
11 for filename in "$srcDir"/<em>.$srcExt; do
12
13 basePath=${filename%.</em>}
14 baseName=${basePath##*/}
15
16 ffmpeg -i "$filename" -af loudnorm=I=-16:TP=-1.5:LRA=11 -ar 48000 -c:a libmp3lame -b:a 192k "$destDir"/"$baseName"."$destExt";
17 mv "$filename" /Users/Documents/ps_source/
18 done


And this is how i run it :
./ffmpeg-ps.sh wav mp3 /Users/Documents/ps_toconvert/ /Users/Documents/ps_toconvert/ps_converted/


I'm trying to use Automator to automatically run this script when a file drops into a folder. It does that ok, and sends the original to the ps_source folder, but it doesn't do the conversion or output a file to the ps_converted folder.


Can anyone tell me what i'm doing wrong ? Banging my head against a wall here.


Thanks heaps.