Recherche avancée

Médias (1)

Mot : - Tags -/karaoke

Autres articles (61)

  • 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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • doc/protocols : Re-order HTTP options to match http.c order

    22 avril 2024, par Derek Buitenhuis
    doc/protocols : Re-order HTTP options to match http.c order
    

    This makes the list easier to maintain.

    Signed-off-by : Derek Buitenhuis <derek.buitenhuis@gmail.com>

    • [DH] doc/protocols.texi
  • PHP FFMPEG match the Instagram Video Requirements

    19 février 2021, par Linesofcode

    This are the Instagram requirements in order to upload a video :

    &#xA;

    - Container: MOV or MP4 (MPEG-4 Part 14), no edit lists, moov atom at the front of the file.&#xA;- Audio codec: AAC, 48khz sample rate maximum, 1 or 2 channels (mono or stereo).&#xA;- Video codec: HEVC or H264, progressive scan, closed GOP, 4:2:0 chroma subsampling.&#xA;- Frame rate: 23-60 FPS.&#xA;- Picture size:&#xA;  - Maximum columns (horizontal pixels): 1920&#xA;  - Minimum aspect ratio [cols / rows]: 4 / 5&#xA;  - Maximum aspect ratio [cols / rows]: 16 / 9&#xA;  - Video bitrate: VBR, 5Mbps maximum&#xA;- Audio bitrate: 128kbps&#xA;- Duration: 60 seconds maximum, 3 seconds minimum&#xA;- File size: 100MB maximum&#xA;

    &#xA;

    I'm using the https://github.com/PHP-FFMpeg/PHP-FFMpeg library and I'm able to get the metadata of the video this way :

    &#xA;

    $ffprobe = \FFMpeg\FFProbe::create();&#xA;$video = $ffprobe->streams(&#x27;my_sample_video.mp4&#x27;)->videos()->first();&#xA;$audio = $ffprobe->streams(&#x27;my_sample_video.mp4&#x27;)->audios()->first();&#xA;

    &#xA;

    Printing $video & $audio returns respectively the following data :

    &#xA;

    --- video ---&#xA;[index] => 0&#xA;[codec_name] => h264&#xA;[codec_long_name] => H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10&#xA;[profile] => Baseline&#xA;[codec_type] => video&#xA;[codec_time_base] => 1/1200&#xA;[codec_tag_string] => avc1&#xA;[codec_tag] => 0x31637661&#xA;[width] => 848&#xA;[height] => 480&#xA;[coded_width] => 848&#xA;[coded_height] => 480&#xA;[has_b_frames] => 0&#xA;[sample_aspect_ratio] => 0:1&#xA;[display_aspect_ratio] => 0:1&#xA;[pix_fmt] => yuv420p&#xA;[level] => 31&#xA;[color_range] => tv&#xA;[color_space] => bt709&#xA;[color_transfer] => bt709&#xA;[color_primaries] => bt709&#xA;[chroma_location] => left&#xA;[refs] => 1&#xA;[is_avc] => 1&#xA;[nal_length_size] => 4&#xA;[r_frame_rate] => 25/1&#xA;[avg_frame_rate] => 25/1&#xA;[time_base] => 1/600&#xA;[start_pts] => 0&#xA;[start_time] => 0.000000&#xA;[duration_ts] => 57888&#xA;[duration] => 96.480000&#xA;[bit_rate] => 1436391&#xA;[bits_per_raw_sample] => 8&#xA;[nb_frames] => 2412&#xA;&#xA;--- audio ---&#xA;[index] => 1&#xA;[codec_name] => aac&#xA;[codec_long_name] => AAC (Advanced Audio Coding)&#xA;[profile] => LC&#xA;[codec_type] => audio&#xA;[codec_time_base] => 1/44100&#xA;[codec_tag_string] => mp4a&#xA;[codec_tag] => 0x6134706d&#xA;[sample_fmt] => fltp&#xA;[sample_rate] => 44100&#xA;[channels] => 2&#xA;[channel_layout] => stereo&#xA;[bits_per_sample] => 0&#xA;[r_frame_rate] => 0/0&#xA;[avg_frame_rate] => 0/0&#xA;[time_base] => 1/44100&#xA;[start_pts] => 0&#xA;[start_time] => 0.000000&#xA;[duration_ts] => 4255744&#xA;[duration] => 96.502132&#xA;[bit_rate] => 62026&#xA;[max_bit_rate] => 64000&#xA;[nb_frames] => 4156&#xA;

    &#xA;

    Some things are easy to verify like the Video Codec, Audio Codec & Duration, but how to I manage to verify the rest ?

    &#xA;

    I also noticed that all the MP4 & MOV video samples I use, the metadata of codec_long_name always returns "MPEG-4 part 10" and the requirement is "MPEG-4 Part 14".

    &#xA;

  • os.environ['PATH'] doesn't match echo %PATH%

    10 février 2018, par Sergey

    I have PATH variable set for ffmpeg which I tested with CMD command echo %PATH% but Python’s os.environ['PATH'] doesn’t contain registry of it. I’m using Jupyter notebook on Windows.