Recherche avancée

Médias (91)

Autres articles (34)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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

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

Sur d’autres sites (8132)

  • Why VLC not display RTP stream

    5 janvier 2018, par Alexandr Lukovnikov

    I am new in RTP. I whant to start RTSP server on embeded device. Now I can whatching video file, that stored in flash memory. But when I start translate video, that encoded whith x264, VLC not display anything.
    Just buffering, nothing else

    core debug: `rtsp://172.16.50.194:1935/live1.sdp' successfully opened
    core debug: Buffering 0%
    packetizer_h264 debug: found NAL_SPS (sps_id=0)
    core debug: Stream buffering done (11 ms in 133 ms)
    core debug: Decoder wait done in 0 ms
    packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
    core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 30 ms)
    core error: ES_OUT_RESET_PCR called
    core debug: Buffering 0%
    core debug: Buffering 0%
    core debug: Buffering 0%
    core debug: Stream buffering done (111 ms in 706 ms)
    core debug: Decoder wait done in 0 ms
    core error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 594 ms)
    core error: ES_OUT_RESET_PCR called
    core debug: Buffering 0%
    ...
    core debug: Buffering 0%
    live555 warning: no data received in 10s, eof ?
    core debug: EOF reached

    That is Wireshark dump

    SPS slice

    1111 0100 = Profile_idc: Unknown (244)
    0... .... = Constraint_set0_flag: 0
    .0.. .... = Constraint_set1_flag: 0
    ..0. .... = Constraint_set2_flag: 0
    ...0 .... = Constraint_set3_flag: 0
    .... 0... = Constraint_set4_flag: 0
    .... .0.. = Constraint_set5_flag: 0
    .... ..00 = Reserved_zero_2bits: 0
    0000 1101 = Level_id: 13 [Level 1.3 768 kb/s]
    1... .... = seq_parameter_set_id: 0
    .001 00.. = log2_max_frame_num_minus4: 3
    .... ..01  1... .... = pic_order_cnt_type: 2
    .001 01.. = num_ref_frames: 4
    .... ..1. = gaps_in_frame_num_value_allowed_flag: 1
    .... ...0  10.. .... = pic_width_in_mbs_minus1: 1
    ..00 0001  0100 0... = pic_height_in_map_units_minus1: 39
    .... .0.. = frame_mbs_only_flag: 0
    .... ..0. = mb_adaptive_frame_field_flag: 0
    .... ...1 = direct_8x8_inference_flag: 1
    1... .... = frame_cropping_flag: 1
    .1.. .... = frame_crop_left_offset: 0
    ..1. .... = frame_crop_left_offset: 0
    ...1 .... = frame_crop_top_offset: 0
    .... 1... = frame_crop_bottom_offset: 0
    .... .0.. = vui_parameters_present_flag: 0
    .... ..1. = rbsp_stop_bit: 1
    .... ...0 = rbsp_trailing_bits: 0

    PPS slice

    1... .... = pic_parameter_set_id: 0
       .1.. .... = seq_parameter_set_id: 0
       ..0. .... = entropy_coding_mode_flag: 0
       ...0 .... = pic_order_present_flag: 0
       .... 1... = num_slice_groups_minus1: 0
       .... .1.. = num_ref_idx_l0_active_minus1: 0
       .... ..1. = num_ref_idx_l1_active_minus1: 0
       .... ...0 = weighted_pred_flag: 0
       00.. .... = weighted_bipred_idc: 0
       ..00 0010  110. .... = pic_init_qp_minus26(se(v)): 11
       ...1 .... = pic_init_qs_minus26: 0
       .... 1... = chroma_qp_index_offset: 0
       .... .1.. = deblocking_filter_control_present_flag: 1
       .... ..0. = constrained_intra_pred_flag: 0
       .... ...0 = redundant_pic_cnt_present_flag: 0
       1... .... = rbsp_stop_bit: 1
       .000 0000 = rbsp_trailing_bits: 0

    And SEI

    x264 - core 152 r2851 ba24899 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=10 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00

    What could be my mistake ?

  • Convert video with ffmpeg to have the same quality

    14 mai 2019, par zlon

    I want to make some present for my grandma. And prepare some video. Unfortunately here video player is old and could not read some file formats. She is not at home now, so I don’t know which player she has. But I have a file which is OK for here system :

    File which is in a correct format :

    General
    Complete name                            : let.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 688 MiB
    Duration                                 : 1 h 35 min
    Overall bit rate                         : 1 002 kb/s
    Writing application                      : VirtualDubMod 1.4.13
    Writing library                          : VirtualDub build 14328/release
    FileExtension_Invalid                    : avi

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Simple@L3
    Format settings, BVOP                    : No
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (H.263)
    Codec ID                                 : XVID
    Codec ID/Hint                            : XviD
    Duration                                 : 1 h 35 min
    Bit rate                                 : 800 kb/s
    Width                                    : 544 pixels
    Height                                   : 416 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.141
    Stream size                              : 549 MiB (80%)
    Writing library                          : XviD 0.0.09 (UTC 2003-03-25)

    I have the following file, which here system could not read :

    File in the incorrect format :

    General
    Complete name                            : amf.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    Overall bit rate                         : 2 167 kb/s

    Video
    ID                                       : 0
    Format                                   : MPEG-4 Visual
    Format profile                           : Advanced Simple@L5
    Format settings                          : BVOP1
    Format settings, BVOP                    : 1
    Format settings, QPel                    : No
    Format settings, GMC                     : No warppoints
    Format settings, Matrix                  : Default (MPEG)
    Codec ID                                 : DX50
    Codec ID/Hint                            : DivX 5
    Bit rate                                 : 1 710 kb/s
    Width                                    : 720 pixels
    Height                                   : 528 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 23.976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 0.188
    Stream size                              : 1.15 GiB (79%)
    Writing library                          : XviD 64

    Could you help me to convert the second file to a format of the first ? (It would be nice if the output would be of the similar quality)

    I have Ubuntu, and I think ffmpeg should be able to do it.

    CROSS POSTED FROM : SE Video production.

  • FFmpeg drops last frame with filter fps/framerate

    27 juin 2019, par Dzmitry

    When I convert the same mp4 video (mime:video/mp4, fps:25) with video filter fps with value 25 ffmpeg drops one (last ?) frame everytime.
    This is log :

    [h264 @ 0x7fc89ceb3cc0] Reinit context to 960x544, pix_fmt: yuv420p
    [h264 @ 0x7fc89cfb59c0] Reinit context to 960x544, pix_fmt: yuv420p
    [libx264 @ 0x7fc89cf932c0] using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX
    [libx264 @ 0x7fc89cf932c0] profile Constrained Baseline, level 5.1
    [libx264 @ 0x7fc89cf932c0] 264 - core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=8 lookahead_threads=8 sliced_threads=1 slices=8 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=12 keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=1.00 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [in @ 0x7fc89eeeda40] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
    [in @ 0x7fc89eeeda40] TB:0.000021 FRAME_RATE:nan SAMPLE_RATE:48000.000000
    [Parsed_aresample_1 @ 0x7fc89eeee9c0] ch:2 chl:stereo fmt:fltp r:48000Hz -> ch:2 chl:stereo fmt:fltp r:48000Hz
    [Parsed_asetnsamples_2 @ 0x7fc89eeede40] tb:0.000021 sample_rate:48000.000000 nb_channels:2.000000
    [Parsed_volume_3 @ 0x7fc89ef049c0] n:nan t:nan pts:nan precision:float volume:1.071519 volume_dB:0.600000
    [in @ 0x7fc89ef05d00] w:960 h:540 pixfmt:yuv420p tb:1/12800 fr:0/1 sar:0/1 sws_param:
    [Parsed_fps_0 @ 0x7fc89ef06a00] fps=25/1
    [Parsed_scale_2 @ 0x7fc89ef07780] w:960 h:540 flags:'bilinear' interl:0
    [Parsed_setsar_1 @ 0x7fc89ef06cc0] w:960 h:540 sar:0/1 dar:16/9 -> sar:1/1 dar:16/9
    [Parsed_scale_2 @ 0x7fc89ef07780] w:960 h:540 fmt:yuv420p sar:1/1 -> w:960 h:540 fmt:yuv420p sar:1/1 flags:0x2
    [h264 @ 0x7fc89d164c40] Reinit context to 960x544, pix_fmt: yuv420p
    [Parsed_fps_0 @ 0x7fc89ef06a00] Set first pts to 0

    [Parsed_fps_0 @ 0x7fc89ef06a00] 609 frames in, 608 frames out; 1 frames dropped, 0 frames duplicated.
    [libx264 @ 0x7fc89cf932c0] frame I:61    Avg QP:18.67  size: 44710
    [libx264 @ 0x7fc89cf932c0] frame P:547   Avg QP:21.44  size: 19455
    [libx264 @ 0x7fc89cf932c0] mb I  I16..4:  4.6%  0.0% 95.4%
    [libx264 @ 0x7fc89cf932c0] mb P  I16..4:  3.9%  0.0%  7.9%  P16..4: 43.2% 27.9% 12.9%  0.0%  0.0%    skip: 4.3%
    [libx264 @ 0x7fc89cf932c0] coded y,uvDC,uvAC intra: 77.9% 90.3% 36.3% inter: 36.2% 46.0% 2.6%
    [libx264 @ 0x7fc89cf932c0] i16 v,h,dc,p: 23% 35% 28% 14%
    [libx264 @ 0x7fc89cf932c0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 23% 17%  6%  7%  6%  7%  5%  5%
    [libx264 @ 0x7fc89cf932c0] i8c dc,h,v,p: 53% 20% 19%  8%
    [libx264 @ 0x7fc89cf932c0] kb/s:4397.76
    [aac @ 0x7fc89edc6c00] Qavg: 642.230

    I’ve already tried to modify filter with parameters round=up/near/down:eof_action=pass/round

    ffmpeg -i input.mp4 -c:v libx264 -filter:v fps=fps=25 output.mp4

    I expect to get converted videos without dropped frames.