Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (35)

  • 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

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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (5978)

  • Using gcovr with FFmpeg

    6 septembre 2010, par Multimedia Mike — FATE Server

    When I started investigating code coverage tools to analyze FFmpeg, I knew there had to be an easier way to do what I was trying to do (obtain code coverage statistics on a macro level for the entire project). I was hoping there was a way to ask the GNU gcov tool to do this directly. John K informed me in the comments of a tool called gcovr. Like my tool from the previous post, gcovr is a Python script that aggregates data collected by gcov. gcovr proves to be a little more competent than my tool.

    Results
    Here is the spreadsheet of results, reflecting FATE code coverage as of this writing. All FFmpeg source files are on the same sheet this time, including header files, sorted by percent covered (ascending), then total lines (descending).

    Methodology
    I wasn’t easily able to work with the default output from the gcovr tool. So I modified it into a tool called gcovr-csv which creates data that spreadsheets can digest more easily.

    • Build FFmpeg using the '-fprofile-arcs -ftest-coverage' in both the extra cflags and extra ldflags configuration options
    • 'make'
    • 'make fate'
    • From build directory : 'gcovr-csv > output.csv'
    • Massage the data a bit, deleting information about system header files (assuming you don’t care how much of /usr/include/stdlib.h is covered — 66%, BTW)

    Leftovers
    I became aware of some spreadsheet limitations thanks to this tool :

    1. OpenOffice can’t process percent values correctly– it imports the percent data from the CSV file but sorts it alphabetically rather than numerically.
    2. Google Spreadsheet expects CSV to really be comma-delimited– forget about any other delimiters. Also, line length is an issue which is why I needed my tool to omit the uncovered ine number ranges, which it does in its default state.
  • Anomalie #3014 : Chaines de langue de "Forums" utilisées dans la "dist"

    24 décembre 2017, par b b

    Pour info, voici les occurrences de chaînes de langue de forum dans la dist à ce jour :

    grep -nHIirF —exclude=*.svn-base — :forum : .
    ./404.html:36 :            [(#ENVfond_erreur|==forum|oui)

    <:forum:aucun_message_forum :>

    ]
    ./article.html:56 : [

    <:forum:form_pet_message_commentaire :>

    ./inclure/forum.html:17 :

    <:accueil_site :> &gt ; ... &gt ; <:forum:forum :> #ID_FORUM

    ./forum.html:28 : [

    (#TITRE|sinon<:forum:forum :> #ID_FORUM)

    ]
    ./forum.html:38 :

    <:forum:forum_avez_selectionne :> #TITRE

    ./forum.html:41 : [

    <:forum:form_pet_message_commentaire :>

    ./breve.html:43 : [

    <:forum:form_pet_message_commentaire :>

  • FFMPEG width not divisible by 2 (639x360)

    5 octobre 2020, par yasgur99

    I am using python wrapper command of ffmepeg. I followed the tutorial from here for a "Production ready HLS" : https://docs.peer5.com/guides/production-ready-hls-vod/

    &#xA;

    This is my code :

    &#xA;

     subprocess.call([&#x27;ffmpeg&#x27;, &#x27;-y&#x27;, &#x27;-i&#x27;, download_path,&#xA;                     &#x27;-vf&#x27;, &#x27;scale=w=640:h=360:force_original_aspect_ratio=decrease&#x27;, \&#xA;                     &#x27;-c:a&#x27;, &#x27;aac&#x27;, &#x27;-ar&#x27;, &#x27;48000&#x27;, &#x27;-c:v&#x27;, &#x27;h264&#x27;, \&#xA;                     &#x27;-profile:v&#x27;, &#x27;main&#x27;, &#x27;-crf&#x27;, &#x27;20&#x27;, &#x27;-sc_threshold&#x27;, &#x27;0&#x27;, \&#xA;                     &#x27;-g&#x27;, &#x27;48&#x27;, &#x27;-keyint_min&#x27;, &#x27;48&#x27;, &#x27;-hls_time&#x27;, &#x27;4&#x27;, \&#xA;                     &#x27;-hls_playlist_type&#x27;, &#x27;vod&#x27;,  &#x27;-b:v&#x27;, &#x27;800k&#x27;, \&#xA;                     &#x27;-maxrate&#x27;, &#x27;856k&#x27;, &#x27;-bufsize&#x27;, &#x27;1200k&#x27;, &#x27;-b:a&#x27;, &#x27;96k&#x27;, \&#xA;                     &#x27;-hls_segment_filename&#x27;, upload_path &#x2B; \&#xA;                     &#x27;/360p_%03d.ts&#x27;, upload_path &#x2B; &#x27;/360p.m3u8&#x27;, \&#xA;                     &#x27;-vf&#x27;, &#x27;scale=w=842:h=480:force_original_aspect_ratio=decrease&#x27;, \&#xA;                     &#x27;-c:a&#x27;, &#x27;aac&#x27;, &#x27;-ar&#x27;, &#x27;48000&#x27;, &#x27;-c:v&#x27;, &#x27;h264&#x27;, \&#xA;                     &#x27;-profile:v&#x27;, &#x27;main&#x27;, &#x27;-crf&#x27;, &#x27;20&#x27;, &#x27;-sc_threshold&#x27;, &#x27;0&#x27;, \&#xA;                     &#x27;-g&#x27;, &#x27;48&#x27;, &#x27;-keyint_min&#x27;, &#x27;48&#x27;, &#x27;-hls_time&#x27;, &#x27;4&#x27;, \&#xA;                     &#x27;-hls_playlist_type&#x27;, &#x27;vod&#x27;, &#x27;-b:v&#x27;, &#x27;1400k&#x27;, \&#xA;                     &#x27;-maxrate&#x27;, &#x27;1498k&#x27;, &#x27;-bufsize&#x27;, &#x27;2100k&#x27;, &#x27;-b:a&#x27;, &#x27;128k&#x27;, \&#xA;                     &#x27;-hls_segment_filename&#x27;, upload_path &#x2B; \&#xA;                     &#x27;/480p_%03d.ts&#x27;, upload_path &#x2B; &#x27;/480p.m3u8&#x27;, \&#xA;                     &#x27;-vf&#x27;, &#x27;scale=w=1280:h=720:force_original_aspect_ratio=decrease&#x27;, \&#xA;                     &#x27;-c:a&#x27;, &#x27;aac&#x27;, &#x27;-ar&#x27;, &#x27;48000&#x27;, &#x27;-c:v&#x27;, &#x27;h264&#x27;, \&#xA;                     &#x27;-profile:v&#x27;, &#x27;main&#x27;, &#x27;-crf&#x27;, &#x27;20&#x27;, &#x27;-sc_threshold&#x27;, &#x27;0&#x27;, \&#xA;                     &#x27;-g&#x27;, &#x27;48&#x27;, &#x27;-keyint_min&#x27;, &#x27;48&#x27;, &#x27;-hls_time&#x27;, &#x27;4&#x27;, \&#xA;                     &#x27;-hls_playlist_type&#x27;, &#x27;vod&#x27;, &#x27;-b:v&#x27;, &#x27;2800k&#x27;, \&#xA;                     &#x27;-maxrate&#x27;, &#x27;2996k&#x27;, &#x27;-bufsize&#x27;, &#x27;4200k&#x27;, &#x27;-b:a&#x27;, &#x27;128k&#x27;, \&#xA;                     &#x27;-hls_segment_filename&#x27;, upload_path &#x2B; \&#xA;                     &#x27;/720p_%03d.ts&#x27;, upload_path &#x2B; &#x27;/720p.m3u8&#x27;, \&#xA;                     &#x27;-vf&#x27;, &#x27;scale=w=1920:h=1080:force_original_aspect_ratio=decrease&#x27;, \&#xA;                     &#x27;-c:a&#x27;, &#x27;aac&#x27;, &#x27;-ar&#x27;, &#x27;48000&#x27;, &#x27;-c:v&#x27;, &#x27;h264&#x27;, \&#xA;                     &#x27;-profile:v&#x27;, &#x27;main&#x27;, &#x27;-crf&#x27;, &#x27;20&#x27;, &#x27;-sc_threshold&#x27;, &#x27;0&#x27;, \&#xA;                     &#x27;-g&#x27;, &#x27;48&#x27;, &#x27;-keyint_min&#x27;, &#x27;48&#x27;, &#x27;-hls_time&#x27;, &#x27;4&#x27;, \&#xA;                     &#x27;-hls_playlist_type&#x27;, &#x27;vod&#x27;, &#x27;-b:v&#x27;, &#x27;5000k&#x27;, \&#xA;                     &#x27;-maxrate&#x27;, &#x27;5350k&#x27;, &#x27;-bufsize&#x27;, &#x27;7500k&#x27;, &#x27;-b:a&#x27;, &#x27;192k&#x27;, \&#xA;                     &#x27;-hls_segment_filename&#x27;, upload_path &#x2B; &#x27;/1080p_%03d.ts&#x27;, upload_path &#x2B; &#x27;/1080p.m3u8&#x27;])&#xA;

    &#xA;

    And getting this output

    &#xA;

    [libx264 @ 0x7fb95500c800] width not divisible by 2 (639x360)&#xA;Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height&#xA;

    &#xA;

    Any ideas of whats going wrong ?

    &#xA;