Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (106)

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (9298)

  • H.264 encoded stream in MP4 container does not play right in WMP12 Windows 7

    13 décembre 2019, par remus

    I’d like to figure out why my H.264 encoded stream in a MP4 container does not play back correctly in Window Media Player 12 in Windows 7. The file plays well in VLC and other players including WMP from Windows 10 but I’m just wondering why WMP12 from Win 7 does not play it.

    It seems that only I-type frames are displayed and blank black frames are shown instead of all P-type frames in between. If I force my device encoder to produce only I-type frames then the file plays back ok in WMP12 (Win 7) but the size of the file increases too much. What are the limits of H.264 decoder in Windows 7 ?

    I’m adding below ffprobe -show_frames video.mp4 (just a few frames but there are no reported errors by ffprobe) :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.83.100
     Duration: 00:00:05.51, start: 0.024000, bitrate: 513 kb/s
       Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x480, 510 kb/s, 30.11 fps, 59.94 tbr, 90k tbn, 180k tbc (default)
       Metadata:
         handler_name    : VideoHandler
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=1
    pkt_pts=2160
    pkt_pts_time=0.024000
    pkt_dts=2160
    pkt_dts_time=0.024000
    best_effort_timestamp=2160
    best_effort_timestamp_time=0.024000
    pkt_duration=2340
    pkt_duration_time=0.026000
    pkt_pos=48
    pkt_size=2979
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=I
    coded_picture_number=0
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=4500
    pkt_pts_time=0.050000
    pkt_dts=4500
    pkt_dts_time=0.050000
    best_effort_timestamp=4500
    best_effort_timestamp_time=0.050000
    pkt_duration=4320
    pkt_duration_time=0.048000
    pkt_pos=3027
    pkt_size=1662
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=1
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=8820
    pkt_pts_time=0.098000
    pkt_dts=8820
    pkt_dts_time=0.098000
    best_effort_timestamp=8820
    best_effort_timestamp_time=0.098000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=4689
    pkt_size=1073
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=2
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=11880
    pkt_pts_time=0.132000
    pkt_dts=11880
    pkt_dts_time=0.132000
    best_effort_timestamp=11880
    best_effort_timestamp_time=0.132000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=5762
    pkt_size=829
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=3
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=14850
    pkt_pts_time=0.165000
    pkt_dts=14850
    pkt_dts_time=0.165000
    best_effort_timestamp=14850
    best_effort_timestamp_time=0.165000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=6591
    pkt_size=987
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=4
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=17910
    pkt_pts_time=0.199000
    pkt_dts=17910
    pkt_dts_time=0.199000
    best_effort_timestamp=17910
    best_effort_timestamp_time=0.199000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=7578
    pkt_size=1344
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=5
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=20880
    pkt_pts_time=0.232000
    pkt_dts=20880
    pkt_dts_time=0.232000
    best_effort_timestamp=20880
    best_effort_timestamp_time=0.232000
    pkt_duration=2970
    pkt_duration_time=0.033000
    pkt_pos=8922
    pkt_size=1850
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=6
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]
    [FRAME]
    media_type=video
    stream_index=0
    key_frame=0
    pkt_pts=23850
    pkt_pts_time=0.265000
    pkt_dts=23850
    pkt_dts_time=0.265000
    best_effort_timestamp=23850
    best_effort_timestamp_time=0.265000
    pkt_duration=3060
    pkt_duration_time=0.034000
    pkt_pos=10772
    pkt_size=1972
    width=720
    height=480
    pix_fmt=yuv420p
    sample_aspect_ratio=N/A
    pict_type=P
    coded_picture_number=7
    display_picture_number=0
    interlaced_frame=0
    top_field_first=0
    repeat_pict=0
    [/FRAME]

    Please let me know if you spot any errors in these frames that might affect playback.

    The encoded H.264 stream is created using Freescale libimxvpuapi and the MP4 container using ffmpeg.

    More information on the file :

    exiftool video.mp4
    ExifTool Version Number         : 10.10
    File Name                       : video.mp4
    Directory                       : .
    File Size                       : 346 kB
    File Modification Date/Time     : 2018:10:02 11:27:20+02:00
    File Access Date/Time           : 2018:10:02 11:41:14+02:00
    File Inode Change Date/Time     : 2018:10:02 11:27:21+02:00
    File Permissions                : rw-r--r--
    File Type                       : MP4
    File Type Extension             : mp4
    MIME Type                       : video/mp4
    Major Brand                     : MP4  Base Media v1 [IS0 14496-12:2003]
    Minor Version                   : 0.2.0
    Compatible Brands               : isom, iso2, avc1, mp41
    Movie Data Size                 : 351479
    Movie Data Offset               : 48
    Movie Header Version            : 0
    Create Date                     : 0000:00:00 00:00:00
    Modify Date                     : 0000:00:00 00:00:00
    Time Scale                      : 1000
    Duration                        : 5.51 s
    Preferred Rate                  : 1
    Preferred Volume                : 100.00%
    Preview Time                    : 0 s
    Preview Duration                : 0 s
    Poster Time                     : 0 s
    Selection Time                  : 0 s
    Selection Duration              : 0 s
    Current Time                    : 0 s
    Next Track ID                   : 2
    Track Header Version            : 0
    Track Create Date               : 0000:00:00 00:00:00
    Track Modify Date               : 0000:00:00 00:00:00
    Track ID                        : 1
    Track Duration                  : 5.51 s
    Track Layer                     : 0
    Track Volume                    : 0.00%
    Matrix Structure                : 1 0 0 0 1 0 0 0 1
    Image Width                     : 720
    Image Height                    : 480
    Media Header Version            : 0
    Media Create Date               : 0000:00:00 00:00:00
    Media Modify Date               : 0000:00:00 00:00:00
    Media Time Scale                : 90000
    Media Duration                  : 5.51 s
    Media Language Code             : und
    Handler Description             : VideoHandler
    Graphics Mode                   : srcCopy
    Op Color                        : 0 0 0
    Compressor ID                   : avc1
    Source Image Width              : 720
    Source Image Height             : 480
    X Resolution                    : 72
    Y Resolution                    : 72
    Bit Depth                       : 24
    Video Frame Rate                : 30.109
    Handler Type                    : Metadata
    Handler Vendor ID               : Apple
    Encoder                         : Lavf57.83.100
    Avg Bitrate                     : 510 kbps
    Image Size                      : 720x480
    Megapixels                      : 0.346
    Rotation                        : 0

    Many thanks !

    Please find a video sample here :

    https://www.dropbox.com/s/zehqgqhd8ychy0t/video.mp4?dl=0

  • ffmpeg contact.txt ( remote files) re-encode -flv - Freeze while jump to second file

    7 janvier 2019, par user3787734

    Stream work smothly while on first contact input file from .txt file, it get stuck on second file no packet send or push to output.

    its says : [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fd9ac800800] Auto-inserting h264_mp4toannexb bitstream filter98x

    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fbbbc807400] Auto-inserting h264_mp4toannexb bitstream filter92x
    frame= 1597 fps= 23 q=23.0 size= 15308kB time=00:01:03.57 bitrate=1972.5kbits/s speed=0.923x

    after that just fps,speed value changes but no data submit to host, seem to be some pre-buffer issue any one have idea ?

    video_5c3112bee7179a7d123fa8a4.txt :
    file ’https://hostname.com/file1.mp4
    inpoint 00:02:01.000
    outpoint 00:03:05.000
    file ’https://hostname.com/file2.mp4
    inpoint 00:02:20.000
    outpoint 00:03:10.000

    ffmpeg -f concat -safe 0 -protocol_whitelist file,http,tcp,concat,https,tls, -re -i "/temp/video_5c3112bee7179a7d123fa8a4.txt" -codec:a aac -ac 1 -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v high -s 1280x720 -vb 2000k -maxrate 2000k -minrate 2000k -bufsize 600k -deinterlace -vcodec libx264 -preset ultrafast -g 30 -r 30 -strict -2 -f flv "rtmp ://hostname/live/app/"

  • Smooth scale animation in ffmpeg

    3 août 2018, par Makes

    How can I smooth the animations of scale ?

    ffmpeg -i bg.mp4 -loop 1 -i blank.png -filter_complex "[1:v]drawtext=fontfile=ariblk.ttf:text=EXAMPLE:x=(main_w-text_w)/2:y=(main_h-max_glyph_a)/2:fontcolor=0xFFFFFF:fontsize=200:alpha=1[txt];[txt]sendcmd=f=data.cmd,scale=w=0:h=-1[txtscale];[0:v][txtscale]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:shortest=1" preview.mp4

    Video resolution 1280 * 720 -> scale w = ’12.8 * X’, X - scale value (data from the After Effects)

    data.cmd

    0   scale w '   12.8*   72  '; 0.040    scale w '   12.8*   72.3944 '; 0.080    scale w '   12.8*   72.7887 '; 0.120    scale w '   12.8*   73.1831 '; 0.160    scale w '   12.8*   73.5775 '; 0.200    scale w '   12.8*   73.9718 '; 0.240    scale w '   12.8*   74.3662 '; 0.280    scale w '   12.8*   74.7606 '; 0.320    scale w '   12.8*   75.1549 '; 0.360    scale w '   12.8*   75.5493 '; 0.400    scale w '   12.8*   75.9437 '; 0.440    scale w '   12.8*   76.338  '; 0.480    scale w '   12.8*   76.7324 '; 0.520    scale w '   12.8*   77.1268 '; 0.560    scale w '   12.8*   77.5211 '; 0.600    scale w '   12.8*   77.9155 '; 0.640    scale w '   12.8*   78.3099 '; 0.680    scale w '   12.8*   78.7042 '; 0.720    scale w '   12.8*   79.0986 '; 0.760    scale w '   12.8*   79.493  '; 0.800    scale w '   12.8*   79.8873 '; 0.840    scale w '   12.8*   80.2817 '; 0.880    scale w '   12.8*   80.6761 '; 0.920    scale w '   12.8*   81.0704 '; 0.960    scale w '   12.8*   81.4648 '; 1.000    scale w '   12.8*   81.8592 '; 1.040    scale w '   12.8*   82.2535 '; 1.080    scale w '   12.8*   82.6479 '; 1.120    scale w '   12.8*   83.0423 '; 1.160    scale w '   12.8*   83.4366 '; 1.200    scale w '   12.8*   83.831  '; 1.240    scale w '   12.8*   84.2254 '; 1.280    scale w '   12.8*   84.6197 '; 1.320    scale w '   12.8*   85.0141 '; 1.360    scale w '   12.8*   85.4085 '; 1.400    scale w '   12.8*   85.8028 '; 1.440    scale w '   12.8*   86.1972 '; 1.480    scale w '   12.8*   86.5915 '; 1.520    scale w '   12.8*   86.9859 '; 1.560    scale w '   12.8*   87.3803 '; 1.600    scale w '   12.8*   87.7746 '; 1.640    scale w '   12.8*   88.169  '; 1.680    scale w '   12.8*   88.5634 '; 1.720    scale w '   12.8*   88.9577 '; 1.760    scale w '   12.8*   89.3521 '; 1.800    scale w '   12.8*   89.7465 '; 1.840    scale w '   12.8*   90.1408 '; 1.880    scale w '   12.8*   90.5352 '; 1.920    scale w '   12.8*   90.9296 '; 1.960    scale w '   12.8*   91.3239 '; 2.000    scale w '   12.8*   91.7183 '; 2.040    scale w '   12.8*   92.1127 '; 2.080    scale w '   12.8*   92.507  '; 2.120    scale w '   12.8*   92.9014 '; 2.160    scale w '   12.8*   93.2958 '; 2.200    scale w '   12.8*   93.6901 '; 2.240    scale w '   12.8*   94.0845 '; 2.280    scale w '   12.8*   94.4789 '; 2.320    scale w '   12.8*   94.8732 '; 2.360    scale w '   12.8*   95.2676 '; 2.400    scale w '   12.8*   95.662  '; 2.440    scale w '   12.8*   96.0563 '; 2.480    scale w '   12.8*   96.4507 '; 2.520    scale w '   12.8*   96.8451 '; 2.560    scale w '   12.8*   97.2394 '; 2.600    scale w '   12.8*   97.6338 '; 2.640    scale w '   12.8*   98.0282 '; 2.680    scale w '   12.8*   98.4225 '; 2.720    scale w '   12.8*   98.8169 '; 2.760    scale w '   12.8*   99.2113 '; 2.800    scale w '   12.8*   99.6056 '; 2.840    scale w '   12.8*   100 ';

    enter image description here