Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (24)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

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

  • ffmpeg.so in PHP exec converting and no return

    13 juin 2015, par Tom

    I have seen many threads, but none working ones, so this is my issue :

    I have server installed ffmpeg (ffmpeg-php version 0.7.0, PHP Version 5.4.41) Linux CentOS 6 64bit :

    Using PHP :

    exec('/usr/lib64/php/modules/ffmpeg.so -i test.mp4 testdone.avi',$out,$ret);

    or

    exec('/usr/lib64/php/modules/ffmpeg.so -i /var/www/html/test.mp4 /var/www/html/testdone.avi',$out,$ret);

    or

    exec('/usr/lib64/php/modules/ffmpeg.so -i /var/www/html/test.mp4 /var/www/html/testdone.avi'.' 2>&1',$out,$ret);  

    the ffmpeg is actually found, but always returns : array(0) { } int(11) and with 2>&1 returns array(0) { } int(139) and does not return anything else like testdone.avi in the directory or -version (in the directory). Directories /var/www/html/ are set to 777.

    Thank you, should I hire someone to fix this or am I missing something in PHP.

  • FFmpeg os.system commands not working but work in Terminal

    28 janvier 2020, par Oscar Dolloway

    I’ve downloaded ffmpeg through the website and ran some commands through the terminal to confirm its install.

    when running the command ’ffmpeg’ in the Terminal it returns

    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg
    developers
    built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)

    if i type into Python

    import os
    os.system ('ffmpeg')

    it returns

    os.system ('ffmpeg')
    sh: ffmpeg: command not found
    Out[25]: 32512

    any ideas ?

    Solution :

    ffmpeg = '/bin/ffmpeg' #path to the binary file

    os.system(ffmpeg)

    Output :

    os.system (ffmpeg)
    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
    built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
  • Read H264 streaming from Elp H264 with OpenCV + Python

    3 février 2017, par Francesco Paissan

    I’m trying to read an udp streaming of a H264 encoded image. The software structure is like follows :

    On a BeagleBoneBlack (Ubuntu 16.04) I’ve an Elp H264 cam (see here : https://www.amazon.com/ELP-Support-Android-Windows-Surveillance/dp/B00VDSBH9G ). I stream frames with ffmpeg on a Unicast UDP Stream.

    I want to read this images from python and opencv to be able to process them.

    I tried with this simple code to see if the cap is opened or not :

    import cv2
    try:
        cap = cv2.VideoCapture("udp://localhost:1234/")
       cap.set(CV_CAP_PROP_FOURCC, CV_FOURCC('H', '2', '6', '4'));
    except Exception, e:
       print str(e)

    But when I run this script python says :

    DtsGetHWFeatures : Create File Failed DtsGetHWFeatures : Create File
    Failed Running DIL (3.22.0) Version DtsDeviceOpen : Opening HW in mode
    0 DtsDeviceOpen : Create File Failed libva info : VA-API version 0.38.1
    libva info : va_getDriverName() returns -1 libva error :
    va_getDriverName() failed with unknown libva error,driver_name=(null)
    libva info : VA-API version 0.38.1 libva info : va_getDriverName()
    returns -1 libva error : va_getDriverName() failed with unknown libva
    error,driver_name=(null) libva info : VA-API version 0.38.1 libva info :
    va_getDriverName() returns -1 libva error : va_getDriverName() failed
    with unknown libva error,driver_name=(null) libva info : VA-API version
    0.38.1 libva info : va_getDriverName() returns -1 libva error : va_getDriverName() failed with unknown libva error,driver_name=(null)
    GStreamer Plugin : Embedded video playback halted ; module vaapidecode
    reported : Could not initialize supporting library. OpenCV
    Error : Unspecified error (GStreamer : unable to start pipeline ) in
    cvCaptureFromCAM_GStreamer, file /builddir/build/BUILD/opencv-
    2.4.12.3/modules/highgui/src/cap_gstreamer.cpp, line 816 /builddir/build/BUILD/opencv-2.4.12.3/modules/highgui/src/cap_gstreamer.cpp:816 :
    error : (-2) GStreamer : unable to start pipeline in function
    cvCaptureFromCAM_GStreamer

    Can anybody help me ?

    Thanks,

    Francesco.