Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (111)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Que fait exactement ce script ?

    18 janvier 2011, par

    Ce script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
    Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
    Installation de dépendances de MediaSPIP
    Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
    Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)

Sur d’autres sites (10333)

  • Windows FFMPEG concat from list and log each file inputted into to ffmpeg [closed]

    4 janvier 2021, par hammer head down

    Ok i have a working batch filr, where I grab from a text file a list of videos to concat as such

    


    ffconcat version 1.0
file 'dan_Ep_01HardWater.ts'
file 'dan_Ep_02GoldieTheGoldfish.ts'
file 'list2.txt


    


    I then feed that to ffmpeg and display on ffplay at the same time using this code :

    


    bin\ffmpeg -hide_banner -loglevel quiet -report -stats -re -f concat -safe 0 -stream_loop -1 -i %list% -flags +global_header -auto_convert 1 -c:v libx264 -bsf:v h264_mp4toannexb -c:a aac -b:a 128k -ac 2 -ar 44100 -bsf:a aac_adtstoasc -preset veryfast -b:v 1984k -maxrate 1984k -bufsize 3968k -tune zerolatency -vf "pp=hb/vb/dr/fq|8,crop=in_w-20:in_h-40,scale=960:540:flags=lanczos,setsar=1,format=yuv420p,eq=gamma=0.95" -g 50 -fflags +genpts -map 0:v -map 0:a -f tee "[select=v,a:movflags=+faststart]%stream%|[f=flv]%video%|[f=nut]pipe:" | bin\ffplay -hide_banner -loglevel 0 pipe:  -window_title "Stream Monitor 1.0 - (powered by FFPlay)  --   NOTE: closing me stops your streaming!" -x 640 -y 480  -sync audio -autoexit -exitonmousedown -autorotate


    


    I know some variables are not showing from batch file but I think you get the point if not i can add a link to maybe pastebin with full batch file

    


    So this works great but i want o be able to log which file that ffmpeg has just worked on or is working on to a log file.

    


    because i am piping to ffplay which i do NOT want to change took me too long to get it working lol plus its valuable

    


    the reason for doing this is when i am creating my next list.txt to feed to FFmpeg i do not want to do the same file twice.

    


    im guessing cause i am using windows it will be some extra work in pure Batch but the first step is to get the file info to a text file

    


    I cant use > out.txt 2> err.txt is it possible to create another pipe ?

    


    I thought of using ffprobe and pipeing to ffmpeg but couldn't find any info on how to do that either, abt

    


    I'm just lost and I can NOT find any info on the web, I hope I asked correctly here. if not please explain what I did wrong b4 downvoting or other wise. thanks

    


  • Given 2 input videos of different lengths at 60 FPS with multiple common sections in between, what is the best way to sync them at the common section ?

    27 janvier 2024, par PirateApp

    enter image description here
input vs output

    


      

    • In my actual case, there are 4 videos (basically gaming videos recorded from 4 different machines)
    • 


    • Each video may start or end at different duration (manually controlled by people starting and stopping recording and therefore their lengths vary slightly)
    • 


    • Each video has one or more common sections (basically a cutscene playing at the same time)
    • 


    • The distance between the common sections is the same in every video
    • 


    • How do I sync the videos at the common section ?
    • 


    • Basically I want to create a split screen video such that the common part plays at the same time on all the sub parts of the video
    • 


    • Keep in mind that the common sections wont be EXACTLY equal (because of graphics differences between machines but highly similar like dx9 vs dx11 or gamma)
What have I tried ?
    • 


    • Naive approach
    • 


    • Start video 1 at 0, start video 2 at 0.017, render the whole thing and check if it is in sync
    • 


    • Start video 1 at 0, start video 2 at 0.033, render the whole thing and check if it is in sync
    • 


    • Basically loop through the length of the video at each frame interval, render the full video and check if we get a synced version
    • 


    


    This sounds like a terrible idea honestly

    


      for (t1 in length of video a) {
    for (t2 in length of video b) {
       render a video with a and b starting at t1, t2 respectively
       increment t2 by 0.017 for b
    }
    increment t1 by 0.017 for a
  }


    


    Final output with 4 videos should look like this all synced at common sections
