Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (52)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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, par

    The 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, par

    To 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. Bultje
    lavc : 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 Dima1982

    I 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 with Gnuplot, call ffmpeg to create a video out of the PNGs, use WinRAR 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__&amp;&amp;__MACH__
    #include
    #endif

    // Make output directory and change working directory to new directory
       ostringstream dirCommand;
       dirCommand &lt;&lt; "mkdir " &lt;&lt; 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__&amp;&amp;__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 using system(). 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 &lt;&lt; "Generating Video..." &lt;&lt; endl;
           ostringstream command;
           command &lt;&lt; "ffmpeg -f image2 -r 1/0.1 -i output_%01d.png -vcodec mpeg4 " &lt;&lt; videoName_str &lt;&lt; ".avi -loglevel quiet";
           std::system(command.str().c_str());

           // Clean Up!
           std::cout &lt;&lt; "Cleaning up!" &lt;&lt; endl;
           ostringstream command2;
           #ifdef _WIN32
               command2 &lt;&lt; "rar -inul a " &lt;&lt; videoName_str &lt;&lt; ".rar *.dat settings.gp loadfile.gp";
           #elif defined __linux__ || defined __APPLE__&amp;&amp;__MACH__
               command2 &lt;&lt; "tar cf " &lt;&lt; videoName_str &lt;&lt; ".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 and gnuplot plots the PNGs as well. When ffmpeg is called, nothing happens. No error message from FFMpeg or anything. The same goes for WinRAR. Maybe, for the last thing, I can use the command line utility of 7z 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 to fprintf() for my file generation does not work, or gets lost somewhere. Gnuplot works, as do ffmpeg and tar !!

    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 djturbojp7

    I 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.

    &#xA;

    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.

    &#xA;

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

    &#xA;

    audio file a.webm&#xA;audio file b.webm&#xA;audio file c.m4a&#xA;audio file d.webm&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    file &#x27;./audio file a.webm&#x27;&#xA;file &#x27;./audio file b.webm&#x27;&#xA;file &#x27;./audio file c.m4a&#x27;&#xA;file &#x27;./audio file d.webm&#x27;&#xA;

    &#xA;

    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 :

    &#xA;

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

    &#xA;

    however this example applies to video specifically

    &#xA;

    Can anyone lead me in the right direction ?

    &#xA;

    EDIT******

    &#xA;

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

    &#xA;

        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&#xA;ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)&#xA;  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&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;Input #0, tty, from &#x27;mylist.txt&#x27;:&#xA;  Duration: 00:00:00.40, bitrate: 47 kb/s&#xA;    Stream #0:0: Video: ansi, pal8, 640x400, 25 fps, 25 tbr, 25 tbn, 25 tbc&#xA;Stream specifier &#x27;:a&#x27; in filtergraph description [0:a][1:a][2:a][3:a]concat=n=20:a=1:v=0[a] matches no streams.&#xA;

    &#xA;