Recherche avancée

Médias (91)

Autres articles (111)

  • 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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (8701)

  • ffmpeg minimal requirements configuration for encoding and decoding h264 files

    14 novembre 2013, par TheSquad

    I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264.

    So far my command line configuration is :

    ./configure --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file

    once compiled, I try this :

    ./ffmpeg -i ~/Dropbox/TestFile.mov -vcodec libx264 test.mp4

    but I get an error :

     ffmpeg version N-58081-g2925571 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov 14 2013 15:49:58 with Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn)
     configuration: --disable-yasm --disable-everything --enable-encoder=libx264 --enable-encoder=libfaac --enable-decoder=h264 --enable-muxer=h264 --enable-demuxer=h264 --enable-parser=h264 --enable-protocol=file
     libavutil      52. 52.100 / 52. 52.100
     libavcodec     55. 43.100 / 55. 43.100
     libavformat    55. 21.100 / 55. 21.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 91.100 /  3. 91.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mGs/Dropbox/TestFile.mov':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2013-06-23 14:33:09
       model           : iPhone 4S
       model-fra       : iPhone 4S
       encoder         : 6.0
       encoder-fra     : 6.0
       date            : 2013-06-23T16:33:09+0200
       date-fra        : 2013-06-23T16:33:09+0200
       make            : Apple
       make-fra        : Apple
     Duration: 00:00:42.09, start: 0.000000, bitrate: 20960 kb/s
       Stream #0:0(und): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 20880 kb/s, 29.97 fps, 29.97 tbr, 600 tbn, 1200 tbc (default)
       Metadata:
         rotate          : 180
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, mono, 63 kb/s (default)
       Metadata:
         creation_time   : 2013-06-23 14:33:09
         handler_name    : Core Media Data Handler
    [NULL @ 0x7fd999802e00] Unable to find a suitable output format for 'test.mp4'
    test.mp4: Invalid argument

    This is probably coming from the fact that I have forgot something to enable on the ffmpeg configuration... But I can't found out what.

    The test file is a video got from iPhone 4S Camera.

  • avcodec/vp56 : Implement very basic error concealment

    25 février 2017, par Michael Niedermayer
    avcodec/vp56 : Implement very basic error concealment
    

    This should fix the fate failure due to a truncated last frame.
    Alternatively the frame could be dropped.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/vp56.c
    • [DH] tests/ref/fate/vp5
  • 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;