Recherche avancée

Médias (0)

Mot : - Tags -/page unique

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

Autres articles (80)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

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

  • Convert images into video

    24 septembre 2017, par Disha Shukla

    I have some images in the folder. I want to convert all images into videos. But the problem is that when the resolution is different it shows the error. I don’t want to stretch the images in the video. I just want to keep image size as it is. But it shows this error.

    My Command :

    ffmpeg -framerate 1/3 -pattern_type glob -i "images/*.jpg" -i trinity.MP3 -shortest -c:v libx264 -r 30 -vf "scale=iw*sar:ih , pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" -aspect 16:9 -pix_fmt yuv420p out.mp4 -y

    Logs :

    [mjpeg @ 0x6b3820] Changeing bps to 8
    Input #0, image2, from 'images/*.jpg':
     Duration: 00:00:24.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 0.33 fps, 0.33 tbr, 0.33 tbn, 0.33 tbc
    [mp3 @ 0x6b4ca0] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'trinity.MP3':
     Metadata:
       encoded_by      : Lavf52.9.0
     Duration: 00:09:02.35, start: 0.000000, bitrate: 128 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    [swscaler @ 0x68a3c0] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x6bada0] using SAR=1/1
    [libx264 @ 0x6bada0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    [libx264 @ 0x6bada0] profile High, level 3.1
    [libx264 @ 0x6bada0] 264 - core 142 r2438 af8e768 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=3 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
    Output #0, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf56.25.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc56.26.100 libx264
       Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s
       Metadata:
         encoder         : Lavc56.26.100 libfaac
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
     Stream #1:0 -> #0:1 (mp3 (native) -> aac (libfaac))
    Press [q] to stop, [?] for help
    Input stream #0:0 frame changed from size:1280x720 fmt:yuvj420p to size:596x913 fmt:yuvj420p
    [Parsed_pad_1 @ 0x697940] Input area 512:0:1108:913 not within the padded area 0:0:1622:912 or zero-sized
    [Parsed_pad_1 @ 0x697940] Failed to configure input pad on Parsed_pad_1

    Is there any way to keep resolution as it is and make a video of all images ?

  • Covert images into video

    16 août 2016, par Disha Shukla

    I have some images in the folder. I want to convert all images into videos. But the problem is that when the resolution is different it shows the error. I don’t want to stretch the images in the video. I just want to keep image size as it is. But it shows this error.

    My Command :

    ffmpeg -framerate 1/3 -pattern_type glob -i "images/*.jpg" -i trinity.MP3 -shortest -c:v libx264 -r 30 -vf "scale=iw*sar:ih , pad=max(iw\,ih*(16/9)):ow/(16/9):(ow-iw)/2:(oh-ih)/2" -aspect 16:9 -pix_fmt yuv420p out.mp4 -y

    Logs :

    [mjpeg @ 0x6b3820] Changeing bps to 8
    Input #0, image2, from 'images/*.jpg':
     Duration: 00:00:24.00, start: 0.000000, bitrate: N/A
       Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1280x720 [SAR 1:1 DAR 16:9], 0.33 fps, 0.33 tbr, 0.33 tbn, 0.33 tbc
    [mp3 @ 0x6b4ca0] Estimating duration from bitrate, this may be inaccurate
    Input #1, mp3, from 'trinity.MP3':
     Metadata:
       encoded_by      : Lavf52.9.0
     Duration: 00:09:02.35, start: 0.000000, bitrate: 128 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
    [swscaler @ 0x68a3c0] deprecated pixel format used, make sure you did set range correctly
    [libx264 @ 0x6bada0] using SAR=1/1
    [libx264 @ 0x6bada0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
    [libx264 @ 0x6bada0] profile High, level 3.1
    [libx264 @ 0x6bada0] 264 - core 142 r2438 af8e768 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=3 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
    Output #0, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf56.25.101
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc56.26.100 libx264
       Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s
       Metadata:
         encoder         : Lavc56.26.100 libfaac
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
     Stream #1:0 -> #0:1 (mp3 (native) -> aac (libfaac))
    Press [q] to stop, [?] for help
    Input stream #0:0 frame changed from size:1280x720 fmt:yuvj420p to size:596x913 fmt:yuvj420p
    [Parsed_pad_1 @ 0x697940] Input area 512:0:1108:913 not within the padded area 0:0:1622:912 or zero-sized
    [Parsed_pad_1 @ 0x697940] Failed to configure input pad on Parsed_pad_1

    Is there any way to keep resolution as it is and make a video of all images ?

    Thank You !

  • Using ffmpeg for stream encryption by srtp in windows

    11 avril 2015, par user3248865

    I have been trying to make encrypted stream via ffmpeg and I´ve found srtp support in this library (ffmpeg documentation). Unfortunately, it seems that encryption doesn´t work at all. I´m using the following command to send stream :

    ffmpeg -re -i "output.mpg" -vcodec libx264 -f flv "srtp://192.168.0.100:7777?srtp_out_suite=AES_CM_128_HMAC_SHA1_80&srtp_out_params=00108310518720928b30d38f41149351559761969b71d79f8218a39259a7"

    and this one for stream receiving :

    ffplay "srtp://192.168.0.100:7777?srtp_in_suite=AES_CM_128_HMAC_SHA1_80&srtp_in_params=00108310518720928b30d38f41149351559761969b71d79f8218a39259a7"

    They work good.
    But, If I change the command for ffplay to this one :

    ffplay udp://192.168.0.100:7777

    it works too and I can watch the video. So, it means that encryption for srtp doesn´t work ?

    1. Is the stream encryption by using ffmpeg possible (not only srtp) ?
    2. If so, What am I doing wrong ?

    Thanks in advance.

    An output from ffmpeg -re -i ... command is :

    Input #0, mpeg, from 'outpu.mpg':
    Duration: 00:03:20.01, start: 0.529089, bitrate: 475 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p(tv), 352x288 [SAR 1:1 DAR 11:
    9], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 64 kb/s
    [libx264 @ 023633e0] using SAR=1/1
    [libx264 @ 023633e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 023633e0] profile High, level 1.3
    [libx264 @ 023633e0] 264 - core 138 r2358 9e941d1 - H.264/MPEG-4 AVC codec - Cop
    yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
    lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
    e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
    ma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 i
    nterlaced=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 scenec
    ut=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
    Output #0, flv, to 'srtp://192.168.0.106:7777?srtp_out_suite=AES_CM_128_HMAC_SHA
    1_80&srtp_out_params=00108310518720928b30d38f41149351559761969b71d79f8218a39259a
    7':
     Metadata:
       encoder         : Lavf55.19.100
      Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 352x288
    [SAR 1:1 DAR 11:9], q=-1--1, 1k tbn, 25 tbc
      Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, ster
      eo, s16p
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg1video -> libx264)
     Stream #0:1 -> #0:1 (mp2 -> libmp3lame)
    Press [q] to stop, [?] for help
    frame=   14 fps=0.0 q=0.0 size=       0kB time=00:00:00.13 bitrate=  23.2kbits/s
    frame=   27 fps= 27 q=0.0 size=       0kB time=00:00:00.65 bitrate=   4.7kbits/s
    frame=   40 fps= 26 q=0.0 size=       0kB time=00:00:01.15 bitrate=   2.7kbits/s
    frame=   52 fps= 26 q=28.0 size=       3kB time=00:00:01.67 bitrate=  16.8kbits/
    ...

    Edit :

    I have tried the above ffmpeg command with srtp_out_suite=NmcxMmQ2ZjVnYjEyNmRmMTV2czY1YWR2ZjFhc2Rm, but udp stream is still playing well.