Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (38)

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

  • Problems getting real width and height of videos

    1er mai 2022, par Eduardo

    I'm having a problem when I upload videos. The thing is that I record my videos with my cellphone in vertical way and when I download them to my computer or pass them through whatsapp they still look vertical, I can still watch them in vertical way as I recorded them, but when I try to upload them on my website using PHP and FFMPEG I always get horizontal resolutions.

    


    I use this command to get the width of my videos :

    


    $width = $video_attributes['width'] ;

    


    The variable $video_attributes is an array that comes from a FFMPEG function that returns an array with the data related to the video.

    


    Somebody could help me out with some ideas about what I'm doing wrong ?

    


    I need to get the vertical resolution so my videos will be displayed in vertical containers in my website.

    


    Thanks in advance :)

    


  • Convert AVStream PTS value to real time in seconds

    15 janvier 2015, par Kamlesh

    The below code snippet gets the PTS value of different frames from a video file

    AVStream *stream = avctx->streams[avpkt.stream_index];
    if ( 0 > ( err = avcodec_decode_video2 ( stream->codec, frame, &got_frame, &avpkt ) && got_frame ) )
    {
       int64_t pts = av_frame_get_best_effort_timestamp ( frame );
       pts = av_rescale_q ( pts,  stream->time_base, AV_TIME_BASE_Q );        
    }

    The PTS value that it returns are given below.

    • 66733
    • 100100
    • 133467

    Confusion is on the time format of the above values, whether they are in milliseconds or microseconds.
    Is there any other way to get a real time PTS values of the frames, as these will be required for subtitle rendering

  • What does ffmpeg error "Prediction is not allowed in AAC-LC" mean ?

    21 juin 2014, par user2212461

    When decoding AAC files, ffmpeg returns the error

    "Prediction is not allowed in AAC-LC".

    Does that mean the file is corrupt ? Or that ffmpeg cannot handle AAC-LC files ?

    I tried with different AAC files and get the errors :

    Number of scalefactor bands in group (63) exceeds limit (49).

    TNS filter order 25 is greater than maximum 12.

    So I guess its not my file that is corrupt but ffmpeg can only handle specific AAC formats ? Which would these be ?