Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (69)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (7659)

  • I use ffmpeg to encode and create MPEG file from a source MP4 file. In Mac the encoding is good but in windows it creates random green pixels [closed]

    24 mai 2024, par Amudhan R

    I use ffmpeg 3.4.2 version to encode and create an MPEG-TS file using H.264 encoding. In both Windows and Mac the ffmpeg creates the video without any error. But the resultant video from windows having a green pixels on certain frames. No idea why this is happening.

    


    Below is the encoding command :

    


    ffmpeg -i VIDEO_SOURCE.mp4 -vf scale=720:480 -c:v libx264 -b:v 2M -minrate 2M -maxrate 2M -bufsize 2M -level:v 40 -profile:v main -bf:v 2 -r 30 -crf 22 -x264-params 'keyint=3:min-keyint=3:ref=2:8x8dct=0:weightp=1:subme=6:rc-lookahead=30' -c:a aac -b:a 130k -ar 48000 -f mpegts -filter_complex alimiter=level_in=1:level_out=1:limit=0.15:attack=7:release=100:level=0 VIDEO_ENCODED.mpeg

    


    But the resultant video from windows having green pixels on certain frames. No idea why this is happening.

    


  • FileNotFoundError : [WinError 2] The system cannot find the file specified (using ffmpeg.probe())

    28 octobre 2022, par Hjalti Geir Ágústsson

    I'm trying to access metadata for a video using ffmpeg.probe() and it gives this error message. There is very little info on probe online.

    


    import os
import ffmpeg


os.chdir('E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO')

pprint(ffmpeg.probe(filename='Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))



    


    I have also tried this, and got the same error message :

    


    pprint(ffmpeg.probe(filename='E:/F/Salvaged goods/Videos/Miro/Kvikmyndir/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO/Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv', cmd='ffprobe'))


    


    Here is the Traceback :

    


    Traceback (most recent call last):&#xA;  File "C:\Users\hjalt\PycharmProjects\HelloWorld\app_builder.py", line 50, in <module>&#xA;    pprint(ffmpeg.probe(filename=&#x27;Blade_Runner_2049.1080p.WEB-DL.H264.AC3-EVO.mkv&#x27;, cmd=&#x27;ffprobe&#x27;))&#xA;  File "C:\Users\hjalt\PycharmProjects\HelloWorld\venv\lib\site-packages\ffmpeg\_probe.py", line 20, in probe&#xA;    p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)&#xA;  File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Users\hjalt\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

  • How to convert messed-up .vtt sub file from youtube-dl —write-auto-sub download ?

    27 septembre 2023, par perry_the_python

    My goal is to download a YouTube video with auto-generated subtitles in a separate file like .vtt,.srt, etc.

    &#xA;

    I am currently trying to achieve this with youtube-dl but I am open to other solutions if needed.

    &#xA;

    When I run the following command, it downloads the video as .mp4 (which is fine) and a separate .vtt file, but the .vtt seems to be messed-up somehow and displays all the text for the whole clip at once instead of the specified times.

    &#xA;

    Command I am running :

    &#xA;

    youtube-dl --write-auto-sub https://www.youtube.com/watch?v=Roc89oOZOF4&amp;list=PLJBo3iyb1U0eNNN4Dij3N-d0rCJpMyAKQ&amp;index=45&#xA;

    &#xA;

    Downloads this .vtt :

    &#xA;

    WEBVTT&#xA;Kind: captions&#xA;Language: en&#xA;&#xA;00:00:05.960 --> 00:00:08.290 align:start position:0%&#xA; &#xA;thank &lt;00:00:06.003><c>you  </c>&lt;00:00:06.046><c>ah </c>&lt;00:00:06.089><c>crap  </c>&lt;00:00:06.132><c>well </c>&lt;00:00:06.175><c>looks </c>&lt;00:00:06.218><c>like </c>&lt;00:00:06.261><c>the </c>&lt;00:00:06.304><c>good </c>&lt;00:00:06.347><c>Lord </c>&lt;00:00:06.390><c>just </c>&lt;00:00:06.433><c>sent  </c>&lt;00:00:06.476><c>me </c>&lt;00:00:06.519><c>a </c>&lt;00:00:06.562><c>conversation </c>&lt;00:00:06.605><c>starter </c>&lt;00:00:06.648><c>come </c>&lt;00:00:06.691><c>here  </c>&lt;00:00:06.734><c>Jesse </c>&lt;00:00:06.777><c>come </c>&lt;00:00:06.820><c>get </c>&lt;00:00:06.863><c>the </c>&lt;00:00:06.906><c>ball  </c>&lt;00:00:06.949><c>hmm</c>&#xA;&#xA;00:00:08.290 --> 00:00:10.549 align:start position:0%&#xA;thank you  ah crap  well looks like the good Lord just sent  me a conversation starter come here  Jesse come get the ball  hmm&#xA; &#xA;&#xA;00:00:10.549 --> 00:00:13.070 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:13.070 --> 00:00:15.470 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:15.470 --> 00:00:23.750 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:23.750 --> 00:00:23.760 align:start position:0%&#xA; &#xA; &#xA;&#xA;00:00:23.760 --> 00:00:26.480 align:start position:0%&#xA; &#xA;&#xA;&#xA;&#xA;

    &#xA;

    I have read that this may be done on purpose by YouTube.

    &#xA;

    Even if this is true, is there any way to convert this .vtt to a usable format or simply download correctly-formatted auto-generated subtitles from YouTube ?

    &#xA;

    Python, FFMPEG, cmd-line preferred, but anything is helpful !

    &#xA;

    Thanks ! Any and all assistance is greatly appreciated !

    &#xA;