enter image description here

    


    Any better ideas ?

    


  • Panasonc GH5 4K 10 Bit 25p (cannot allocate memory)

    25 novembre 2017, par Sebastian

    I am converting GH5 files with the following script. With my Notebook I get no error and it goes through but at my desktop workstation I get this error. Anybody an idea. I convert 4K 10Bit Panasonic GH5 files to AVID HQX files. No error at the notebook but the desktop pc produces this error message. OS is windows 7 just new installed because of this. Same MeGUI and FFMPEG version and development server.

    enter code here

    D:\Test>for %f in (*.mov) do "C:\Program Files (x86)\MeGUI\tools\ffmpeg\ffmpeg.e
    xe" -i "%~f" -c:a pcm_s16le -c:v dnxhd -profile:v dnxhr_hqx "%~nf_test.mov"

    D:\Test>"C:\Program Files (x86)\MeGUI\tools\ffmpeg\ffmpeg.exe" -i "P1011064.MOV"
    -c:a pcm_s16le -c:v dnxhd -profile:v dnxhr_hqx "P1011064_test.mov"
    ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
    nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
    ay --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopu
    s --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --ena
    ble-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-lib
    x264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-z
    lib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-c
    uvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-l
    ibmfx
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 005a7860] decoding for stream 0 failed
    Guessed Channel Layout for Input Stream #0.1 : stereo
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'P1011064.MOV':
     Metadata:
       major_brand     : qt
       minor_version   : 537986816
       compatible_brands: qt  pana
       creation_time   : 2017-11-19T16:16:23.000000Z
       com.panasonic.Semi-Pro.metadata.xml: <?xml version="1.0" encoding="UTF-8" st
    andalone="no" ?>
                       : <clipmain xmlns="urn:schemas-Professional-Plug-in:Semi-Pro:ClipMetadata:v1.0">
                       :   <clipcontent>
                       :     <globalclipid>060A2B340101010501010D2113000000171BA845
    E82C2C3470010E90B8D50052</globalclipid>
                       :     <duration>84</duration>
                       :     <editunit>1/25</editunit>
                       :     <essencelist>
                       :       <video>
                       :         <codec bitrate="150">H264_422_LongGOP</codec>
                       :         <activeline>2160</activeline>
                       :         <activepixel>3840</activepixel>
                       :         <bitdepth>10</bitdepth>
                       :         <framerate>25p</framerate>
                       :         <timecodetype>NonDrop</timecodetype>
                       :         <starttimecode>07:12:44:18</starttimecode>
                       :       </video>
                       :       <audio>
                       :         <channel>2</channel>
                       :         <samplingrate>48000</samplingrate>
                       :         <bitspersample>16</bitspersample>
                       :       </audio>
                       :     </essencelist>
                       :     <clipmetadata>
                       :       <rating>0</rating>
                       :       <access>
                       :         <creationdate>2017-11-19T16:16:23+02:00
                       :         <lastupdatedate>2017-11-19T16:16:23+02:00
                       :       </lastupdatedate></creationdate></access>
                       :       <device>
                       :         <manufacturer>Panasonic</manufacturer>
                       :         <modelname>DC-GH5</modelname>
                       :       </device>
                       :       <shoot>
                       :         <startdate>2017-11-19T16:16:23+02:00</startdate>
                       :       </shoot>
                       :     </clipmetadata>
                       :   </clipcontent>
                       :   <userarea>
                       :     <acquisitionmetadata xmlns="urn:schemas-Professional-P
    lug-in:P2:CameraMetadata:v1.2">
                       :       <cameraunitmetadata>
                       :         <gamma>
                       :           <capturegamma>CINELIKE_D</capturegamma>
                       :         </gamma>
                       :         <gamut>
                       :           <capturegamut>BT.709</capturegamut>
                       :         </gamut>
                       :       </cameraunitmetadata>
                       :     </acquisitionmetadata>
                       :   </userarea>
                       : </clipmain>
                       :
     Duration: 00:00:03.36, start: 0.000000, bitrate: 174710 kb/s
       Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p10le(
    tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 147582 kb/s, 25 fps, 25 tbr, 90k tbn,
    50 tbc (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
       Stream #0:1(und): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, stereo, s1
    6, 1536 kb/s (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
       Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
       Metadata:
         creation_time   : 2017-11-19T16:16:23.000000Z
         timecode        : 07:12:44:18
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> dnxhd (native))
     Stream #0:1 -> #0:1 (pcm_s16be (native) -> pcm_s16le (native))
    Press [q] to stop, [?] for help
    [dnxhd @ 0542fe60] Cannot allocate memory.
    [dnxhd @ 04d508a0] ff_frame_thread_encoder_init failed
    Error initializing output stream 0:0 -- Error while opening encoder for output s
    tream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!

    D:\Test>pause
    Drücken Sie eine beliebige Taste . . .