
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (52)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (5860)
-
lavc : VP9 decoder
1er octobre 2013, par Ronald S. Bultjelavc : VP9 decoder
Originally written by Ronald S. Bultje <rsbultje@gmail.com> and
Clément Bœsch <u@pkh.me>Further contributions by :
Anton Khirnov <anton@khirnov.net>
Diego Biurrun <diego@biurrun.de>
Luca Barbato <lu_zero@gentoo.org>
Martin Storsjö <martin@martin.st>Signed-off-by : Luca Barbato <lu_zero@gentoo.org>
Signed-off-by : Anton Khirnov <anton@khirnov.net>- [DH] Changelog
- [DH] configure
- [DH] doc/general.texi
- [DH] libavcodec/Makefile
- [DH] libavcodec/allcodecs.c
- [DH] libavcodec/version.h
- [DH] libavcodec/vp9.c
- [DH] libavcodec/vp9.h
- [DH] libavcodec/vp9block.c
- [DH] libavcodec/vp9data.c
- [DH] libavcodec/vp9data.h
- [DH] libavcodec/vp9dsp.c
- [DH] libavcodec/vp9mvs.c
- [DH] libavcodec/vp9prob.c
- [DH] libavcodec/x86/Makefile
- [DH] libavcodec/x86/vp9dsp.asm
- [DH] libavcodec/x86/vp9dsp_init.c
- [DH] tests/fate/vpx.mak
- [DH] tests/ref/fate/vp9-00-quantizer-00
- [DH] tests/ref/fate/vp9-00-quantizer-01
- [DH] tests/ref/fate/vp9-00-quantizer-02
- [DH] tests/ref/fate/vp9-00-quantizer-03
- [DH] tests/ref/fate/vp9-00-quantizer-04
- [DH] tests/ref/fate/vp9-00-quantizer-05
- [DH] tests/ref/fate/vp9-00-quantizer-06
- [DH] tests/ref/fate/vp9-00-quantizer-07
- [DH] tests/ref/fate/vp9-00-quantizer-08
- [DH] tests/ref/fate/vp9-00-quantizer-09
- [DH] tests/ref/fate/vp9-00-quantizer-10
- [DH] tests/ref/fate/vp9-00-quantizer-11
- [DH] tests/ref/fate/vp9-00-quantizer-12
- [DH] tests/ref/fate/vp9-00-quantizer-13
- [DH] tests/ref/fate/vp9-00-quantizer-14
- [DH] tests/ref/fate/vp9-00-quantizer-15
- [DH] tests/ref/fate/vp9-00-quantizer-16
- [DH] tests/ref/fate/vp9-00-quantizer-17
- [DH] tests/ref/fate/vp9-00-quantizer-18
- [DH] tests/ref/fate/vp9-00-quantizer-19
- [DH] tests/ref/fate/vp9-00-quantizer-20
- [DH] tests/ref/fate/vp9-00-quantizer-21
- [DH] tests/ref/fate/vp9-00-quantizer-22
- [DH] tests/ref/fate/vp9-00-quantizer-23
- [DH] tests/ref/fate/vp9-00-quantizer-24
- [DH] tests/ref/fate/vp9-00-quantizer-25
- [DH] tests/ref/fate/vp9-00-quantizer-26
- [DH] tests/ref/fate/vp9-00-quantizer-27
- [DH] tests/ref/fate/vp9-00-quantizer-28
- [DH] tests/ref/fate/vp9-00-quantizer-29
- [DH] tests/ref/fate/vp9-00-quantizer-30
- [DH] tests/ref/fate/vp9-00-quantizer-31
- [DH] tests/ref/fate/vp9-00-quantizer-32
- [DH] tests/ref/fate/vp9-00-quantizer-33
- [DH] tests/ref/fate/vp9-00-quantizer-34
- [DH] tests/ref/fate/vp9-00-quantizer-35
- [DH] tests/ref/fate/vp9-00-quantizer-36
- [DH] tests/ref/fate/vp9-00-quantizer-37
- [DH] tests/ref/fate/vp9-00-quantizer-38
- [DH] tests/ref/fate/vp9-00-quantizer-39
- [DH] tests/ref/fate/vp9-00-quantizer-40
- [DH] tests/ref/fate/vp9-00-quantizer-41
- [DH] tests/ref/fate/vp9-00-quantizer-42
- [DH] tests/ref/fate/vp9-00-quantizer-43
- [DH] tests/ref/fate/vp9-00-quantizer-44
- [DH] tests/ref/fate/vp9-00-quantizer-45
- [DH] tests/ref/fate/vp9-00-quantizer-46
- [DH] tests/ref/fate/vp9-00-quantizer-47
- [DH] tests/ref/fate/vp9-00-quantizer-48
- [DH] tests/ref/fate/vp9-00-quantizer-49
- [DH] tests/ref/fate/vp9-00-quantizer-50
- [DH] tests/ref/fate/vp9-00-quantizer-51
- [DH] tests/ref/fate/vp9-00-quantizer-52
- [DH] tests/ref/fate/vp9-00-quantizer-53
- [DH] tests/ref/fate/vp9-00-quantizer-54
- [DH] tests/ref/fate/vp9-00-quantizer-55
- [DH] tests/ref/fate/vp9-00-quantizer-56
- [DH] tests/ref/fate/vp9-00-quantizer-57
- [DH] tests/ref/fate/vp9-00-quantizer-58
- [DH] tests/ref/fate/vp9-00-quantizer-59
- [DH] tests/ref/fate/vp9-00-quantizer-60
- [DH] tests/ref/fate/vp9-00-quantizer-61
- [DH] tests/ref/fate/vp9-00-quantizer-62
- [DH] tests/ref/fate/vp9-00-quantizer-63
- [DH] tests/ref/fate/vp9-01-sharpness-1
- [DH] tests/ref/fate/vp9-01-sharpness-2
- [DH] tests/ref/fate/vp9-01-sharpness-3
- [DH] tests/ref/fate/vp9-01-sharpness-4
- [DH] tests/ref/fate/vp9-01-sharpness-5
- [DH] tests/ref/fate/vp9-01-sharpness-6
- [DH] tests/ref/fate/vp9-01-sharpness-7
- [DH] tests/ref/fate/vp9-02-size-08x08
- [DH] tests/ref/fate/vp9-02-size-08x10
- [DH] tests/ref/fate/vp9-02-size-08x16
- [DH] tests/ref/fate/vp9-02-size-08x18
- [DH] tests/ref/fate/vp9-02-size-08x32
- [DH] tests/ref/fate/vp9-02-size-08x34
- [DH] tests/ref/fate/vp9-02-size-08x64
- [DH] tests/ref/fate/vp9-02-size-08x66
- [DH] tests/ref/fate/vp9-02-size-10x08
- [DH] tests/ref/fate/vp9-02-size-10x10
- [DH] tests/ref/fate/vp9-02-size-10x16
- [DH] tests/ref/fate/vp9-02-size-10x18
- [DH] tests/ref/fate/vp9-02-size-10x32
- [DH] tests/ref/fate/vp9-02-size-10x34
- [DH] tests/ref/fate/vp9-02-size-10x64
- [DH] tests/ref/fate/vp9-02-size-10x66
- [DH] tests/ref/fate/vp9-02-size-16x08
- [DH] tests/ref/fate/vp9-02-size-16x10
- [DH] tests/ref/fate/vp9-02-size-16x16
- [DH] tests/ref/fate/vp9-02-size-16x18
- [DH] tests/ref/fate/vp9-02-size-16x32
- [DH] tests/ref/fate/vp9-02-size-16x34
- [DH] tests/ref/fate/vp9-02-size-16x64
- [DH] tests/ref/fate/vp9-02-size-16x66
- [DH] tests/ref/fate/vp9-02-size-18x08
- [DH] tests/ref/fate/vp9-02-size-18x10
- [DH] tests/ref/fate/vp9-02-size-18x16
- [DH] tests/ref/fate/vp9-02-size-18x18
- [DH] tests/ref/fate/vp9-02-size-18x32
- [DH] tests/ref/fate/vp9-02-size-18x34
- [DH] tests/ref/fate/vp9-02-size-18x64
- [DH] tests/ref/fate/vp9-02-size-18x66
- [DH] tests/ref/fate/vp9-02-size-32x08
- [DH] tests/ref/fate/vp9-02-size-32x10
- [DH] tests/ref/fate/vp9-02-size-32x16
- [
-
Improper use of system() call ?
28 mai 2013, par Dima1982I have a particle system program that generates a
.dat
file with particle coordinates in every iteration. The end goal is to run the program multiple times via a script with different parameters. So, I am trying to setup my program in a way that, for every run, all relevant data are going to be stored in a folder.What I do is to generate
PNGs
from the.dat
files withGnuplot
, callffmpeg
to create a video out of thePNGs
, useWinRAR
to compress the.dat
files and finally clean up, by deleting all the intermediate files. This works, when I do it in the working directory.Now I try to create a new directory and do the same stuff in there. My code :
// Load the proper library to use chdir() function
#ifdef _WIN32
#include
#elif defined __linux__ || defined __APPLE__&&__MACH__
#include
#endif
// Make output directory and change working directory to new directory
ostringstream dirCommand;
dirCommand << "mkdir " << folderName_str;
system(dirCommand.str().c_str());
const char* test = folderName_str.c_str();
#ifdef _WIN32
if(_chdir(test))
{
printf( "Unable to locate the directory: %s\n",test);
return;
}
#elif defined __linux__ || defined __APPLE__&&__MACH__
if(chdir(test))
{
printf( "Unable to locate the directory: %s\n",test);
return;
}
#endif
else
printf("Created output directory...\n");Already for this part, I know that there are going to be objections. I have looked extensively on SO and many people favor
SetCurrentDirectory()
for Windows, or they are skeptical about usingsystem()
. In my defense, I am a novice programmer and my knowledge is really limited...Now, when I try to make the video with
FFMpeg
and then rar/tar my files :// Make video
std::cout << "Generating Video..." << endl;
ostringstream command;
command << "ffmpeg -f image2 -r 1/0.1 -i output_%01d.png -vcodec mpeg4 " << videoName_str << ".avi -loglevel quiet";
std::system(command.str().c_str());
// Clean Up!
std::cout << "Cleaning up!" << endl;
ostringstream command2;
#ifdef _WIN32
command2 << "rar -inul a " << videoName_str << ".rar *.dat settings.gp loadfile.gp";
#elif defined __linux__ || defined __APPLE__&&__MACH__
command2 << "tar cf " << videoName_str << ".tar *.dat settings.gp loadfile.gp";
#endif
std::system(command2.str().c_str());I get very different behaviors in Win/ Linux.
Win 7 x64, Visual Studio 2010/12
In windows, the folder is created. The
.dat
files are generated correctly andgnuplot
plots thePNGs
as well. Whenffmpeg
is called, nothing happens. No error message fromFFMpeg
or anything. The same goes forWinRAR
. Maybe, for the last thing, I can use the command line utility of7z
which is free !Linux Mint 14 x64, Qt 4.8.1
Strangely enough, the behavior is inverted from that of Windows. As soon as the dir is changed, only the first
.dat
file is generated. It is as if every subsequent call I make tofprintf()
for my file generation does not work, or gets lost somewhere.Gnuplot
works, as doffmpeg
andtar
!!I am really perplexed. Any help, would be really appreciated.
-
need help using ffmpeg to "concat" multiple audio files (webm, mp4) to make one longer MP3 of audio
28 septembre 2020, par djturbojp7I have done some searching (for several hours) and tried to manipulate many examples to work for me, but I still keep coming up empty here.


I am using linux-mint 19, with ffmpeg installed. I have a folder with several audio files. The majority of these are "webm" (with no video) and there are a few "m4a". I am trying to make one long mp3 file from the audio in all of these strung together from start to finish.


Lets say for sake of argument, my directory has the following files :


audio file a.webm
audio file b.webm
audio file c.m4a
audio file d.webm



I found a script that I could write online where someone is creating a file called "mylist.txt" with this bit of code :


# with a bash for loop
for f in ./*.*; do echo "file '$f'" >> mylist.txt; done
# or with printf
printf "file '%s'\n" ./*.* > mylist.txt



this generated a text file with the following type of content :


file './audio file a.webm'
file './audio file b.webm'
file './audio file c.m4a'
file './audio file d.webm'



first, I believe the "./" is causing a problem, because when I look at other examples I don't see this but I am not sure why it is generating this way in my script because I don't see this in web examples online. Second, I have tried to "concate" this with ffmpeg but I'm not sure which is the best option. I found some documentation here :


https://trac.ffmpeg.org/wiki/Concatenate


however this example applies to video specifically


Can anyone lead me in the right direction ?


EDIT******


I tried the solution below, with "mylist.txt" as the input and I am getting an error :


user@machine/TEMP$ ffmpeg -i mylist.txt -filter_complex "[0:a][1:a][2:a][3:a]concat=n=20:a=1:v=0[a]" -map "[a]" output.mp3
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
 configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100
Input #0, tty, from 'mylist.txt':
 Duration: 00:00:00.40, bitrate: 47 kb/s
 Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc
Stream specifier ':a' in filtergraph description [0:a][1:a][2:a][3:a]concat=n=20:a=1:v=0[a] matches no streams.