Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (61)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • 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

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (6367)

  • ffmpeg scaling nvenc maintaining aspect ratio

    3 novembre 2019, par Sambir

    I want to fully hw transcode mkv files to mp4 and up- /downscale the content maintaning the aspect ratio.

    With CPU based transcoding you just add :

    scale=1920:1080:force_original_aspect_ratio=decrease

    With HW (CUDA) transcoding either -resize on Decoding side or -scale_npp on encoding side is possible but both dont seem to be capable to force original acpect ratio.

    I want to for instance upscale 1920x800 file to 1920x1080 while filling the rest with black bars so I can overlay subtitles over the bars for instance...

    With this i can fully transcoding using GPU power reather than utilizing cpu. any ideas ?

  • ffmpeg udp capture not working

    27 février 2017, par user3172852

    I have confirmed that there is incoming UDP packets at port 5968 of my computer with wireshark.
    However when I try to capture these packets with ffmpeg. After exiting (ctrl+c) I get no output, the output file is not even written to disk. This is what my terminal looks like.

    ubuntu@ip-132-31-40-100:~$ ffmpeg -i udp://127.0.0.1:59618 -vcodec copy stream.mp4
       ffmpeg version git-2017-01-22-f1214ad Copyright (c) 2000-2017 the FFmpeg developers
         built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
         configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
         libavutil      55. 44.100 / 55. 44.100
         libavcodec     57. 75.100 / 57. 75.100
         libavformat    57. 63.100 / 57. 63.100
         libavdevice    57.  2.100 / 57.  2.100
         libavfilter     6. 69.100 /  6. 69.100
         libavresample   3.  2.  0 /  3.  2.  0
         libswscale      4.  3.101 /  4.  3.101
         libswresample   2.  4.100 /  2.  4.100
         libpostproc    54.  2.100 / 54.  2.100
  • FFMPEG Combine multiple commands into one script

    16 février 2017, par ObeeWnn

    I need some help combining ffmpeg commands into a python or bash script :

    \Download
    Youtube-dl URL

    \Concatenate videos

    WD = "C:\"
    import glob
    files = glob.glob ('*.mp4')
    with open ('output.txt', 'w') as in_files:
       for eachfile in files: in_files.write('file \''+eachfile+'\'\n')

    ffmpeg -y -f concat -i output.txt -c copy input.mp4

    \Encode
    ffmpeg -y -threads 16 -i input.mp4 -c:a libfdk_aac -vbr 4 -c:v libx264 intermediate1.ts
    ffmpeg -y -threads 16 -i endscreen720.mp4 -c:a libfdk_aac -vbr 4 -c:v libx264 intermediate2.ts
    ffmpeg -y -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc tmp.mp4
    ffmpeg -y -i tmp.mp4 -itsoffset 00:00:20 -i lt1sub.avi -filter_complex overlay tmp1.mp4
    ffmpeg -y -i tmp1.mp4 -i intro.avi -filter_complex overlay tmp1a.mp4
    ffmpeg -y -i tmp1a.mp4 -i watermarkfile720.png -filter_complex "[0:v]drawtext=enable='between(n,30,116)' : 'fontfile=/Windows/Fonts/arial.ttf':text='TEXTGOESHERE':fontcolor=white:fontsize=50:x=150:y=(300)+th[text]; [text][1:v]overlay[filtered]" -map "[filtered]" -map 0:a -codec:v libx264 -codec:a copy tmp2.mp4
    ffmpeg -y -i tmp2.mp4 -r 60 -vf scale=1920:1080 output.mp4


    \Create Thumbnail
    ffmpeg -y -i tmp1.mp4 -vf drawtext="fontfile=/Windows/Fonts/arial.ttf': text='':fontcolor=white@1.0:fontsize=120:y=0:x=100" -ss 00:00:12 -vframes 1 out.png

    set /p input= Video #

    ffmpeg -y -i out.png  -i tnOverlay.png -filter_complex overlay,drawtext="fontfile=/Windows/Fonts/arial.ttf': text="%input%":fontcolor=white@1.0:fontsize=120:y=25:x=1190" out.png

    This is to download videos, place an intro video in the beginning, draw text over intro, concatenate the videos, apply watermark throughout video, apply outro, create thumbnail, etc.
    My FFmpeg compile :

    ffmpeg version N-83522-g6a37abc59a Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 6.3.0 (Rev1, Built by MSYS2 project)
     configuration:  --enable-avisynth --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-cuda --enable-cuvid --enable-schannel --enable-sdl2 --enable-decklink --enable-fontconfig --enable-frei0r --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmfx --enable-libmodplug --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxavs --enable-libxvid --enable-libzimg --enable-openssl --enable-libsnappy --enable-gpl --enable-opencl --enable-opengl --enable-libcdio --enable-libfdk-aac --enable-libkvazaar --enable-librubberband --enable-libssh --enable-libtesseract --enable-libzvbi --enable-chromaprint --enable-libopenh264 --enable-libopenmpt --enable-netcdf --disable-w32threads --enable-version3 --enable-nonfree --enable-filter=frei0r --disable-debug
     libavutil      55. 47.100 / 55. 47.100
     libavcodec     57. 80.100 / 57. 80.100
     libavformat    57. 66.102 / 57. 66.102
     libavdevice    57.  2.100 / 57.  2.100
     libavfilter     6. 73.100 /  6. 73.100
     libswscale      4.  3.101 /  4.  3.101
     libswresample   2.  4.100 /  2.  4.100
     libpostproc    54.  2.100 / 54.  2.100

    Would like to use libfdk-aac and x264, or highest quality possible. The video source will be at 720p60fps and will be rendered to 1080p60fps.