Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (57)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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

Sur d’autres sites (7947)

  • Knitr Plot Animation - disappearing output files ?

    20 avril 2015, par tcs

    I downloaded the latest ffmpeg (exe version), unzipped the files, renamed the directory to ffmpeg, copied the directory into c :\Program Files. I appended my PATH variable to include c :\Program Files\ffmpeg\bin. Finally, I restarted Rstudio.

    While attempting to run the following code chunk :

    ```{r perf_plot, fig.width=7, fig.height=6, fig.show='animate'}
    library(corrplot)
    corrplot(m, method = "circle")
    m<-sequence_2_matrix(perf_list[[1]])
    corrplot(m)
    for (i in 2:length(perf_list)) {
     m<-(m*(i-1)+sequence_2_matrix(perf_list[[i]]))/i
     corrplot(m,method = "circle")

    }

    I see within the output in in my RMarkdown window that the ffmpeg call seems to be successfully run, but while watching the directory where my code is located the png that is attempted to be created can often disappear, or not appear at all. Strangeness.

    processing file: MarkovRoutinesSim.rmd
     |........                                                         |  13%
     ordinary text without R code

     |...........                                                      |  17%
    label: unnamed-chunk-2
     |..............                                                   |  22%
     ordinary text without R code

     |.................                                                |  26%
    label: unnamed-chunk-3
     |....................                                             |  30%
     ordinary text without R code

     |.......................                                          |  35%
    label: unnamed-chunk-4
     |.........................                                        |  39%
     ordinary text without R code

     |............................                                     |  43%
    label: unnamed-chunk-5
     |...............................                                  |  48%
     ordinary text without R code

     |..................................                               |  52%
    label: unnamed-chunk-6
     |.....................................                            |  57%
     ordinary text without R code

     |........................................                         |  61%
    label: unnamed-chunk-7
     |..........................................                       |  65%
     ordinary text without R code

     |.............................................                    |  70%
    label: perf_plot (with options)
    List of 3
    $ fig.width : num 7
    $ fig.height: num 6
    $ fig.show  : chr "animate"

    executing: ffmpeg -y -r 1 -i MarkovRoutinesSim_files/figure-html/perf_plot-%d.png MarkovRoutinesSim_files/figure-html/perf_plot-.webm
    ffmpeg version N-71515-ga40cee0 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 22.101 / 54. 22.101
     libavcodec     56. 34.100 / 56. 34.100
     libavformat    56. 30.100 / 56. 30.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 14.100 /  5. 14.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, image2, from 'MarkovRoutinesSim_files/figure-html/perf_plot-%d.png':
     Duration: 00:00:00.44, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: png, pal8, 1344x1152 [SAR 7559:7559 DAR 7:6], 25 fps, 25 tbr, 25 tbn, 25 tbc
    [libvpx @ 000000000310e720] v1.4.0
    Output #0, webm, to 'MarkovRoutinesSim_files/figure-html/perf_plot-.webm':
     Metadata:
       encoder         : Lavf56.30.100
       Stream #0:0: Video: vp8 (libvpx), yuv420p, 1344x1152 [SAR 1:1 DAR 7:6], q=-1--1, 200 kb/s, 1 fps, 1k tbn, 1 tbc
       Metadata:
         encoder         : Lavc56.34.100 libvpx
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> vp8 (libvpx))
    Press [q] to stop, [?] for help
     |................................................                 |  74%
     ordinary text without R code

     |...................................................              |  78%
    label: unnamed-chunk-8
     |......................................................           |  83%
     ordinary text without R code

     |.........................................................        |  87%
    label: unnamed-chunk-9
    frame=   11 fps=0.0 q=0.0 Lsize=     108kB time=00:00:11.00 bitrate=  80.8kbits/s    
    video:108kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.524176%
     |...........................................................      |  91%
     ordinary text without R code

     |..............................................................   |  96%
    label: unnamed-chunk-10
     |.................................................................| 100%
     ordinary text without R code


    "C:/Program Files/RStudio/bin/pandoc/pandoc" MarkovRoutinesSim.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output MarkovRoutinesSim.html --smart --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\Tim\Documents\R\win-library\3.2\rmarkdown\rmd\h\default.html" --variable "theme:bootstrap" --include-in-header "C:\Users\Tim\AppData\Local\Temp\Rtmpkrtekd\rmarkdown-str7d43d7d5475.html" --mathjax --variable "mathjax-url:https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --no-highlight --variable "highlightjs=C:\Users\Tim\Documents\R\win-library\3.2\rmarkdown\rmd\h\highlight"
    output file: MarkovRoutinesSim.knit.md


    Output created: MarkovRoutinesSim.html

    Any ideas on what might be happening ? I’ve tried adding in other graphs, and I see this random behavior of the file folder appearing disappearing, sometimes the file is created, other times not.

  • Converting .mov to .m3u8 with ffmpeg

    22 avril 2015, par Tim Baker

    I’m trying to convert a file to get it ready for adapative streaming. Have a .mov file I’d like to make .m3u8

    Using ffmpeg, but I’ll admit I’m not completely familiar with the process.

    ffmpeg -i intro.mov -c:v libx264 -b:a 32k -c:a aac -strict -f segment.ts -segment_list playlist.m3u8

    I’m getting the following error :

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

       Stream #0:0(eng): Video: h264, q=2-31, 128 kb/s, 23.98 fps (default)
       Metadata:
         creation_time   : 2015-04-20 23:58:02
         handler_name    : Apple Video Media Handler
         encoder         : Lavc55.69.100 libx264
       Stream #0:1(eng): Audio: aac, 0 channels, 128 kb/s (default)
       Metadata:
         creation_time   : 2015-04-20 23:58:02
         handler_name    : Apple Sound Media Handler
         encoder         : Lavc55.69.100 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
     Stream #0:1 -> #0:1 (aac (native) -> aac (native))
  • How to record output frames to a video file in OpenFrameworks OF 0.8.4 OSX

    7 mai 2015, par benjgorman

    Hi I’m attempting to use this to record output of my openframeworks app.

    I was trying to use this extension here. As there seems like there is no built in method for this.

    https://github.com/timscaffidi/ofxVideoRecorder

    I have it producing a video file, but it looks like one of those scrolling sidewalk adverts, the frames scroll upwards instead of proceeding like a normal video. Any idea why ?

    I had this at the end of my setup method.

    if(!vidRecorder.isInitialized())
    {
    vidRecorder.setup(fileName+ofGetTimestampString()+fileExt, ofGetWidth(), ofGetHeight(), 30); // no audio

    }

    Now I had the window mode set to fullscreen intitially and that gave me scanlines on the output, so I made it not full screen and I got the frames I already mentioned and then I set it to 640, 480 and I got more scanlines.

    I was using this code in my update loop

    ofImage img;
    img.grabScreen(0, 0, ofGetWidth(), ofGetHeight());


    vidRecorder.addFrame(img.getPixelsRef());

    Here is the ffmpeg output.

    [warning] ofThread: - name: Thread 4 - Calling startThread with verbose is deprecated.
    [warning] ofThread: - name: Thread 2 - Calling startThread with verbose is deprecated.
    ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
     built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
     configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 26.100 / 56. 26.100
     libavformat    56. 25.101 / 56. 25.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 11.102 /  5. 11.102
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, rawvideo, from '/Users/benjgorman/Code/OF_ROOT/addons/ofxTimeline/duplicate_lips/bin/data/ofxvrpipe0':
     Duration: N/A, start: 0.000000, bitrate: 566231 kb/s
       Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 1024x768, 566231 kb/s, 30 tbr, 30 tbn, 30 tbc
    Please use -b:a or -b:v, -b is ambiguous
    Output #0, mov, to '/Users/benjgorman/Code/OF_ROOT/addons/ofxTimeline/duplicate_lips/bin/data/testMovie2015-04-16-11-21-31-504.mov':
     Metadata:
       encoder         : Lavf56.25.101
       Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1024x768, q=2-31, 800 kb/s, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc56.26.100 mpeg4
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
    Press [q] to stop, [?] for help
    frame=    9 fps=0.0 q=14.2 size=     861kB time=00:00:00.30 bitrate=23510.3kbits/s    
    frame=   19 fps= 18 q=24.8 size=    1330kB time=00:00:00.63 bitrate=17202.4kbits/s    
    frame=   31 fps= 20 q=24.8 size=    1864kB time=00:00:01.03

    //

    more frames here omitted for clarity

    //

    frame=   87 fps= 16 q=24.8 size=    4349kB time=00:00:02.90 bitrate=12286.0kbits/s    
    frame=   95 fps= 16 q=24.8 size=    4704kB time=00:00:03.16 bitrate=12169.1kbits/s    
    frame=  103 fps= 16 q=24.8 size=    5061kB time=00:00:03.43 bitrate=12075.1kbits/s    
    frame=  111 fps= 16 q=24.8 size=    5415kB time=00:00:03.70 bitrate=11990.0kbits/s    
    frame=  118 fps= 15 q=24.8 size=    5726kB time=00:00:03.93 bitrate=11925.3kbits/s    
    frame=  130 fps= 16 q=24.8 size=    6261kB time=00:00:04.33 bitrate=11835.3kbits/s    
    [rawvideo @ 0x10201e000] Invalid buffer size, packet size 1179648 < expected frame_size 2359296
    Error while decoding stream #0:0: Invalid argument
    frame=  138 fps= 14 q=24.8 size=    6618kB time=00:00:04.60 bitrate=11785.4kbits/s    
    frame=  138 fps= 14 q=24.8 Lsize=    6620kB time=00:00:04.60 bitrate=11788.8kbits/s    
    video:6618kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028923%

    Is this an ffmpeg error ? Or is there a better solution.