
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (42)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (8343)
-
How to compress output file using FFmpeg - Apple ProRes 422
10 septembre 2015, par user1526912I am new to video encoding and trying to encode a music video for the apple itunes video store.
I am currently using FFmpeg for encoding.
My source file is mp4 file type and file size=650MB
I encode the file using the Apple ProRes 422 (HQ) codec and output a mov file.
ffmpeg -y -i busy1.mp4 -vcodec prores -profile:v 3 -r "29.97" -c:a mp2 busy2.mov
I am trying to encode the video according to the following specs :
● Apple ProRes 422 (HQ)
● VBR expected at 220 MbpsEncoded PASP Converted to ProRes From
1920 x 1080 1:1 HDCAM SR, D5, ATSC
1280 x 720 1:1 ATSC progressive29.97 interlaced frames per second for video sourced
Music Video Audio Source Profile
● MPEG-2 layer II stereo
● 384 kpbs
● 48KhzThe file is encoded perfectly fine however the output is 6Gb in size.
Why would the file be so large after encoding ?
Am I doing something wrong here ?
-
How to install pytorch and opencv using a fixed conda channel order ?
7 juin, par progquesterConda creates a pristine environment, configures a fixed channel order, and then starts installing pytorch torchvisioni pytorch-cuda and opencv, and it prompts for dependency conflicts. Do I have to install opencv via pip ?


The same thing happens with python 3.10


$ conda create -n my_env3.9 python=3.9
$ conda activate my_env3.9
$ conda install pytorch torchvision pytorch-cuda=11.8 opencv
Channels:
 - pytorch
 - nvidia
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
 - nothing provides libopencv 4.2.0 py36_5 needed by opencv-4.2.0-py36_5

