Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (59)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (10849)

  • ffmpeg UDP stream video play in c# mediaplayer

    21 octobre 2020, par choi

    enter image description here

    


    I want to display the video in C# by mediaplayer or other methods of the part of the captured screen executed by ffplay. Is there any way ?

    


  • Play MPEG-CENC encrypted local file on android

    26 mai 2018, par rd7773

    I need to decrypt and play a cenc-aes-ctr mp4 video on the fly which is locally stored on the device.
    The video was encrypted at server end by using following ffmpeg command and then downloaded to phone :

    ffmpeg -i SampleVideo_1280x720_1mb.mp4 -vcodec copy -acodec copy -encryption_scheme cenc-aes-ctr -encryption_key 76a6c65c5ea762046bd749a2e632ccbb -encryption_kid a7e61c373e219033c21091fa607bf3b8 SampleVideo_1280x720_1mb_encrypted.mp4

    It is successfully getting played with ffmpeg command :

    ffplay SampleVideo_1280x720_1mb_encrypted.mp4 -decryption_key 76a6c65c5ea762046bd749a2e632ccbb

    But I do not want to use ffmpeg in android so I am using libeasy library which creates a local http server to make a stream of offline video and then decrypt it on the fly using Cipher. The Cipher which is provided to the LocalHttpServer for decryption process, needs the initialisation vector (iv) for CTR mode which is not externally available to us.
    From above command it is clear that ffmpeg doesn’t require the IV for encryption or decryption to be passed but i guess internally it uses 8 byte random iv.

    This is how i am creating Cipher to pass to LocalHttpServer :

    final Cipher c = Cipher.getInstance("AES/CTR/NoPadding","BC);
    c.init(Cipher.DECRYPT_MODE, new SecretKeySpec(hexStringToBytes("76a6c65c5ea762046bd749a2e632ccbb"), "AES"), new IvParameterSpec(new byte[16]));

    So my question is, what value of iv should i pass in this case to Cipher ? My basic requirement is to play a offline MPEG-CENC encrypted mp4 video stored on device.
    Keeping in mind my very limited knowledge of cryptography, references to any library that provides such implementation with or without any tweaks is welcomed.

  • How can I debug this rtmp stream ? It wont play on Vlc, and logs show no error

    12 avril 2020, par SquirrelSenpai

    I am creating a rtmp stream using FFMPEG and sending the data to local NGINX server with the RTMP module.

    



    When playing the stream in VLC I am unable to hear any music. Have I missed something ?

    



    No FFMPEG errors according to logs

    



    fmpeg -hide_banner -loglevel warning -i http://x.x.x.x:8138 -f mp3 rtmp://localhost/live


    



    To test VLC >> Open Network Stream >> rtmp ://localhost/live

    



    Nginx.conf

    



    worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;

events {
        worker_connections 768;
        # multi_accept on;
}

rtmp_auto_push on;

rtmp{

        server{

                listen 1935;

                application live {

                        # enable live streaming
                        live on;
                        record off;

                        # publish only from localhost
                        allow publish all;
                        allow play all;

                }

        }

}