Recherche avancée

Médias (91)

Autres articles (34)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (9170)

  • Anomalie #3588 : log remplis par @apc_delete_file()

    30 novembre 2015, par nico d

    Ça corrige bien, mais j’ai appliqué r22607 sur deux sites en 3.0.20 et 3.1, ça génère des erreurs d’écriture de fichiers en pagaille :

    2015-11-30 12:20:25 xxx (pid 18185) ecrire/inc/flock.php:L284:ecrire_fichier()::Pub : !INFO : Ecriture fichier tmp/cache/chemin.txt impossible
    2015-11-30 12:20:25 xxx (pid 18185) ecrire/inc/flock.php:L284:ecrire_fichier()::Pub : !INFO : Ecriture fichier tmp/job_queue_next.txt impossible
    2015-11-30 12:20:29 xxx (pid 18239) ecrire/inc/flock.php:L284:ecrire_fichier()::Pub : !INFO : Ecriture fichier tmp/visites/df09b68d09 impossible
    2015-11-30 12:20:29 xxx (pid 18238) ecrire/inc/flock.php:L284:ecrire_fichier()::Pub : !INFO : Ecriture fichier tmp/job_queue_next.txt impossible

    Et le site public est inaccessible quand on est connecté (erreur de droits sur tmp/visites/...)

  • JavaCV RedHat Linux 6.6 x64 NoClassDefFound : Could not initialize class org.bytedeco.javacpp.avutil

    28 novembre 2015, par ChrisGeo

    I want to run a simple .flv to .mp4 conversion on a Linux machine

    Till now I was including the following dependencies and it was working fine on Ubuntu 12.x and CentOS

    <dependency>
      <groupid>org.bytedeco.javacpp-presets</groupid>
      <artifactid>ffmpeg</artifactid>
      <version>2.7.1-1.0</version>
      <classifier>linux-x86_64</classifier>
    </dependency>

    Red Hat uname -a

    x86_64 #1 SMP Tue Sep 16 01:56:35 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

    Red Hat lsb_release -a
    LSB Version:    :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
    Distributor ID: RedHatEnterpriseServer
    Description:    Red Hat Enterprise Linux Server release 6.6 (Santiago)
    Release:        6.6
    Codename:       Santiago

    CentOS uname -a

    .x86_64 #1 SMP Tue Nov 3 19:10:07 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

    However when trying it in RedHat Linux I get the following exceptions

    Application startup failed

    java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.avutil
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:270)
       at org.bytedeco.javacpp.Loader.load(Loader.java:390)
       at org.bytedeco.javacpp.Loader.load(Loader.java:358)
       at org.bytedeco.javacpp.avformat$AVFormatContext.<clinit>(avformat.java:2539)
       at org.bytedeco.javacv.FFmpegFrameGrabber.startUnsafe(FFmpegFrameGrabber.java:383)
       at org.bytedeco.javacv.FFmpegFrameGrabber.start(FFmpegFrameGrabber.java:377)
       at com.example.Application.convert(Application.java:53)
       at com.example.Application.run(Application.java:103)
       at org.springframework.boot.SpringApplication.runCommandLineRunners(SpringApplication.java:674)
       at org.springframework.boot.SpringApplication.afterRefresh(SpringApplication.java:693)
       at org.springframework.boot.SpringApplication.run(SpringApplication.java:322)
       at org.springframework.boot.SpringApplication.run(SpringApplication.java:969)
       at org.springframework.boot.SpringApplication.run(SpringApplication.java:958)
       at com.example.Application.main(Application.java:28)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)
       at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)
       at java.lang.Thread.run(Thread.java:745)
    </clinit>

    I tried with 32 bit version :

    <dependency>
      <groupid>org.bytedeco.javacpp-presets</groupid>
      <artifactid>ffmpeg</artifactid>
      <version>2.7.1-1.0</version>
      <classifier>linux-x86</classifier>
    </dependency>

    Same result.

    Then I tried with simply

    org.bytedeco
    javacv
    1.0

    and mvn package -Dplatform.dependencies=true so I got ALL dependencies.

    Still the same. Any one have an idea what I’m doing wrong ?

  • avconv - drawtext - apply filter for given time period

    29 novembre 2015, par user3304297

    I am on Ubuntu 15.10 (wily). I want to add a text to the video for the 1st 30sec. I can add video to the entire length of the video by using the following command

    $ avconv -i input.MTS -metadata title="my video" -vf "drawtext=fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    With ffmpeg there is an option drawtext=enable=between(t,0,30) but with avconv this is not a valid option.

    $ avconv -i 00054.MTS -metadata title="my video" -vf "drawtext=enable='between(t,0,30)':fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text='My Text':fontcolor=white@0.8:x=7:y=60:fontsize=36" -strict experimental out.mp4

    drawtext @ 0x18b8d20] No such option: enable.
    [AVFilterGraph @ 0x18c3000] Error initializing filter 'drawtext' with args 'enable=between(t,0,30):fontfile=/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf:text=My Text:fontcolor=white@0.8:x=7:y=60:fontsize=36'

    With avconv how can I add a text to the video for a given time period ?

    $ avconv --version
    avconv version 11.4-6:11.4-2ubuntu3, Copyright (c) 2000-2014 the Libav developers
     built on Aug 11 2015 07:00:13 with gcc 5.2.1 (Ubuntu 5.2.1-15ubuntu1) 20150808