Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (70)

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

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

  • FFmpeg metadata tags for YouTube 3D side-by-side movies

    17 février 2021, par Some1Else

    YouTube requires specific metadata tags for 3D Side-By-Side format movies. If the tag is not there then YouTube does not give the anaglyph playback options for the end user.

    



    Their "help" is here
https://support.google.com/youtube/answer/7278886?hl=en-GB

    



    I am trying to get FFmpeg to add the MP4 tag when building my movie.

    



    Code that works now for a series of PNG files into a MP4.

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y "OUTPUT.MP4"


    



    But when I add the tag from the YouTube help page

    



    "ffmpeg.exe" -framerate 60 -i "VID%05d.PNG" -c:v libx264 -preset:v veryslow -profile:v high -crf 15 -s 1280x720 -pix_fmt yuvj420p -an -y -x264opts "frame-packing=3:frame-packing-interpret=1:frame-packing-quincunx=0:frame-packing-grid=0,0,0,0" "OUTPUT.MP4"


    



    I get this error from FFmpeg

    



    [libx264 @ 0000000002a8c3a0] bad option 'frame-packing-interpret': '1'


    



    This page (ignore the proselytising)

    



    http://www.pantherdynamics.yolasite.com/panther-dynamics-blog/uploading-3dsbs-content-to-youtube

    



    says you only need to use this tag

    



    -x264opts frame-packing=3


    



    Using that does make FFmpeg finish correctly, but the SBS is still ignored by YouTube

    



    The YouTube engineer blog post here

    



    https://youtube-eng.googleblog.com/2011/09/getting-3d-content-on-youtube_8.html

    



    links to an older supposed 3D movie that also does not give 3D options any more.

    



    https://www.youtube.com/watch?v=ubRHSg5daMs

    



    So maybe even YouTube's own 3D movies are crippled ?

    



    What am I doing wrong ? Any FFmpeg gurus able to help ?

    


  • How to use ffmpeg to encode isolated motion vectors (using codecview)

    22 juillet 2021, par Temmeh

    I have been successfully using this command to superimpose MPEG motion vectors onto a video :

    


    ffmpeg -v error -flags2 +export_mvs -i input.mp4 -vf codecview=mv=pf+bf+bb -y output.mp4

    


    Now I would like to be able to export an h264 mp4 of just the motion vector arrows, like in this example, without the original video layered underneath. I checked the codecview documentation and and did not find a flag or option to do this.

    


    Any help is appreciated !

    


  • Python script and equivalent command do not run the same

    19 août 2021, par user32882

    I would like to use youtubedl to download the audio from a YouTube video into an mp3 file. I came up with the following command to do so :

    


    youtube-dl -x --audio-format mp3 https://www.youtube.com/watch?v=SF8DGbfOFig&ab_channel=derang

    


    When I run the above command through my command line, it seems that I successfully manage to download the file in mp3 format :

    


    [youtube] SF8DGbfOFig: Downloading webpage
[download] Destination: Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k]-SF8DGbfOFig.webm
[download] 100% of 5.57MiB in 00:03
[ffmpeg] Destination: Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k]-SF8DGbfOFig.mp3
Deleting original file Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k]-SF8DGbfOFig.webm (pass -k to keep)


    


    I then tried to convert the above command to an equivalent python script as follows :

    


    import youtube_dl
links = ["https://www.youtube.com/watch?v=SF8DGbfOFig&ab_channel=derang"]
ydl_args = {
        'audioformat': 'mp3',
        'outtmpl': '%(title)s.%(ext)s',
        'extractaudio': True
    }
with youtube_dl.YoutubeDL(ydl_args) as ydl:
    results = ydl.download(links)


    


    However, this does not succeed in generating an mp3 file of the audio. These are the logs I am getting :

    


    WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k].f135.mp4
[download] 100% of 4.42MiB in 00:02
[download] Destination: Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k].f251.webm
[download] 100% of 5.57MiB in 00:03
[ffmpeg] Merging formats into "Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k].mkv"
Deleting original file Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k].f135.mp4 (pass -k to keep)
Deleting original file Total Science & S.P.Y - Piano Funk (Ft. Riya & DāM FunK) [320k].f251.webm (pass -k to keep)


    


    What am I doing wrong here ? Aren't my command and python script equivalent ?