Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (49)

  • 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

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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (3765)

  • How to convert rtmp hevc video stream to srt av1 endpoint with ffmpeg ?

    20 juin 2024, par Lulík

    i want use ffmpeg to listen rtmp stream and send to srt endpoint.

    &#xA;

    Flow : smartphone (camera) -> laptop (ffmpeg script) -> desktop (obs studio)

    &#xA;

    ffmpeg script show warning message and in obs stuido i can see any video only audio.

    &#xA;

    Thank you in advance.

    &#xA;

    Console output while running script (error in the end is bcs i stoped sending data from phone) :

    &#xA;

    ffmpeg version git-2024-06-20-8d6014d Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 12 (Debian 12.2.0-14)&#xA;  configuration: --enable-libsvtav1 --enable-libsrt&#xA;  libavutil      59. 24.100 / 59. 24.100&#xA;  libavcodec     61.  8.100 / 61.  8.100&#xA;  libavformat    61.  3.104 / 61.  3.104&#xA;  libavdevice    61.  2.100 / 61.  2.100&#xA;  libavfilter    10.  2.102 / 10.  2.102&#xA;  libswscale      8.  2.100 /  8.  2.100&#xA;  libswresample   5.  2.100 /  5.  2.100&#xA;Input #0, flv, from &#x27;rtmp://192.168.0.194/s/streamKey&#x27;:&#xA;  Duration: 00:00:00.00, start: 0.000000, bitrate: N/A&#xA;  Stream #0:0: Video: hevc (Main), yuv420p(tv, smpte170m/bt470bg/smpte170m), 1080x1920, 10240 kb/s, 30 fps, 120 tbr, 1k tbn&#xA;  Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 131 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (hevc (native) -> av1 (libsvtav1))&#xA;  Stream #0:1 -> #0:1 (aac (native) -> mp2 (native))&#xA;Press [q] to stop, [?] for help&#xA;Svt[info]: -------------------------------------------&#xA;Svt[info]: SVT [version]:   SVT-AV1 Encoder Lib 595a874&#xA;Svt[info]: SVT [build]  :   GCC 12.2.0   64 bit&#xA;Svt[info]: LIB Build date: Jun 20 2024 14:25:08&#xA;Svt[info]: -------------------------------------------&#xA;Svt[info]: Number of logical cores available: 12&#xA;Svt[info]: Number of PPCS 76&#xA;Svt[info]: [asm level on system : up to avx2]&#xA;Svt[info]: [asm level selected : up to avx2]&#xA;Svt[info]: -------------------------------------------&#xA;Svt[info]: SVT [config]: main profile   tier (auto) level (auto)&#xA;Svt[info]: SVT [config]: width / height / fps numerator / fps denominator       : 1080 / 1920 / 120 / 1&#xA;Svt[info]: SVT [config]: bit-depth / color format                   : 8 / YUV420&#xA;Svt[info]: SVT [config]: preset / tune / pred struct                    : 10 / PSNR / random access&#xA;Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type          : 641 / 16 / key frame&#xA;Svt[info]: SVT [config]: BRC mode / rate factor                     : CRF / 35 &#xA;Svt[info]: SVT [config]: AQ mode / variance boost                   : 2 / 0&#xA;Svt[info]: -------------------------------------------&#xA;Svt[warn]: Failed to set thread priority: Invalid argument&#xA;Output #0, mpegts, to &#x27;srt://192.168.0.167:9998?mode=caller&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf61.3.104&#xA;  Stream #0:0: Video: av1, yuv420p(tv, smpte170m/bt470bg/smpte170m, progressive), 1080x1920, q=2-31, 120 fps, 90k tbn&#xA;      Metadata:&#xA;        encoder         : Lavc61.8.100 libsvtav1&#xA;  Stream #0:1: Audio: mp2, 44100 Hz, stereo, s16, 384 kb/s&#xA;      Metadata:&#xA;        encoder         : Lavc61.8.100 mp2&#xA;[mpegts @ 0x55ec921d9540] Stream 0, codec av1, is muxed as a private data stream and may not be recognized upon reading.&#xA;[in#0/flv @ 0x55ec9219cc40] Error during demuxing: Input/output error1990.7kbits/s speed=0.967x    &#xA;[out#0/mpegts @ 0x55ec922247c0] video:4431KiB audio:1138KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 6.374870%&#xA;frame=  723 fps= 31 q=35.0 Lsize=    5923KiB time=00:00:24.12 bitrate=2011.3kbits/s speed=1.04x&#xA;

    &#xA;

    I send video stream from mobile app over rtmp encoded with hevc to my laptop where running script ffmpeg -f flv -listen 1 -i rtmp://192.168.0.194/s/streamKey -c:v libsvtav1 -f mpegts srt://192.168.0.167:9998?mode=caller. On the desktop i have obs with media source input srt://192.168.0.167:9998?mode=listener.

    &#xA;

    When i run ffmpeg script without video codec option (-c:v libsvtav1) its working fine and in obs i can see video from my phone camera. With the option i can not see video only audio.&#xA;I clearly dont understand warning message : [mpegts @ 0x55ec921d9540] Stream 0, codec av1, is muxed as a private data stream and may not be recognized upon reading..&#xA;Do I need specify codec (av1) in obs media source or my ffmpeg script is wrong ?

    &#xA;

  • ffmpeg transcoding : Metallic distorsion on macOS

    10 septembre 2024, par Xavi

    I am following ffmpeg's transcoding.c example to record audio and video from my input devices into an mp4 output file with H264 and AAC as codecs. I have no issues with the video and the audio transcoding works correctly on Windows.

    &#xA;

    However, on macOS I have an issue with any input device other than the internal microphone of my laptop : the audio comes out distorted and sounding noisy and metallic (sample recording claps : https://file.io/nEn8MXHUAUQ2). I went through the input and output parameters for the filter several times, checked the values, but there must be something I'm missing. And I can't explain why it works on Windows with the same devices.

    &#xA;

    Has anyone run into a similar problem before ? Any idea where I should start looking at ?

    &#xA;

    Additional comments :

    &#xA;

      &#xA;
    1. While the Macbook's internal microphone (the only one that works) has only one channel, the other microphones I have available are stereo, so I can't say for sure that that's where the problem is.
    2. &#xA;

    3. I also tested it on a macbook mini, with the same results.
    4. &#xA;

    5. ffmpeg 6.1.1, MacOs 14.5
    6. &#xA;

    7. Input filter arguments : time_base=1/1000000:sample_rate=48000:sample_fmt=1:channel_layout=stereo
    8. &#xA;

    9. Output filter arguments : setpts=PTS-STARTPTS,aresample=48000:async=1:out_sample_fmt=8:out_chlayout=stereo,asetnsamples=n=1024
    10. &#xA;

    &#xA;

  • HEVC with alpha [closed]

    3 mai 2024, par foxhable

    I trying create HEVC with alpha video from png images through ffmpeg.

    &#xA;

    When i try, it outputs a video that works, has a transparent background and opens in QuickTime, but does not open in Safari. Then i try creating in prores 4444 codec and convert from macOS Context Menu -> Encode Selected Video Files with HEVC 1080p and Preserve Transparency. It has work - video with transparent background, open in QuickTime and in Safari.

    &#xA;

    So i tried understand what a difference in meta data and only what i find its working video has HVEC encoder, but not working has Lavc61.5.103 hevc_videotoolbox. Can i somehow programmatically or from utilities like ffmpeg create video with HEVC With alpha, which working like from macOS context menu ? macOS context menu doesnt fit because i cant compress or create many videos

    &#xA;

    Detail info

    &#xA;

    I have example of working video. Info from ffprobe

    &#xA;

    ffprobe movie-hevc.mov&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;.\movie-hevc.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2021-01-02T10:33:38.000000Z&#xA;  Duration: 00:00:09.02, start: 0.000000, bitrate: 4053 kb/s&#xA;  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 4046 kb/s, 60 fps, 60 tbr, 600 tbn (default)&#xA;      Metadata:&#xA;        creation_time   : 2021-01-02T10:33:38.000000Z&#xA;        handler_name    : Core Media Video&#xA;        vendor_id       : [0][0][0][0]&#xA;        encoder         : HEVC&#xA;

    &#xA;

    Info about video which i create in prores by ffmpeg command, then convert through macOS context menu

    &#xA;

    command :

    &#xA;

    ffmpeg -i a%d.png -r 30 -c:v prores_ks -profile:v 4  -allow_sw 1 -alpha_quality 1 -vtag hvc1 prores.mov&#xA;

    &#xA;

    info after converting

    &#xA;

    ffprobe .\native-hevc.mov&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;.\native-hevc.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 0&#xA;    compatible_brands: qt&#xA;    creation_time   : 2024-05-03T07:04:26.000000Z&#xA;  Duration: 00:00:12.77, start: 0.000000, bitrate: 8796 kb/s&#xA;  Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bt709), 1920x1920, 8792 kb/s, 30 fps, 30 tbr, 15360 tbn (default)&#xA;      Metadata:&#xA;        creation_time   : 2024-05-03T07:04:27.000000Z&#xA;        handler_name    : Core Media Video&#xA;        vendor_id       : [0][0][0][0]&#xA;        encoder         : HEVC&#xA;

    &#xA;

    Info about video which i`m create direct in hevc by ffmpeg command

    &#xA;

    ffmpeg -i a%d.png -r 30 -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 1 -vtag hvc1 ffmpeg-hevc.mov&#xA;

    &#xA;

    Info :

    &#xA;

    ffprobe .\ffmpeg-hevc.mov&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;.\ffmpeg-hevc.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt&#xA;    minor_version   : 512&#xA;    compatible_brands: qt&#xA;    encoder         : Lavf61.3.103&#xA;  Duration: 00:00:12.77, start: 0.000000, bitrate: 3437 kb/s&#xA;  Stream #0:0[0x1]: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bottom coded first (swapped)), 1920x1920, 3435 kb/s, 30 fps, 30 tbr, 15360 tbn (default)&#xA;      Metadata:&#xA;        handler_name    : VideoHandler&#xA;        vendor_id       : FFMP&#xA;        encoder         : Lavc61.5.103 hevc_videotoolbox&#xA;

    &#xA;

    also i tried :

    &#xA;

      &#xA;
    • props -allow_sw 0 - get error
    • &#xA;

    • -alpha-quality 0.75, -pix_fmt bgra - safari not open, QT yes, transparent bg
    • &#xA;

    • without -vtag hvc1 - QuickTime cannot open
    • &#xA;

    • Tried convert from webm to hevc_videotoolbox - safari not open, QT yes, transparent bg
    • &#xA;

    • tried convert webm into pngs and in hevc_videotoolbox - safari not open, QT yes, transparent bg
    • &#xA;

    &#xA;

    Tried answers :

    &#xA;

    &#xA;

    mac info :

    &#xA;

      &#xA;
    • macOS Monterey 12.7.2
    • &#xA;

    • Mac mini (Late 2012)
    • &#xA;

    • Core i5 3210M
    • &#xA;

    • Graphics Intel HD 4000
    • &#xA;

    &#xA;