Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (56)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (10977)

  • using clang compile ffmpeg with too much warning on osx

    12 juin 2014, par arachide

    I use clang to compile ffmpeg, It reports too much warn

    ./libavutil/arm/intmath.h:102:40: warning: value size does not match register size specified by the constraint and modifier
         [-Wasm-operand-widths]
    ./libavutil/arm/intmath.h:102:40: warning: value size does not match register size specified by the constraint and modifier
         [-Wasm-operand-widths]

    and finally stop with error

    libavcodec/arm/mlpdsp_armv5te.S:5180:9: error: unknown directive
           .hword (75f - 0b) / 2
           ^
    libavcodec/arm/mlpdsp_armv5te.S:5182:9: error: unknown directive
           .hword (76f - 0b) / 2
           ^
    libavcodec/arm/mlpdsp_armv5te.S:5184:9: error: unknown directive
           .hword (77f - 0b) / 2
           ^
    libavcodec/arm/mlpdsp_armv5te.S:5186:9: error: unknown directive
           .hword (78f - 0b) / 2
           ^
    libavcodec/arm/mlpdsp_armv5te.S:5648:9: error: unknown directive

    Is there anyone met the same problem ?

  • FFmpeg crashing on drawtext filter (ffmpeg-python)

    31 août 2023, par DeadSec

    Hey guys so im trying to use ffmpeg-python to add text to a video but its crashing at

    


    [Parsed_drawtext_0 @ 0000012ea115ee80] Setting 'text' to value 'hi'

    


    and I'm not sure what I can do to fix this problem. I tried pure FFmpeg command-line style and still the same issue where it gets stuck at Setting text to value and it simply outputs a 0byte mp4 after crashing.

    


    My code :

    


    os.environ['FONTCONFIG_FILE'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts\fonts.conf'
    os.environ['FONTCONFIG_PATH'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts'
    os.environ['FC_CONFIG_DIR'] = r'C:\Users\NOP\NOP\NOP\NOP\binaries\fonts'
    in_ = ffmpeg.input(output_video_logo)
    in_ = in_.drawtext(text='hi')
    ffmpeg.output(in_, output_video).global_args('-loglevel', 'debug').run(cmd=FFMPEG_PATH)


    


    Font config file :

    


    &lt;?xml version="1.0"?>&#xA;&#xA;&#xA;<fontconfig>&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;    <dir>WINDOWSFONTDIR</dir>&#xA;    <dir>~/fonts</dir>&#xA;    <dir prefix="cwd">.</dir>&#xA;    <dir>~/.fonts</dir>&#xA;&#xA;&#xA;    <match target="pattern">&#xA;        <test qual="any">&#xA;            <string>mono</string>&#xA;        </test>&#xA;        <edit mode="assign">&#xA;            <string>monospace</string>&#xA;        </edit>&#xA;    </match>&#xA;&#xA;&#xA;    <match target="pattern">&#xA;        <test qual="any">&#xA;            <string>sans serif</string>&#xA;        </test>&#xA;        <edit mode="assign">&#xA;            <string>sans-serif</string>&#xA;        </edit>&#xA;    </match>&#xA;&#xA;&#xA;    <match target="pattern">&#xA;        <test qual="any">&#xA;            <string>sans</string>&#xA;        </test>&#xA;        <edit mode="assign">&#xA;            <string>sans-serif</string>&#xA;        </edit>&#xA;    </match>&#xA;&#xA;&#xA;    <include>conf.d</include>&#xA;&#xA;&#xA;&#xA;    <cachedir>WINDOWSTEMPDIR_FONTCONFIG_CACHE</cachedir>&#xA;    <cachedir>~/.fontconfig</cachedir>&#xA;&#xA;    <config>&#xA;&#xA;&#xA;        <rescan>&#xA;            <int>30</int>&#xA;        </rescan>&#xA;    </config>&#xA;&#xA;</fontconfig>&#xA;

    &#xA;

    Is this a issue with any of my fontconfig or script ? I'm really lost on fixing this.

    &#xA;

    As requested by Rotem tried adding new input to drawtext and this was the output before crashing with no error message :&#xA;Successfully opened the file.

    &#xA;

    [Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;box&#x27; to value &#x27;1&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;boxcolor&#x27; to value &#x27;yellow&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;fontcolor&#x27; to value &#x27;blue&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;fontsize&#x27; to value &#x27;72&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;text&#x27; to value &#x27;hi&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;x&#x27; to value &#x27;10&#x27;&#xA;[Parsed_drawtext_0 @ 00000171a2f0f900] Setting &#x27;y&#x27; to value &#x27;10&#x27;&#xA;

    &#xA;

    Full log :&#xA;https://pastebin.com/E6sHvwUz

    &#xA;

  • FFMPEG-KIT - Video is cut after adding 2 watermarks

    7 août 2023, par dfjick

    I made a FFMPEG-KIT command to add 2 PNG watermarks to the video and everything went smoothly.

    &#xA;

    String ffmpegCommand = "-y -i " &#x2B; videoPath &#x2B;&#xA;            " -i " &#x2B; watermarkImagePath &#x2B;&#xA;            " -i " &#x2B; userID &#x2B;&#xA;            " -filter_complex " &#x2B;&#xA;            "\"[0:v][1:v]overlay=x=&#x27;if(lt(mod(t,10),5),10,W-w-10)&#x27;:y=&#x27;if(lt(mod(t,10),5),10,H-h-35)&#x27;,\"" &#x2B;&#xA;            "\"overlay=x=&#x27;if(lt(mod(t,10),5),7,W-w-7)&#x27;:y=&#x27;if(lt(mod(t,10),5),165,H-h-15)&#x27;[out]\"" &#x2B;&#xA;            " -map [out] -map 0:a -c:v libx264 -crf 18 -preset slow -c:a aac " &#x2B; outputPath;&#xA;

    &#xA;

    But for videos that are longer than 20 seconds, the results don't match the original video, sometimes the videos are only <20 seconds and at random times.

    &#xA;

    but i got this error, do you guys know how to fix it ?

    &#xA;

    W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] Packet corrupt (stream = 1, dts = 366976)&#xA;W/ffmpeg-kit: [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb400007c5c1243f0] .&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [NULL @ 0xb400007c6c179400] missing picture in access unit with size 20194&#xA;W/ffmpeg-kit: /storage/emulated/0/DCIM/android_100394_20230807_162805_5465009.mp4: corrupt input packet in stream 1&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Invalid NAL unit size (63547 > 20190).&#xA;E/ffmpeg-kit: [h264 @ 0xb400007c6c210750] Error splitting the input into NAL units.&#xA;E/ffmpeg-kit: Error while decoding stream #0:1: Invalid data found when processing input&#xA;

    &#xA;

    I've tried to use this -fflags &#x2B;discardcorrupt, but the result is still the same. the duration of the video that has been watermarked does not match the original video

    &#xA;