Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (99)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

Sur d’autres sites (9865)

  • ffmpeg throws conversion error, but only if the triggering web request is made from safari ?

    22 novembre 2022, par Kyoshiro Kokujou Obscuritas

    I'm using ffmpeg to do an on-the-fly conversion of audio files to ensure high compatibility. i'm converting them to OGG. and all of this is done by a .NET 6 REST service.
This service is then accessed by a javascript Frontend.
Now the problem. The exact same request runs through without any problems on Windows + Firefox, but it does not on Safari. In Safari it says something about "unknownConversion failed"

    


    it's the same file, it's the same name, and to make sure there are no weird invisible characters i used the Microsoft File API to convert it to a proper file path.

    


    code looks like this

    


    var ffmpeg = new Process();
        var startInfo = new ProcessStartInfo("D:\\Programme\\ffmpeg\\bin\\ffmpeg.exe",
            $"-i \"{path.FullName}\" -c:a libopus -f ogg -")
        {
            RedirectStandardError = true,
            RedirectStandardOutput = true,
            RedirectStandardInput = true,
            UseShellExecute = false,
            CreateNoWindow = true
        };
        ffmpeg.EnableRaisingEvents = true;
        ffmpeg.StartInfo = startInfo;
        ffmpeg.ErrorDataReceived += OnErrorDataReceived;
        ffmpeg.Exited += OnFinished;

        ffmpeg.Start();
        ffmpeg.BeginErrorReadLine();

        return File(new BufferedStream(ffmpeg.StandardOutput.BaseStream), "audio/ogg");


    


    Complete Logs : https://pastebin.com/tTUcsjuT

    


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

  • Realtime transcoding of Audio stream

    16 avril 2019, par M. G. Andjedani

    An audio (e.g. mp3) file is streaming over gRPC and I need to write a microservice to transcode this stream to pcm/wav.

    This service has to support some other audio encoding as well.