Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (96)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (13639)

  • Piwik 3 Release Candidate

    14 décembre 2016, par Piwik Core Team — Development

    The release candidate for Piwik 3 is now available.

    RC means we think we’re done, but it’s possible we’ve missed something. We hope to ship Piwik 3 on Sunday, December 18th (updated). If you haven’t tested Piwik 3 yet, now is the time ! To test Piwik 3, you can use the beta release channel or you can download the release candidate here (zip).

    Piwik 3 is a jam-packed release, with a number of features focused on security, performance, and more advanced analytics capabilities. Highlights include new UI design, responsive experience on mobile, better email reports, secure password storage, better tracking of downloads and outlinks, and more.

    Not sure where to start with testing ? Try setting up a new installation and taking notes on what you enjoyed and what got you stuck. For more details about what’s new in version 3.0, check out the beta 1, beta 2, beta 3, beta 4 changelogs as well as these blog posts : Piwik 3 overview, and Important notes and API breaking changes in Piwik 3.

    Think you’ve found a bug ? Please post to our Issues tracker. If any known issues come up, you’ll be able to search and find them there.

    Developers, please test your plugins and themes against Piwik 3 and update your plugin.json to require Piwik 3. An in-depth field guide to developer-focused changes and plugin migration is published on the Developer website.

    Do you speak a language other than English ? Help us translate Piwik into more than 50 languages !

    Happy testing !

  • Windows - FFmpeg - How to map a jpg file to video stream 0:0 and include only audio stream 0:2 and not stream 0:1 and 0:2 together

    21 juin 2020, par slyfox1186

    I am trying to write a batch script that begins by extracting a thumbnail "Cover.jpg" from an mkv video. My end goal is to have this script recursively loop a folder full of videos to encode them all in one go.

    



    :: create cover art jpg
for %%G in (*.mkv) do (
%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg
)


    



    Then I am trying to encode the 4K mkv video that I got the jpg thumbnail from to 1920x1080 resolution instead of it's native 4K to make it easier to play back on my home plex server.

    



    I have surround sound 6 channel speaker system so I want to take audio stream 0:2 which is Dolby DTS 6 channel and save some HDD space by converting it to -c:a ac3 -b:a 640k -ac 6.

    



    I have gotten stuck because I can achieve everything I want except I keep encoding 2 of the 4 audio streams available in the end. I only want to keep 1 audio stream to maximize my space savings.

    



    Here is the entire script so far.

    



    @echo off
setlocal enabledelayedexpansion
prompt $g
color 0a

pushd "%~dp0"

set FF=C:\MAB\local64\bin-video\ffmpeg.exe
set TITLE=MOVIETITLE

:: create cover art jpg file
for %%G in (*.mkv) do (
%FF% -hide_banner -ss 30 -y -i "%%G" -vframes 1 -an Cover.jpg
)

:: run ffmpeg x265
for %%I in (*.mkv) do (
set fname="%%~nxI"
set fout="%%~nI-temp.mkv"
call :runff !fname! !fout!
del /s /q *.jpg
pause
goto:eof
)

:runff
%FF% -ss 0 ^
-y ^
-i "%~1" ^
-attach "Cover.jpg" ^
-map_metadata 0 ^
-map_chapters 0 ^
-metadata title="%TITLE%" ^
-map 0:0 -metadata:s:v:0 language=eng ^
-map 0:2 -metadata:s:a:0 language=eng -metadata:s:a:0 title="Surround 5.1 (DTS)" ^
-map 0:3 -metadata:s:s:0 language=eng -metadata:s:s:0 title="English" -metadata:s:t:0 filename="Cover.jpg" -metadata:s:t:0 mimetype="image/jpeg" ^
-c:v libx265 -preset medium ^
-x265-params crf=18:qcomp=0.8:aq-mode=1:aq_strength=1.0:qg-size=16:psy-rd=0.7:psy-rdoq=5.0:rdoq-level=1:merange=44 ^
-c:a ac3 -b:a 640k -ac 6 ^
-t 3 ^
"%~2"
exit /b


    



    Here are the output logs. https://pastebin.com/hVMy3VJW

    



    You can see towards the bottom that it is encoding both audio streams.

    



    Any ideas guys ?

    


  • Assertion error when encoding video using ffmpeg library on visual studio c++

    18 juin 2015, par Leon Phan

    I have a project, that i need to received data from a rtsp link, decode,resize video, encode it and save to .mp4 file.

    this is my code :

    AVPacket destPacket;
    av_init_packet(&destPacket);
    destPacket.data = NULL;
    destPacket.size = 0;
    while(av_read_frame(i_format_context, &packet)>=0) {
       if(packet.stream_index==video_stream_index) {
           int rest = avcodec_decode_video2(copyInputCodec, pFrame, &frameFinished, &packet);
           if(frameFinished) {
               av_init_packet(&destPacket);
               destPacket.data = NULL;
               destPacket.size = 0;
               av_free_packet(&destPacket);
               //deocde here
               int ret_scale = sws_scale(sws_ctx,pFrame->data,pFrame->linesize,0,copyInputCodec->height,encodeFrame->data,encodeFrame->linesize);
               encodeFrame->pts=i;
               int ret_enc = avcodec_encode_video2(copyOutputCodec,&destPacket,encodeFrame,&encodeFinishsed);//<--- Problem here.
               getchar();
           }
       }
    }

    And this is output error

    [swscaler @ 00607880] Warning : data is not aligned ! This can lead to a
    speedlo ss
    Assertion avctx->codec->encode2 failed at /home/kyle/software/ffmpeg/source/ffmp
    eg-git/libavcodec/utils.c:2134

    I try to run many sample code to encode video, the result is same.

    Thanks for help.

    PS : sorry about my English skill.