Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (112)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (4735)

  • Can't obtain information with ffmpeg to Smooth Streaming Manifest file

    4 mars 2015, par Alberto

    I’m trying to get details for a stream of protocol Microsoft Smooth Streaming, with ffmpeg tools (ffprobe and ffplay) but when I run the next command :

    ffprobe -i http://b31282.cdn.telefonica.com/31282/Manifest

    I obtain this :

    http://b31282.cdn.telefonica.com/31282/Manifest: Invalid data found when processing input

    I assume that this Manifest file is correct and complies with standards of Smooth Streaming . This is a brief extract of Manifest file :

    <smoothstreamingmedia majorversion="2" minorversion="0" duration="0" timescale="10000000" islive="TRUE" lookaheadfragmentcount="2" dvrwindowlength="6000000000" canseek="TRUE" canpause="TRUE">
     <protection>
       <protectionheader systemid="9a04f079-9840-4286-ab92-e65be0885f95">oioAAAIAAQCUAjwAV...</protectionheader>
     </protection>
     <streamindex type="audio" language="esp" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(audio_esp={start time})"></streamindex>
     <streamindex type="video" language="" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(video={start time})"></streamindex>
    </smoothstreamingmedia>

    Is a Fedora 21 and ffmpeg version and configuration is :

    ffmpeg version git-2015-02-27-d490b26
    configuration: --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
    libavutil         54. 19.100        
    libavcodec        56. 26.100          
    libavformat       56. 23.105          
    libavdevice       56.  4.100                  
    libavfilter        5. 11.102          
    libswscale         3.  1.101        
    libswresample      1.  1.100          
    libpostproc       53.  3.100

    PD : I prefer use only ffmpeg tool

    Thanks for all

  • FFMPEG and MSA1 Codec Issues when Converting WMV to MP4 Video

    30 décembre 2023, par user136819

    I have a WMV video file (around 60 MB size, 01:23:00 length) and I'm running a Windows Server 2016 64-bit machine for testing.
    &#xA;As far as I know, this video file was recorded using Microsoft Live Meeting 2007 back in April 2010 and there is also an associated audio file (which I'm able to play).

    &#xA;

    I tried to play the video file on my machine using VLC player (latest update), however, I always see this weird MSA1 codec error :

    &#xA;

    enter image description here

    &#xA;

    So I tried to resolve this problem by downloading and installing the Combined-Community-Codec-Pack-64bit-2015-10-18, and using its MPC-HC 64-bit player to play the video...&#xA;I still couldn't get it to play ! Here are the logs shown by the MPC player :

    &#xA;

    enter image description here

    &#xA;

    WM ASF Reader::Raw Video 0&#xA;&#xA;Media Type 0:&#xA;--------------------------&#xA;Video: MSA1 1440x900 5fps 164kbps&#xA;&#xA;AM_MEDIA_TYPE: &#xA;majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}&#xA;subtype: Unknown GUID Name {3141534D-0000-0010-8000-00AA00389B71}&#xA;formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}&#xA;bFixedSizeSamples: 0&#xA;bTemporalCompression: 1&#xA;lSampleSize: 0&#xA;cbFormat: 88&#xA;&#xA;VIDEOINFOHEADER:&#xA;rcSource: (0,0)-(1440,900)&#xA;rcTarget: (0,0)-(1440,900)&#xA;dwBitRate: 164794&#xA;dwBitErrorRate: 0&#xA;AvgTimePerFrame: 2000000&#xA;&#xA;BITMAPINFOHEADER:&#xA;biSize: 40&#xA;biWidth: 1440&#xA;biHeight: 900&#xA;biPlanes: 1&#xA;biBitCount: 16&#xA;biCompression: MSA1&#xA;biSizeImage: 66101&#xA;biXPelsPerMeter: 0&#xA;biYPelsPerMeter: 0&#xA;biClrUsed: 0&#xA;biClrImportant: 0&#xA;&#xA;pbFormat:&#xA;0000: 00 00 00 00 00 00 00 00 a0 05 00 00 84 03 00 00 ........&#xA0;...„...&#xA;0010: 00 00 00 00 00 00 00 00 a0 05 00 00 84 03 00 00 ........&#xA0;...„...&#xA;0020: ba 83 02 00 00 00 00 00 80 84 1e 00 00 00 00 00 &#xBA;ƒ......€„......&#xA;0030: 28 00 00 00 a0 05 00 00 84 03 00 00 01 00 10 00 (...&#xA0;...„.......&#xA;0040: 4d 53 41 31 35 02 01 00 00 00 00 00 00 00 00 00 MSA15...........&#xA;0050: 00 00 00 00 00 00 00 00                         ........&#xA;

    &#xA;

    Since that didn't work, I tried installing the Microsoft MPEG-4 V1/2/3 VKI Codec for ASF files and still couldn't get the players to play the video and saw the same errors as above !

    &#xA;

    As a final attempt, I tried to convert this video to MP4 format using FFMPEG (version from 2020). Even this failed. Here are the logs :

    &#xA;

    D:\ffmpeg-20200403-52523b6-win64-static\bin>ffmpeg.exe -i input-video.wmv -c:v copy -c:a aac -q:a 100 output.mp4&#xA;ffmpeg version git-2020-04-03-52523b6 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 9.3.1 (GCC) 20200328&#xA;  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf&#xA;  libavutil      56. 42.102 / 56. 42.102&#xA;  libavcodec     58. 77.101 / 58. 77.101&#xA;  libavformat    58. 42.100 / 58. 42.100&#xA;  libavdevice    58.  9.103 / 58.  9.103&#xA;  libavfilter     7. 77.101 /  7. 77.101&#xA;  libswscale      5.  6.101 /  5.  6.101&#xA;  libswresample   3.  6.100 /  3.  6.100&#xA;  libpostproc    55.  6.100 / 55.  6.100&#xA;[msa1 @ 000002505bb847c0] Image dimensions should be a multiple of 16.&#xA;[asf @ 000002505bb4b600] Failed to open codec in avformat_find_stream_info&#xA;[msa1 @ 000002505bb847c0] Image dimensions should be a multiple of 16.&#xA;Input #0, asf, from &#x27;input-video.wmv&#x27;:&#xA;  Metadata:&#xA;    WMFSDKNeeded    : 0.0.0.0000&#xA;    WMFSDKVersion   : 10.00.00.4072&#xA;    IsVBR           : 0&#xA;  Duration: 01:22:49.28, start: 0.000000, bitrate: 96 kb/s&#xA;    Stream #0:0(ger): Video: msa1 (MSA1 / 0x3141534D), none, 1440x900, 164 kb/s, 5 tbr, 1k tbn, 1k tbc&#xA;[mp4 @ 000002505bb4ce40] Could not find tag for codec msa1 in stream #0, codec not currently supported in container&#xA;Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;    Last message repeated 1 times&#xA;&#xA;D:\ffmpeg-20200403-52523b6-win64-static\bin>&#xA;

    &#xA;

    I wish to know, is there any other way I can convert this video to a more modern format so that I can play it on a modern machine and modern video player ?
    &#xA;What other codecs am I missing here ? (if so, where can I get them ?)
    &#xA;FYI, as mentioned earlier at the top, I'm only able to play the associated audio file...

    &#xA;

    I'm fairly new to all this stuff, so any help is appreciated.

    &#xA;

    Thanks in advance ! :)

    &#xA;

  • Podcast Producer 2 REST api

    11 septembre 2009

    I’ve been working on documenting the REST api that PCP2 uses for client server communication as part of a new project. I thought it might be useful to other folks. Consider this a work in progress - I’ve only documented the workflow for doing a multisource recording so far. Follow the job for the info.

    Each section gives a sample command and a sample response.

    All pages are behind basic HTTP auth.

    General sequence of events

    * get workflow list
    * get cameras
    * request status for camera (including thumbnail)
    * start cameras
    * create recording enclosure
    * stop cameras, provide submission_UUID returned by above step, include title


    *URL : https://pcpserver:8170/podcastproducer/info

    *Type : GET

    *Content : version=2

    *Response :
    <pre>
    <podcast_producer_result>
    <action>index</action>
    <status>success</status>
    <plist version="1.0">
    <dict>
    <key>server_version</key>
    <string>2.0</string>
    <key>http_auth_type</key>
    <array>
    <string>basic</string>
    <string>digest</string>
    <string>kerberos</string>
    </array>
    <key>krb_service_principals</key>
    <array>
    <string>pcast/x101-186-103-dhcp.cla.umn.edu@X101-186-103-DHCP.CLA.UMN.EDU</string>
    </array>
    <key>server_uuid</key>
    <string>DB31DA49-10AE-472C-B3B9-86A8F8112399</string>
    <key>cluster_members</key>
    <dict>
    <key>F1021B98-7E7E-44FB-8EB1-E0DA1885D5BA</key>
    <dict>
    <key>date_added</key>
    <string>Tue Sep 01 10:23:49 -0500 2009</string>
    <key>last_update</key>
    <string>Tue Sep 08 10:35:17 -0500 2009</string>
    <key>server_host</key>
    <string>x101-186-103-dhcp.cla.umn.edu</string>
    <key>server_port</key>
    <string>8170</string>
    <key>tunnel_agent_host</key>
    <string>x101-186-103-dhcp.cla.umn.edu</string>
    <key>tunnel_agent_port</key>
    <string>8175</string>
    <key>network_addrs</key>
    <array>
    <string>128.101.186.103</string>
    </array>
    </dict>
    </dict>
    </dict>
    </plist>
    </podcast_producer_result>
    </pre>


    * URL : https://pcpserver:8170/podcastproducer/workflows
    * Type : GET
    * Content : version=2&language=en
    * Response :
    <pre>
    <podcast_producer_result>
    <action>index</action>
    <status>success</status>
    <results>OK</results>
    <plist version="1.0">
    <dict>
    <key>user_fullname</key>
    <string>podcast</string>
    <key>user_shortname</key>
    <string>podcast</string>
    <key>workflows</key>
    <array>
    <dict>
    <key>name</key>
    <string>Montage</string>
    <key>title</key>
    <string>Montage</string>
    <key>description</key>
    <string>Montage workflow</string>
    <key>uuid</key>
    <string>F797D54D-1539-42AA-B6AC-3CB3A4C15EF5</string>
    <key>version</key>
    <string>2.0</string>
    <key>editor</key>
    <string>Podcast Composer</string>
    <key>sources</key>
    <array>
    <dict>
    <key>contentTypes</key>
    <array>
    <string>com.apple.quicktime-movie</string>
    <string>com.adobe.pdf</string>
    <string>com.apple.iwork.keynote.key</string>
    <string>com.apple.iwork.pages.pages</string>
    <string>org.openxmlformats.wordprocessingml.document</string>
    <string>com.microsoft.word.doc</string>
    <string>org.openxmlformats.presentationml.presentation</string>
    <string>com.microsoft.powerpoint.ppt</string>
    <string>com.microsoft.bmp</string>
    <string>com.compuserve.gif</string>
    <string>public.jpeg-2000</string>
    <string>public.jpeg</string>
    <string>com.adobe.pdf</string>
    <string>com.apple.pict</string>
    <string>public.png</string>
    <string>com.adobe.photoshop-image</string>
    <string>com.sgi.sgi-image</string>
    <string>com.truevision.tga-image</string>
    <string>public.tiff</string>
    </array>
    <key>description</key>
    <string>Any Document</string>
    <key>isFolder</key>
    <true/>
    <key>isOptional</key>
    <false/>
    <key>sourceTypes</key>
    <array>
    <string>File</string>
    </array>
    </dict>
    </array>
    <key>user_requirements</key>
    <array>
    <string>Title</string>
    <string>Description</string>
    </array>
    <key>access_control_entries</key>
    <array>
    </array>
    </dict>
    <dict>
    <key>name</key>
    <string>Single Source</string>
    <key>title</key>
    <string>Single Source</string>
    <key>description</key>
    <string>Single Source workflow</string>
    <key>uuid</key>
    <string>DEFA1587-A650-426E-92DA-01C5EB811705</string>
    <key>version</key>
    <string>2.0</string>
    <key>editor</key>
    <string>Podcast Composer</string>
    <key>sources</key>
    <array>
    <dict>
    <key>contentTypes</key>
    <array>
    <string>com.apple.quicktime-movie</string>
    </array>
    <key>description</key>
    <string>Any Video</string>
    <key>isFolder</key>
    <false/>
    <key>isOptional</key>
    <false/>
    <key>sourceTypes</key>
    <array>
    <string>Video</string>
    <string>Screen</string>
    <string>Audio</string>
    <string>File</string>
    </array>
    </dict>
    </array>
    <key>user_requirements</key>
    <array>
    <string>Title</string>
    <string>Description</string>
    </array>
    <key>access_control_entries</key>
    <array>
    </array>
    </dict>
    </array>
    </dict>
    </plist>
    </podcast_producer_result>
    </pre>
    ----

    * URL : https://pcpserver:8170/podcastproducer/cameras
    * Type : GET
    * Content : version=2
    * Response :
    <pre>
    <podcast_producer_result>
    <action>index</action>
    <status>success</status>
    <plist version="1.0">
    <dict>
    <key>cameras</key>
    <array>
    <dict>
    <key>name</key>
    <string>150-A Camera</string>
    <key>uuid</key>
    <string>307682A5-B552-4AFA-B7E2-3811D772C9A1</string>
    <key>connected_to_member_uuid</key>
    <string>F1021B98-7E7E-44FB-8EB1-E0DA1885D5BA</string>
    <key>in_use</key>
    <string>false</string>
    <key>recording_status</key>
    <string>online</string>
    <key>preview_url</key>
    <string>https://x101-186-103-dhcp.cla.umn.edu:8170/podcastproducer/previews/307682A5-B552-4AFA-B7E2-3811D772C9A1.jpg</string> ;
    <key>access_control_entries</key>
    <array>
    </array>
    </dict>
    <dict>
    <key>name</key>
    <string>150-A Epiphan</string>
    <key>uuid</key>
    <string>CE610AB0-CA50-49EB-8FFE-78E57CDCA550</string>
    <key>connected_to_member_uuid</key>
    <string>F1021B98-7E7E-44FB-8EB1-E0DA1885D5BA</string>
    <key>in_use</key>
    <string>false</string>
    <key>recording_status</key>
    <string>online</string>
    <key>preview_url</key>
    <string>https://x101-186-103-dhcp.cla.umn.edu:8170/podcastproducer/previews/CE610AB0-CA50-49EB-8FFE-78E57CDCA550.jpg</string> ;
    <key>access_control_entries</key>
    <array>
    </array>
    </dict>
    </array>
    </dict>
    </plist>
    </podcast_producer_result>
    </pre>


    * URL : https://pcpserver:8170/podcastproducer/cameras/start
    * Type : POST
    * Content : action=pause&version=2&camera_name=150-A%20Camera&controller=cameras
    * Response :
    <pre>
    <podcast_producer_result>
    <action>start</action>
    <status>success</status>
    <results>OK</results>
    </podcast_producer_result>
    </pre>


    * URL : https://pcpserver:8170/podcastproducer/cameras/status
    * Type : POST
    * Content : delay=0&action=start&version=2&camera_name=150-A%20Epiphan&controller=cameras
    * Response :
    <pre><podcast_producer_result>
    <action>status</action>
    <status>success</status>
    <results>OK</results>
    <plist version="1.0">
    <dict>
    <key>preview</key>
    <string>https://x101-186-103-dhcp.cla.umn.edu:8170/podcastproducer/previews/307682A5-B552-4AFA-B7E2-3811D772C9A1.jpg</string> ;
    <key>preview_image_data</key>
    <string>RAW JPEG DATA RAW JPEG DATA RAW JPEG DATA RAW JPEG DATA RAW JPEG DATA</string>
    <key>recording_status</key>
    <string>online</string>
    <key>started_at</key>
    <string>Tue Sep 08 09:31:40 -0500 2009</string>
    <key>stopped_at</key>
    <string>Tue Sep 08 09:32:10 -0500 2009</string>
    <key>elapsed</key>
    <string>41</string>
    <key>last_error</key>
    <string>805306368</string>
    </dict>
    </plist>
    </podcast_producer_result>
    </pre>


    * URL : https://pcpserver:8170/podcastproducer/cameras/pause
    * Type : POST
    * Content : action=pause&version=2&camera_name=150-A%20Camera&controller=cameras
    * Response :
    <pre><podcast_producer_result>
    <action>status</action>
    <status>success</status>
    <results>OK</results>
    <plist version="1.0">
    <dict>
    <key>preview</key>
    <string>https://x101-186-103-dhcp.cla.umn.edu:8170/podcastproducer/previews/307682A5-B552-4AFA-B7E2-3811D772C9A1.jpg</string> ;
    <key>recording_status</key>
    <string>online</string>
    <key>started_at</key>
    <string>Tue Sep 08 09:31:40 -0500 2009</string>
    <key>stopped_at</key>
    <string>Tue Sep 08 09:32:10 -0500 2009</string>
    <key>elapsed</key>
    <string>41</string>
    <key>last_error</key>
    <string>805306368</string>
    </dict>
    </plist>
    </podcast_producer_result></pre>


    * URL : https://pcpserver:8170/podcastproducer/cameras/stop
    * Type : POST
    * Content : workflow_name=&UserMetadata_Description=&submission_uuid=7497E3AC-0A75-4C7C-8C66-26294C9274FE&action=stop&version=2&camera_name=150-A%20Epiphan&controller=cameras&UserMetadata_Title=Test123
    * Response :
    <pre><podcast_producer_result>
    <action>stop</action>
    <status>success</status>
    <results>OK</results>
    </podcast_producer_result>
    </pre>


    * URL : https://pcpserver:8170/podcastproducer/recordings/create
    * Type : POST
    * Content : version=2&workflow_uuid=C6EF52A7-04E3-477D-9F38-6B61F108D7B9
    * Response :
    <pre>
    <podcast_producer_result>
    <action>create</action>
    <status>success</status>
    <results>OK</results>
    <plist version="1.0">
    <dict>
    <key>workflow_uuid</key>
    <string>C6EF52A7-04E3-477D-9F38-6B61F108D7B9</string>
    <key>recording_uuid</key>
    <string>FD5A1459-F7CE-41FA-8155-049DF774298B</string>
    <key>submission_uuids</key>
    <array>
    <string>A626D8E4-E439-4E57-9982-DB4BD035CB41</string>
    <string>CFBCCB74-A41F-42D3-BEAA-58165B1116C6</string>
    </array>
    </dict>
    </plist>
    </podcast_producer_result>
    </pre>