Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

Sur d’autres sites (14070)

  • PHP ffmpeg not found

    17 décembre 2020, par heisenberg

    so I already browse all the forum but I still get error "sh : 1 : /usr/bin/ffmpeg : not found".
If I run ffmpeg from terminal it works just fine and can do convert video without problem, but if I use PHP exec or shell_exec, the return always ffmpeg not found.

    


    this is my code :

    


    $cmd = "/usr/bin/ffmpeg";

$run = exec($cmd." -i 'linkvideo.m3u8' -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 /test_stream/newfile.mp4 2>&1");

var_dump($run);


    


    if I run which ffmpeg or whereis ffmpeg from terminal it will return /usr/bin/ffmpeg, but if I exec('which ffmpeg') from my code it will return ffmpeg not found. I already chown and chmod the ffmpeg to grant rwx, i tried move ffmpeg to /usr/local/bin still same result. If i run whoami from terminal it will show root but if from my code using exec('whoami') it will show www-data so maybe I miss something about the user but I also already tried to chown ffmpeg from root to www-data still the result is ffmpeg not found, maybe anyone can help, I'm using codeigniter and already install ffmpeg in server using sudo apt-get ffmpeg, thanks before !

    


  • Skiping MP4 video

    30 avril 2013, par M.Yazdian

    I like to create the video player to show videos on my website. I made a video player in flash CS5 and actionscript3 to stream the videos on the website.

    My videos are often flv or mp4 format.
    In the flv files I use flvmdi app to inject the metadata to that ,and for skipping the flv file I use xmoov-php (video player can pass the keyframe number from flv metadat to xmoov-php to create the new flv file from passed keyframe to the last flv keyframe, and return the flv video file on the php header for flash video player to show the video ).

    but about mp4 format in Xmoov-php wiki it says :
    this file can't support the mp4 format to skiping...!!!
    Now I need skiping the mp4 files in my video player (I like my viewers select a part of video before buffering all video on their browser and play it ).

    please give me a suggestion to skiping the mp4 file in the php or .net platform
    Many thanks

  • CoreAudio : how to retrieve actual sampling rate of raw data ?

    13 août 2014, par jyavenard

    When attempting to play AAC-HE content in an mp4 container, the reported sampling rate found in the mp4 container appears to be half of the actual sampling rate.

    E.g it appears as 24kHz instead of 48kHz.

    Using the FFmpeg AAC decoder, retrieving the actual sampling rate can be done by simply decoding an audio packet using

    avcodec_decode_audio4

    And looking at AVCodecContext::sample_rate which will be updated appropriately. From that it’s easy to adapt the output.

    With CoreAudio decoder, I would use a AudioConverterRef set the input and output AudioStreamBasicDescription
    and call AudioConverterFillComplexBuffer

    As the converter performs all the required internal conversion including resampling it’s fine. But it plays the content after resampling it to 24kHz (as that’s what the input AudioStreamBasicDescription contains.

    Would there be a way to retrieve the actual sampling rate as found be the decoder (rather than the demuxer) in a similar fashion as one can with FFmpeg ?

    Would prefer to avoid losing audio quality if at all possible, and not downmix data

    Thanks