Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

Sur d’autres sites (10012)

  • Merge commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’

    28 mai 2014, par Michael Niedermayer
    Merge commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’
    

    * commit ’23f741f79327e31be7b2a75ebb2e02111e06e52f’ :
    matroskadec : parse the channel layout mask for FLAC

    Conflicts :
    libavformat/oggparsevorbis.c

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/Makefile
    • [DH] libavformat/flacdec.c
    • [DH] libavformat/matroskadec.c
    • [DH] libavformat/oggdec.h
    • [DH] libavformat/oggparsecelt.c
    • [DH] libavformat/oggparseflac.c
    • [DH] libavformat/oggparseogm.c
    • [DH] libavformat/oggparseopus.c
    • [DH] libavformat/oggparsespeex.c
    • [DH] libavformat/oggparsetheora.c
    • [DH] libavformat/oggparsevorbis.c
    • [DH] libavformat/oggparsevp8.c
  • Merge remote-tracking branch ’rbultje/vp9-profile1-wip’

    1er mai 2015, par Michael Niedermayer
    Merge remote-tracking branch ’rbultje/vp9-profile1-wip’
    

    * rbultje/vp9-profile1-wip :
    vp9 : add fate test for 422.
    vp9 : copy bug in libvpx for 4:2:2 chroma bs=8x4/4x4 prediction.
    vp9 : add yuv440 fate test.
    vp9 : fix mask_edges and filter_plane_rows/cols() for 440.
    vp9 : more specifically specify mask destination to mask_edges().
    vp9 : add fate test for profile 1 444.
    vp9 : don’t create special u/v filter masks for 444.
    vp9 : merge uv loopfilter code into generic filter_plane_rows/cols().
    vp9 : split out loopfilter luma rows/cols functions from loopfilter_sb().
    vp9 : invert order of two conditions.
    vp9 : use correct chroma subsampling for profile 1 inter block recon.
    vp9 : use correct chroma subsampling for profile 1 intra block recon.
    vp9 : take chroma subsampling into account when walking the block tree.
    vp9 : support non-420 chroma subsampling for profile 1 token decoding.
    vp9 : increase buffer sizes for non-420 chroma subsamplings.
    vp9 : profile 1 header decoding.

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/vp9.c
    • [DH] libavcodec/vp9_mc_template.c
    • [DH] tests/fate/vpx.mak
    • [DH] tests/ref/fate/vp9p1-04-yuv422
    • [DH] tests/ref/fate/vp9p1-04-yuv440
    • [DH] tests/ref/fate/vp9p1-04-yuv444
  • ffprobe to bitrate variable stopped working

    6 novembre 2023, par Bricktop

    I have a simple script to encode a video using the same bitrate as the original. I use ffprobe to fetch the bitrate like this :

    &#xA;

    ffprobe "%file%" -v 0 -select_streams v:0 -show_entries stream=bit_rate -print_format compact=p=0:nokey=1 >%temp%\bitrate.txt&#xA;

    &#xA;

    However, while fixing a but in the script where I had an odd number of " marks, I suddenly ran into this problem with ffprobe :

    &#xA;

    Argument &#x27; -v 0 -select_streams v:0 -show_entries stream=bit_rate -print_format compact=p=0:nokey=1 >C:\Users\ADMINI~1\AppData\Local\Temp\bitrate.txt&#x27; provided as input filename, but &#x27;D:\VIDEO\AMBIANCE\SCOPITONE\MUSIC TELEVISION\This Here - Calm - OFFICIAL VIDEO (1080p 25fps AV1-128kbit AAC).mp4&#x27; was already specified.&#xA;

    &#xA;

    I am trying to understand this, scanning insanely for yet another " or something in my code but can't figure it out. Here is the full code :

    &#xA;

    :: write file to queue (first)&#xA;move /y "%~dpn0.txt" "%temp%\%~n0.tmp" >nul&#xA;echo "%~1" >"%~dpn0.txt"&#xA;type "%temp%\%~n0.tmp" >>"%~dpn0.txt"&#xA;&#xA;:: desyncronize instances (todo: try support for adding 9 files at a time)&#xA;timeout /t %time:~9,1% /nobreak&#xA;:: if not first instance exit&#xA;tasklist /fi "imagename eq handbrakecli.exe" | find /i "handbrakecli" &amp;&amp; exit&#xA;title Transcode&#xA;&#xA;:: delegate queue&#xA;for /f "delims=" %%f in (%~dpn0.txt) do (&#xA;    set "name=%%~nf"&#xA;    set "file=%%~f"&#xA;    rem todo: if file has x264 or other video codec mentioned, change to x265&#xA;    set "code=%%~dpnf (x265 transcoded)%%~xf"&#xA;    call :transcode&#xA;)&#xA;echo all done!&#xA;exit /b&#xA;&#xA;:transcode&#xA;title "%name%"&#xA;if not exist "%file%" echo %date% %time% source file missing %file% >>%~dpn0.log &amp; goto cleanup&#xA;if exist "%code%" echo %date% %time% target file exists %file% >>%~dpn0.log &amp; goto cleanup&#xA;&#xA;:: determine appropriate bitrate (does not seem to work on .webm files, closing the script as a result)&#xA;%~dp0ffprobe "%file%" -v 0 -select_streams v:0 -show_entries stream=bit_rate -print_format compact=p=0:nokey=1 >%temp%\bitrate.txt&#xA;set /p bitrate=&lt;%temp%\bitrate.txt&#xA;:: reduce to full kilobytes&#xA;set "bitrate=%bitrate:~0,-3%"&#xA;if not defined bitrate echo failed to fetch bitrate &amp; echo %date% %time% no bitrate for %file% >>%~dpn0.log &amp; exit /b&#xA;if %bitrate% gtr 7000 set bitrate=7000&#xA;&#xA;:: transcode&#xA;%~dp0HandBrakeCLI -i "%file%" -o "%code%" --encoder x265_10bit --encoder-preset slow --encoder-profile main444-10 --vb %bitrate% --two-pass --turbo --audio 1-9 --aencoder copy --audio-copy-mask aac,ac3,mp2,mp3,opus --audio-fallback opus --ab 160 --drc 2.0&#xA;&#xA;:: remove current file from queue, regardless&#xA;:cleanup&#xA;findstr /v /c:"%file%" "%~dpn0.txt" >"%temp%\%~n0.tmp"&#xA;move /y "%temp%\%~n0.tmp" "%~dpn0.txt"&#xA;

    &#xA;

    It appears that the set "file=%%~f" is the problem, somehow it shows up as set "file=D:\VIDEO\this video here.mp4" " where the last two characters " should not belong, and I don't know what to change to fix this.

    &#xA;

    Every type of improvement to the script is very welcomed !

    &#xA;