Could not solve for environment specs
The following packages are incompatible
├─ opencv =* * is installable with the potential options
│ ├─ opencv [4.10.0|4.11.0] would require
│ │ └─ libopencv [==4.10.0 headless_py310h05fcec3_10|==4.10.0 headless_py310h2251c23_11|...|==4.11.0 qt6_py39hd96f159_602], which requires
│ │ └─ ffmpeg >=7.1.0,<8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [4.10.0|4.9.0] would require
│ │ └─ libopencv [==4.10.0 headless_py310h3d4b477_1|==4.10.0 headless_py310hef7d0a5_0|...|==4.9.0 qt6_py39hed63795_614], which requires
│ │ └─ ffmpeg >=6.1.1,<7.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.10.0 would require
│ │ └─ libopencv [==4.10.0 headless_py310h8d94708_2|==4.10.0 headless_py38h5642e36_2|...|==4.10.0 qt6_py39hfd9fb6d_602], which requires
│ │ └─ ffmpeg >=7.0.1,<8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.10.0 would require
│ │ └─ libopencv [==4.10.0 headless_py310h5bfabb9_4|==4.10.0 headless_py310h5bfabb9_5|...|==4.10.0 qt6_py39hdeb11db_605], which requires
│ │ └─ ffmpeg >=6.1.2,<7.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.10.0 would require
│ │ └─ libopencv [==4.10.0 headless_py311h63eac36_5|==4.10.0 headless_py311h63eac36_6|...|==4.10.0 qt6_py39h5d2977a_603], which requires
│ │ └─ ffmpeg >=7.0.2,<8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.11.0 would require
│ │ └─ libopencv [==4.11.0 headless_py310h8ace835_4|==4.11.0 headless_py310h8ace835_5|...|==4.11.0 qt6_py39hbfaaa73_603], which requires
│ │ └─ ffmpeg >=7.1.1,<8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [4.5.3|4.5.5|4.6.0] would require
│ │ └─ libopencv [==4.5.3 py310hc72b5f5_8|==4.5.3 py38hc6b509d_8|...|==4.6.0 py39hf4bb9d8_2], which requires
│ │ └─ ffmpeg >=4.4.2,<5.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [4.6.0|4.7.0] would require
│ │ └─ libopencv [==4.6.0 py310h5bd1119_9|==4.6.0 py310h6214075_5|...|==4.7.0 py39hf99ad11_5], which requires
│ │ └─ ffmpeg >=5.1.2,<6.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [4.7.0|4.8.0|4.8.1] would require
│ │ └─ libopencv [==4.7.0 py310h245f934_4|==4.7.0 py310h3e876cf_5|...|==4.8.1 py39hf605482_5], which requires
│ │ └─ ffmpeg >=6.0.0,<7.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.9.0 would require
│ │ └─ libopencv [==4.9.0 headless_py310hae237af_14|==4.9.0 headless_py38h0f7b093_14|...|==4.9.0 qt6_py39h067c833_615], which requires
│ │ └─ ffmpeg >=7.0.0,<8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [2.4.12|2.4.13|3.1.0|3.2.0] would require
│ │ └─ python =2.7 *, which can be installed;
│ ├─ opencv [2.4.13.4|3.2.0|3.3.0|3.4.1] would require
│ │ └─ ffmpeg >=3.2.3,<3.2.6 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 3.1.0 would require
│ │ └─ python =3.4 *, which can be installed;
│ ├─ opencv [3.1.0|3.2.0] would require
│ │ └─ python =3.5 *, which can be installed;
│ ├─ opencv [3.1.0|3.2.0] would require
│ │ └─ python =3.6 *, which can be installed;
│ ├─ opencv [3.4.1|3.4.3|3.4.4|3.4.7] would require
│ │ ├─ ffmpeg >=4.0.2,<4.1.0a0 *, which conflicts with any installable versions previously reported;
│ │ └─ libopencv ==3.4.7 hc173e35_5, which requires
│ │ └─ ffmpeg >=4.0.2,<4.1.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 3.4.1 would require
│ │ └─ ffmpeg >=4.0.1,<4.1.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [3.4.4|3.4.7|...|4.1.1] would require
│ │ ├─ ffmpeg =4.1 *, which conflicts with any installable versions previously reported;
│ │ └─ libopencv [==3.4.7 h0cc45ee_4|==4.1.1 h0cc45ee_3], which requires
│ │ └─ ffmpeg =4.1 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [3.4.7|3.4.8|...|4.2.0] would require
│ │ └─ libopencv [==3.4.7 h32d60f7_6|==3.4.7 py27_7|...|==4.2.0 py38_4], which requires
│ │ └─ ffmpeg >=4.1.3,<4.2.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.2.0 would require
│ │ └─ libopencv ==4.2.0 py36_5, which does not exist (perhaps a missing channel);
│ ├─ opencv [4.2.0|4.3.0|4.4.0] would require
│ │ └─ py-opencv [==4.2.0 py36h0b673f9_6|==4.3.0 py36h0b673f9_2|==4.4.0 py36h0b673f9_2], which requires
│ │ └─ python >=3.6,<3.7.0a0 *, which can be installed;
│ ├─ opencv [4.2.0|4.3.0] would require
│ │ └─ libopencv [==4.2.0 py36_7|==4.2.0 py37_7|...|==4.3.0 py38_1], which requires
│ │ └─ ffmpeg >=4.2.3,<4.3.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv [4.2.0|4.3.0|4.4.0] would require
│ │ └─ py-opencv [==4.2.0 py37h43977f1_5|==4.2.0 py37h43977f1_6|==4.3.0 py37h43977f1_2|==4.4.0 py37h43977f1_2], which requires
│ │ └─ python >=3.7,<3.8.0a0 *, which can be installed;
│ ├─ opencv [4.2.0|4.3.0|4.4.0] would require
│ │ └─ py-opencv [==4.2.0 py38h23f93f0_5|==4.2.0 py38h23f93f0_6|==4.3.0 py38h23f93f0_2|==4.4.0 py38h23f93f0_2], which requires
│ │ └─ python >=3.8,<3.9.0a0 *, which can be installed;
│ ├─ opencv [4.4.0|4.5.0|4.5.1|4.5.2] would require
│ │ └─ libopencv [==4.4.0 py36_3|==4.4.0 py37_3|...|==4.5.2 py39h70bf20d_1], which requires
│ │ └─ ffmpeg >=4.3.1,<4.4.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.5.0 would require
│ │ └─ libopencv ==4.5.0 py36_5, which does not exist (perhaps a missing channel);
│ ├─ opencv 4.5.0 would require
│ │ └─ libopencv ==4.5.0 py36_6, which does not exist (perhaps a missing channel);
│ ├─ opencv [4.5.3|4.5.5] would require
│ │ └─ libopencv [==4.5.3 py31hbd5a65a_6|==4.5.3 py31he7a5e20_7|...|==4.5.5 py39hfb30bf4_6], which requires
│ │ └─ ffmpeg >=4.3.2,<4.4.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ opencv 4.5.5 would require
│ │ └─ libopencv [==4.5.5 py310h1897127_9|==4.5.5 py310hc83fb77_10|...|==4.5.5 py39he64e9e9_10], which requires
│ │ └─ ffmpeg >=4.4.1,<5.0a0 *, which conflicts with any installable versions previously reported;
│ └─ opencv [3.3.1|3.4.1|...|4.6.0] conflicts with any installable versions previously reported;
└─ pin on python 3.9.* =* * is not installable because it requires
 └─ python =3.9 *, which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python=3.9



-
Code must find all MP4 files within subdirectory to compress using ffmpeg
22 juin 2019, par ellipsicalI have a drive with a lot of MP4 files which are tough to go through folder by folder and compress.
I’m trying to make a script that runs in terminal that will open a designated folder, find all .mp4 files in the subfolder, and compress the files using specs I designate with ffmpeg. Obviously, the output files should be much lower in size if done right. I’m drafting a code which I have an idea about below but I’m not too good with BASH and/or PERL.
for f in $(find ../ -iname '*.avi'); do
n=$(echo $f|sed -e 's/.avi/_cbr.mp4/i');
echo "ffmpeg [options] -i $f $n";
doneoutput :
ffmpeg [options] -i ../1hourjob/videncode/sound10s.avi ../1hourjob/videncode/sound10s_cbr.mp4
ffmpeg [options] -i ../1hourjob/videncode/t003.avi ../1hourjob/videncode/t003_cbr.mp4
ffmpeg [options] -i ../ffmpeg/Masha.avi ../ffmpeg/Masha_cbr.mp4
ffmpeg [options] -i ../ffmpeg/window.avi ../ffmpeg/window_cbr.mp4I’m wondering if I can even make some sort of GUI for this too. I feel a bit lost.