Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (13)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Déploiements possibles

    31 janvier 2010, par

    Deux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
    L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
    Version mono serveur
    La version mono serveur consiste à n’utiliser qu’une (...)

Sur d’autres sites (4214)

  • ffmpeg livestream from static image and audio

    23 mai 2017, par boygiandi

    I’m trying to livestream by ffmpeg using static image and audio file. The ffmpeg command like this

    ffmpeg -re -loop 1 -f image2 -i ’/tmp/11.jpg’ -f lavfi -i amovie=/tmp/5117.mp3:loop=999 -video_size 600x480 -c:v libx264 -x264-params keyint=60 -bufsize 500k -c:a aac -ar 44100 -b:a 128k -r 30 -g 60 -pix_fmt yuv420p -f flv "rtmp ://"

    /tmp/11.jpg was generated by another process and keep updated twice per second. The ffmpeg command doesn’t look right, first, it show status like this

    frame= 85 fps=9.4 q=29.0 size= 2261kB time=00:02:24.19 bitrate= 128.4kbits/s speed= 16x

    As you see, 16x is not good, 1x is the right value for livestream. Then, after a while, it show many warning log like this

    [flv @ 0x322bd60] Non-monotonous DTS in output stream 0:1 ; previous : 335993, current : 297752 ; changing to 335993. This may result in incorrect timestamps in the output file.

    Please help to fix it.

  • Solving The XVD Puzzle

    15 avril 2012, par Multimedia Mike — General, multimedi archaeology, silicon valley, vg2, xvd, zygo

    I downloaded a multimedia file a long time ago (at least, I strongly suspected it was a multimedia file which is why I downloaded it). It went by the name of ‘lamborghini_850kbps.vg2′. I have had it in my collection for at least 7 years. I couldn’t remember where I found it. I downloaded it before it occurred to me to take notes about this sort of stuff.

    I found myself staring at the file again today and Googled the filename. This led me to a few Japanese sites which also contained working URLs for a few more .vg2 samples. Some other clues led me to a Russian language forum where someone had linked to a site that had Win32 codec modules that could process the files. The site was defunct but the Internet Archive Wayback Machine kept a copy for me, as well as copies of several more .vg2 samples from a defunct Japanese site previously involved with this codec.

    Sometimes this internet technology works really well. But I digress.

    Anyway, through all this, I finally found a clue : XVD. and wouldn’t you know, there is already a basic page on the MultimediaWiki describing the technology. In fact, while VG2 is a custom container, the MultimediaWiki states that the video component has a FourCC of VGMV, and there is already a file named VGMV.avi in the root V-codecs/ samples directory, something I vow to correct (that’s a big pet peeve of mine– putting samples in the root V-codecs/ or A-codecs/ directories).

    XVD… XVD… XVD… why does that sound so familiar ? Oh, of course ; there is a company named XVD and they have an office in the Bay Area which I have passed on numerous occasions, like this morning :


    <

    Someone originally connected with the multimedia technology in question operates a website which contains an unofficial history of the XVD tech. At first, I was wondering if the technology was completely defunct (and should therefore be open sourced). But if XVD’s solutions page (dated 2010) is to be believed, the technology is still in service, and purported to be better than H.264 and VC-1 : “The current generation of XVD video compression technology provides better video quality at any given data rate than standards-based codecs (H.264 or VC-1) with four times lower encoding complexity (when compared with H.264 Main Profile).”

    If they say so. For my part, I’m just happy that I have finally figured out what this lamborghini_850kbps.vg2 is so that I can properly catalog it on the samples site, which I have now done, along with other samples and various codecs modules.

    This episode reminds me that there’s a branch office of Zygo Corporation close to my home (though the headquarters are far, far away). The companies you see in Silicon Valley. Anyway, long-time open source multimedia hackers will no doubt recognize Zygo from the ZyGo FourCC & video codec transported in QuickTime files that was almost decode-able using an H.263 decoder.



    I may never learn what Zygo’s core competency actually is, but I will always remember their multimedia tech every time I run past their office.

  • How to Download YouTube Videos in 1080p with English Subtitles Using yt-dlp with Python 3

    30 juillet 2024, par edge selcuk

    I am trying to download YouTube videos using yt-dlp in Python 3.9. I want to download videos in 1080p quality and if 1080p is not available, it should download the best available quality. The audio and video files should be merged into a single MP4 file, and I have ffmpeg installed to handle the merging process.

    &#xA;

    Here is my script :

    &#xA;

    import os&#xA;import sys&#xA;from yt_dlp import YoutubeDL&#xA;&#xA;def download_video(url):&#xA;    output_dir = r"/path"  # Update this path&#xA;&#xA;    # Ensure the output directory exists&#xA;    if not os.path.exists(output_dir):&#xA;        os.makedirs(output_dir)&#xA;    &#xA;    ydl_opts = {&#xA;        &#x27;format&#x27;: &#x27;(bestvideo[height&lt;=1080][ext=mp4]/bestvideo)&#x2B;bestaudio/best&#x27;,&#xA;        &#x27;merge_output_format&#x27;: &#x27;mp4&#x27;,&#xA;        &#x27;write_auto_sub&#x27;: True,&#xA;        &#x27;writesubtitles&#x27;: True,&#xA;        &#x27;subtitleslangs&#x27;: [&#x27;en&#x27;],&#xA;        &#x27;subtitlesformat&#x27;: &#x27;vtt&#x27;,&#xA;        &#x27;embedsubtitles&#x27;: True,&#xA;        &#x27;outtmpl&#x27;: os.path.join(output_dir, &#x27;%(title)s.%(ext)s&#x27;),&#xA;        &#x27;postprocessors&#x27;: [{&#xA;            &#x27;key&#x27;: &#x27;FFmpegVideoConvertor&#x27;,&#xA;            &#x27;preferedformat&#x27;: &#x27;mp4&#x27;,&#xA;        }],&#xA;    }&#xA;&#xA;    with YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([url])&#xA;&#xA;if __name__ == "__main__":&#xA;    if len(sys.argv) != 2:&#xA;        print("Usage: python download_video.py ")&#xA;        sys.exit(1)&#xA;&#xA;    youtube_url = sys.argv[1]&#xA;    download_video(youtube_url)&#xA;

    &#xA;

    This script successfully downloads the video in 1080p quality or the best available quality and merges the audio and video files as intended. However, it does not download the subtitles as intended.

    &#xA;

    I have ffmpeg installed for merging the video and audio files. How can I modify this script to ensure that English subtitles are downloaded and embedded in the video file ?

    &#xA;