Recherche avancée

Médias (91)

Autres articles (78)

  • 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 (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (6512)

  • Nuxeo video conversion issue

    14 septembre 2016, par pradeep gowda

    I am new to nuxeo. Let me describe.

    Description :
    1. Nuxeo requires external service ffmpeg to convert video in to different formats[mp4,webm etc...]
    2. ffmpeg is installed
    3. Problem in Video conversion

    If i start nuxeo as below

    Path= $NUXEO_HOME/bin
    ./nuxeoctl start

    No issues, Works fine.

    But i am facing issue in video conversion when i start nuxeo as daemon service.

    service nuxeo start

    Below is my Bash Script :

    #!/bin/sh
    ### BEGIN INIT INFO
    # Provides:          nuxeo
    # Required-Start:    $local_fs $remote_fs $network $syslog
    # Required-Stop:     $local_fs $remote_fs $network $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Start/stop Nuxeo
    # Description:       Start/stop Nuxeo
    ### END INIT INFO

    DESC="Nuxeo"

    NUXEOCTL="/opt/cisco/nuxeo-cap-7.10-tomcat/bin/nuxeoctl"
    NUXEO_CONF="/var/lib/nuxeo/conf/nuxeo.conf"
    export NUXEO_CONF



    function start() {
       echo $$ > /var/run/nuxeo.pid
       exec $NUXEOCTL --quiet startbg
    }

    function stop() {
       $NUXEOCTL --quiet stop
       /bin/rm /var/run/nuxeo.pid
    }

    case "$1" in
     start)
           start
           ;;
     stop)
           stop
           ;;
     restart)
           
           $NUXEOCTL --quiet restart
           
           ;;
     force-reload)
           
           $NUXEOCTL --quiet restart
           ;;
     status)
           $NUXEOCTL --quiet status
           ;;
     showconf)
           $NUXEOCTL --xml showconf
           ;;
     *)
           echo "Usage: $0 {start|stop|restart|force-reload|status|showconf}" >&2
           exit 3
           ;;
    esac

    I am getting following error. when i try to upload video.

    2016 - 09 - 14 05: 49: 01, 943 ERROR[Nuxeo - Work - videoConversion - 2][org.nuxeo.ecm.core.work.AbstractWork] Exception during work: VideoConversionWork(9596ea87 - 43dd - 4ba8 - b691 - 6e519a7eccfb, /videoAutomaticConversions:138979904092822.1006934040, Progress(?%, ?/0), Transcoding)
    org.nuxeo.ecm.core.convert.api.ConverterNotAvailable: Converter convertToWebM is not available
    at org.nuxeo.ecm.core.convert.service.ConversionServiceImpl.convert(ConversionServiceImpl.java: 178)
    at org.nuxeo.ecm.platform.video.service.VideoServiceImpl.convert(VideoServiceImpl.java: 175)
    at org.nuxeo.ecm.platform.video.service.VideoConversionWork.work(VideoConversionWork.java: 100)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransaction(AbstractWork.java: 340)
    at org.nuxeo.ecm.core.work.AbstractWork.runWorkWithTransactionAndCheckExceptions(AbstractWork.java: 301)
    at org.nuxeo.ecm.core.work.AbstractWork.run(AbstractWork.java: 272)
    at org.nuxeo.ecm.core.work.WorkHolder.run(WorkHolder.java: 52)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: 617)
    at java.lang.Thread.run(Thread.java: 745)

    I don’t know why. I am behind this issue but still i am not able find solution for this .

  • Piwik 3 Development Update #3 – Marketplace for Piwik Analytics

    13 septembre 2016, par Piwik Core Team — Community, Development

    This is our latest Piwik 3 development update where we present all changes that will be shipped with Piwik 3. Learn more about the exciting projects under progress in our Piwik 3 dev update #1 and dev update #2.

    The Piwik Marketplace is the place where you can discover & download plugins to enrich the functionality of your Piwik, and themes to change the look and feel of your Piwik user interface. In preparation for our Piwik 3 release we have made several improvements to the Marketplace :

    • Users can now view more information for a given plugin, such as a link to an online demo, a video demo, how to obtain support from the Plugin’s developer(s), and more.
    • Users can now view which plugins are compatible with the most recent Piwik version, for example view which plugins are already compatible with Piwik 3.
    • Plugin developers can now 1) promote their plugin better, 2) easily define requirement(s) for their plugins using composer.json version constraints (a best practise most developers already use) and 3) developers can define which files and directories should be excluded from the publicly available plugin zip packages.

    These improvements will make it easier for you to discover new Piwik Analytics plugins to achieve your goals.

    Marketplace now supports different Piwik versions

    You can now filter plugins by Piwik version to see only plugins that are compatible with your Piwik.




    When you browse the Marketplace in the Piwik app itself, you will automatically only see plugins and updates that are compatible with your Piwik.

    Better plugin preview

    Plugin developers are able to display screenshots for their plugins, and now plugin developers can also specify a demo URL and a video in the “plugin.json” file. Adding a video to your plugin allows users to get a much better understanding of what your plugin does and how a theme looks.

    Unified support page

    In the past a developer had to define the text that was displayed on the support page. This often resulted in blank support pages or developers only showed an email address. With this new update, links and other support information are displayed in a standardised way as specified in the “support” section of the “plugin.json” file. A developer can now define links to an issue tracker, a wiki, the plugin’s source code and more.

    License files

    The license name on your plugin’s page is now clickable and can show the license text for your plugin. To define a license text for your plugin, create a file named LICENSE, LICENSE.md or LICENSE.txt.

    FAQ and Documentation

    In the past a “FAQ” tab was displayed if such a section was present in the plugin’s readme file. This was hard to understand and sometimes ended up in long readme files. Now we pick up the FAQ content from a docs/faq.md file.

    For plugins developers who wish to provide a user guide(s), it is now possible to show a “documentation” tab to the plugin page by specifying a docs/index.md file.

    Changelog

    When you define a file named CHANGELOG, CHANGELOG.md or CHANGELOG.txt in your plugin, we will show the content of this file in a tab “Changelog” on your plugin’s page. Before it was needed to specify the content of the changelog in the readme file.

    Exclude files from the plugin

    If your plugin source code contains files that are not supposed to be present on a Piwik installation you can now choose to exclude files and directories from your plugin zip archive. When a user installs your plugin the excluded files won’t be there.

    Migrating your plugin for Piwik 3

    We recommend to all plugin developers to specify in the plugin.json file whether their plugin is compatible with Piwik 3 or not. If your plugin defines a “Changelog”, “Support” or “FAQ” section in the README.md file we recommend to migrate this to the new structure. Read more about this in the migration guide.

    Until our next Piwik 3 dev update, Happy analysis !

  • SOX got nothing from SoundFlower

    12 septembre 2016, par xiaose

    For some reason on some comps SoundFlower does not catch audio.
    I.e. there are SoundFlower but when I switch input\output to the SoundFlower I cannot get any sound. I have got only not empty file without any sound.

    Okay, how I try to get the sound...

    Just FYI :

    $ system_profiler SPSoftwareDataType

    Software:

       System Software Overview:

         System Version: OS X 10.10.5 (14F1912)
         Kernel Version: Darwin 14.5.0
         Boot Volume: Macintosh HD
         Boot Mode: Normal
         Computer Name: Craig Computer
         User Name: Craig (craigm)
         Secure Virtual Memory: Enabled
         Time since boot: 1 day22:12

    Gonna check is AVFoundation works :

    $ ./ffmpeg -h demuxer=avfoundation

    Demuxer avfoundation [AVFoundation input device]:
    AVFoundation input device AVOptions:
     -list_devices      <int>        .D...... list available devices (from 0 to 1) (default false)
        true                         .D......
        false                        .D......
     -video_device_index <int>        .D...... select video device by index for devices with same name (starts at 0) (from -1 to INT_MAX) (default -1)
     -audio_device_index <int>        .D...... select audio device by index for devices with same name (starts at 0) (from -1 to INT_MAX) (default -1)
     -pixel_format          .D...... set pixel format (default yuv420p)
     -framerate          .D...... set frame rate (default "ntsc")
     -video_size         .D...... set video size
     -capture_cursor    <int>        .D...... capture the screen cursor (from 0 to 1) (default 0)
     -capture_mouse_clicks <int>        .D...... capture the screen mouse clicks (from 0 to 1) (default 0)
    </int></int></int></int></int>

    Gonna get list of AVFoundation audio devices :

    $ ./ffmpeg -f avfoundation -list_devices true -i ’’

    ffmpeg version 3.1.1-tessus Copyright (c) 2000-2016 the FFmpeg developers
     built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-version3 --disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb
     libavutil      55. 28.100 / 55. 28.100
     libavcodec     57. 48.101 / 57. 48.101
     libavformat    57. 41.100 / 57. 41.100
     libavdevice    57.  0.101 / 57.  0.101
     libavfilter     6. 47.100 /  6. 47.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  1.100 /  2.  1.100
     libpostproc    54.  0.100 / 54.  0.100
    [AVFoundation input device @ 0x7fda40421000] AVFoundation video devices:
    [AVFoundation input device @ 0x7fda40421000] [0] Built-in iSight
    [AVFoundation input device @ 0x7fda40421000] [1] Capture screen 0
    [AVFoundation input device @ 0x7fda40421000] AVFoundation audio devices:
    [AVFoundation input device @ 0x7fda40421000] [0] Soundflower (64ch)
    [AVFoundation input device @ 0x7fda40421000] [1] Built-in Microphone
    [AVFoundation input device @ 0x7fda40421000] [2] Soundflower (2ch)
    [AVFoundation input device @ 0x7fda40421000] [3] Built-in Input
    : Input/output error

    Okay, we have SoundFlower in devices :

    [AVFoundation input device @ 0x7fda40421000] [2] Soundflower (2ch)

    Then I run AppleScript which gonna switch to the "SoundFlower (2ch)" :

    enableSF("input")

    enableSF("output")

    Where enableSF(stdname) is :

    on enableSF(stdname)    
       tell application "System Preferences"  
           -- activate
           tell anchor stdname of pane "com.apple.preference.sound" to reveal  
           tell application "System Events"    
               tell application process "System Preferences"  
                   tell tab group 1 of window 1    
                       delay 2
                       set rowslist to selected of row of table 1 of scroll area 1
                       set counter to 0    
                       repeat with id in rowslist  
                           set counter to counter + 1  
                           set rowName to (value of text field 1 of row counter of table 1 of scroll area 1)  

                           set output to stdname &amp; " " &amp; rowName  
                           set scrpt to "echo \"" &amp; output &amp; "\" >> ~/Desktop/ds.log"  
                           do shell script scrpt  

                           if (rowName is equal to "Soundflower (2ch)") then  
                               set selected of row counter of table 1 of scroll area 1 to true

                               set output to "
                               !!! FOUND SF for " &amp; stdname &amp; " " &amp; rowName    
                               set scrpt to "echo \"" &amp; output &amp; "\" >> ~/Desktop/ds.log"  
                               log output  
                               do shell script scrpt
                               exit repeat
                           end if  
                       end repeat  
                   end tell    
               end tell    
           end tell    
       end tell    
    end enableSF    

    In result I have got this :

    input Internal Microphone
    input Line In
    input Digi CoreAudio Device
    input Soundflower (2ch)

           !!! FOUND SF for input Soundflower (2ch)

    output Headphones
    output Digi CoreAudio Device
    output Soundflower (2ch)

           !!! FOUND SF for output Soundflower (2ch)

    It means that we switch to the SoundFlower. Actually the same can be done by hands, but the script is more reliable as for me.

    Okay, next we can try to save some audio via SOX :

    $ /Applications/sox-14.3.2/sox -d /Desktop/out.wav

    Input File     : 'default' (coreaudio)
    Channels       : 2
    Sample Rate    : 44100
    Precision      : 32-bit
    Sample Encoding: 32-bit Signed Integer PCM


    In:0.00% 00:00:00.00 [00:00:00.00] Out:0     [      |      ]        Clip:0    
    ...
    ...
    ...
    In:0.00% 00:00:02.51 [00:00:00.00] Out:106k  [      |      ]        Clip:0    
    ...
    ...
    ...
    In:0.00% 00:00:11.80 [00:00:00.00] Out:516k  [      |      ]        Clip:0    /Applications/sox-14.3.2/sox WARN coreaudio: coreaudio: unhandled buffer overrun.  Data discarded.
    ...
    ...
    ...    
    In:0.00% 00:00:12.35 [00:00:00.00] Out:545k  [      |      ]        Clip:0    /Applications/sox-14.3.2/sox WARN coreaudio: coreaudio: unhandled buffer overrun.  Data discarded.
    ...
    ...
    ...
    In:0.00% 00:00:13.28 [00:00:00.00] Out:582k  [      |      ]        Clip:0    
    Aborted.

    And, as you can see, the SOX gives me an empty file. Rather, it gives the data, but there is no sound.

    This happens on all OS from 10.10 to 10.11.6. Normal output should be this type :

    In:0.00% 00:00:00.28 [00:00:00.00] Out:8.19k [======|======]        Clip:0      
    ...
    ...
    ...
    In:0.00% 00:00:04.37 [00:00:00.00] Out:188k  [ -====|===== ] Hd:1.1 Clip:0
    ...
    ...
    ...    
    In:0.00% 00:00:08.82 [00:00:00.00] Out:385k  [======|=====-] Hd:1.1 Clip:0      
    In:0.00% 00:00:09.01 [00:00:00.00] Out:393k  [-=====|=====-] Hd:1.1 Clip:0      
    In:0.00% 00:00:09.20 [00:00:00.00] Out:401k  [======|======] Hd:1.1 Clip:0