Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (26)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Création définitive du canal

    12 mars 2010, par

    Lorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
    A la validation, vous recevez un email vous invitant donc à créer votre canal.
    Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
    A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...)

Sur d’autres sites (4257)

  • Concatenating videos Audio/Video out of sync : Non-monotonous TDS output

    6 août 2020, par invider

    I am trying to add two videos using ffmpeg and the output video/audio is out of sync (and fast forwarded). Goal is to put intro.mp4 before the original file clip.flv

    



    My approach is to

    



      

    1. Change the format of clip.flv to clip.mp4
    2. 


    



    ffmpeg -i clip.flv -q 0 -c copy clip.mp4


    



      

    1. Concat intro.mp4 with clip.mp4
    2. 


    



    ffmpeg -f concat -safe 0 -i filesToJoin.txt -c copy combinedvideo.mp4


    



    I see this in output log for command#2

    



    [mp4 @ 0x3ebcd60] Non-monotonous DTS in output stream 0:0; previous: 392311, current: 391925; changing to 392312. This may result in incorrect timestamps in the output file.
frame= 1566 fps=0.0 q=-1.0 Lsize=    8711kB time=00:00:48.86 bitrate=1460.2kbits/s speed= 272x    
video:7363kB audio:1294kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.619341%


    




    



    Files Metadata

    



    Original source file clip.flv metadata

    



      Metadata:
    encoder         : Lavf57.83.100
  Duration: 00:00:40.09, start: 0.010000, bitrate: 1632 kb/s
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, 1500 kb/s, 30 fps, 30 tbr, 1k tbn, 60 tbc
    Stream #0:1: Audio: aac (LC), 44100 Hz, stereo, fltp, 160 kb/s


    



    Intermediary file intro.mp4 metadata

    



      Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2020-06-02T10:36:51.000000Z
  Duration: 00:00:13.21, start: 0.000000, bitrate: 484 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 130 kb/s, 30 fps, 30 tbr, 30k tbn, 60k tbc (default)
    Metadata:
      creation_time   : 2020-06-02T10:36:51.000000Z
      handler_name    : Alias Data Handler
      encoder         : AVC Coding
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 317 kb/s (default)
    Metadata:
      creation_time   : 2020-06-02T10:36:52.000000Z
      handler_name    : Alias Data Handler


    



    File clip.mp4 metadata

    



        Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.83.100
  Duration: 00:00:40.01, start: 0.000000, bitrate: 1635 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 1500 kb/s, 30 fps, 30 tbr, 16k tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 160 kb/s (default)
    Metadata:
      handler_name    : SoundHandler


    




    



    Things I have tried

    



      

    • As you'll see that the both videos have same frame rate but different timescale, I have tried changing the timescale of one of the video to match the other before combining the video but with no luck. For timescale change I used this command
    • 


    



    ffmpeg -i clip.mp4 -video_track_timescale 30000 clip_ts30000.mp4

    



      

    • I have seen the similar questions on SO, no luck
    • 


    


  • FFmpeg filter complex add audio file to video at specific points

    4 juin 2020, par steve

    atrim=0:2 starts fine when I play the video it plays the mp3 now how do I add a working end time say finish at 9 seconds ?

    



    Summary I want to start at 2 seconds and finish at 9 seconds.

    



    ffmpeg -y -i "C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4" -i "C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3" -filter_complex "[0]atrim=0:2[Apre];[0]atrim=5,asetpts=PTS-STARTPTS[Apost];[Apre][1][Apost]concat=n=3:v=0:a=1" -vcodec copy -y "C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4"


    



    log file

    



    ffmpeg version git-2020-04-13-59e3a9a Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200328
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 42.102 / 56. 42.102
  libavcodec     58. 78.102 / 58. 78.102
  libavformat    58. 42.100 / 58. 42.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 77.101 /  7. 77.101
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\test\Desktop\vidz\New folder (2)\target\vaastav song .mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2018-09-02T04:28:46.000000Z
  Duration: 00:05:08.80, start: 0.000000, bitrate: 2289 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 2160 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2018-09-02T04:28:46.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/01/2018.
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2018-09-02T04:28:46.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/01/2018.
Input #1, mp3, from 'C:\Users\test\Desktop\vidz\New folder (2)\target\2.mp3':
  Metadata:
    genre           : Electronic;Indie
    title           : A Distorted Noise With A Little Bit Of Sense
    artist          : Lenin Was A Zombie
    encoder         : Lavf56.19.100
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
  Duration: 00:00:54.00, start: 0.025057, bitrate: 192 kb/s
    Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
    Metadata:
      encoder         : Lavc56.21
Stream mapping:
  Stream #0:1 (aac) -> atrim
  Stream #0:1 (aac) -> atrim
  Stream #1:0 (mp3float) -> concat:in1:a0
  concat -> Stream #0:0 (aac)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
Output #0, mp4, to 'C:\Users\test\Desktop\vidz\New folder (2)\target\output1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    encoder         : Lavf58.42.100
    Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      encoder         : Lavc58.78.102 aac
    Stream #0:1(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 2160 kb/s, 25 fps, 25 tbr, 90k tbn, 90k tbc (default)
    Metadata:
      creation_time   : 2018-09-02T04:28:46.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 09/01/2018.
frame=  737 fps=0.0 q=-1.0 size=    7936kB time=00:00:29.44 bitrate=2208.1kbits/s speed=58.9x    
[out_0_0 @ 000000000312c900] 100 buffers queued in out_0_0, something may be wrong.
[out_0_0 @ 000000000312c900] 1000 buffers queued in out_0_0, something may be wrong.
frame= 1401 fps=876 q=-1.0 size=   16640kB time=00:01:46.85 bitrate=1275.7kbits/s speed=66.8x    
frame= 2281 fps=1086 q=-1.0 size=   26112kB time=00:02:22.01 bitrate=1506.3kbits/s speed=67.6x    
frame= 3152 fps=1212 q=-1.0 size=   35584kB time=00:02:56.58 bitrate=1650.8kbits/s speed=67.9x    
frame= 4011 fps=1294 q=-1.0 size=   45824kB time=00:03:31.32 bitrate=1776.4kbits/s speed=68.2x    
frame= 4882 fps=1356 q=-1.0 size=   56320kB time=00:04:06.03 bitrate=1875.2kbits/s speed=68.3x    
frame= 5753 fps=1403 q=-1.0 size=   66560kB time=00:04:40.79 bitrate=1941.8kbits/s speed=68.5x    
frame= 6622 fps=1440 q=-1.0 size=   77056kB time=00:05:15.37 bitrate=2001.6kbits/s speed=68.6x    
frame= 7482 fps=1467 q=-1.0 size=   85248kB time=00:05:50.20 bitrate=1994.1kbits/s speed=68.7x    
frame= 7720 fps=1479 q=-1.0 Lsize=   87248kB time=00:05:59.79 bitrate=1986.5kbits/s speed=68.9x    
video:81451kB audio:5634kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.186449%
[aac @ 0000000003017ac0] Qavg: 648.065


    



    I tried messing about with the line of code but no success so I turn to you for additional support

    


  • can i speedup text watermarking on ffmpeg ?

    3 juin 2020, par Easy Tricks For Android

    This command i used ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h-th-50:fontfile=/Windows/fonts/calibri.ttf:fontsize=20:fontcolor=white:shadowcolor=black:shadowx=2:shadowy=2" "output.mp4". watermark is working with this command, but it takes more time up-to 3 hours +

    



    this is the log i got from cmd


    

D :>ffmpeg -i "1.mp4" -vf "drawtext=text='watermak_name':x=w-tw-50:y=h/2-th:fontfile=/Windows/fonts/
    courbd.ttf:fontsize=20:fontcolor=white" -max_muxing_queue_size 9999 "1_out.mp4"
    


    
ffmpeg version git-2020-05-23-26b4509 Copyright (c) 2000-2020 the FFmpeg developers
    
 built with gcc 9.3.1 (GCC) 20200523
    
 configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv
    —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame
    —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine
    —enable-libsnappy —enable-libsoxr —enable-libsrt —enable-libtheora —enable-libtwolame —enable-libvpx
    —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg
    —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvmaf —enable-libvorbis
    —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom
    —disable-w32threads —enable-libmfx —enable-ffnvcodec —enable-cuda-llvm —enable-cuvid —enable-d3d11va
    —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
    
 libavutil 56. 48.100 / 56. 48.100
    
 libavcodec 58. 87.101 / 58. 87.101
    
 libavformat 58. 43.100 / 58. 43.100
    
 libavdevice 58. 9.103 / 58. 9.103
    
 libavfilter 7. 83.100 / 7. 83.100
    
 libswscale 5. 6.101 / 5. 6.101
    
 libswresample 3. 6.100 / 3. 6.100
    
 libpostproc 55. 6.100 / 55. 6.100
    
Truncating packet of size 95 to 83
    
Input #0, matroska,webm, from 'Uriyadi.mkv' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Downloaded From ABCD
    
 creation_time : 2020-05-22T16:44:46.000000Z
    
 Duration : 02:11:50.86, start : 0.000000, bitrate : 750 kb/s
    
 Stream #0:0(mal) : Video : h264 (High), yuv420p(progressive), 720x304 [SAR 1:1 DAR 45:19], 25 fps, 25 tbr, 1k
    tbn, 50 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 Stream #0:1(mal) : Audio : mp3, 48000 Hz, stereo, fltp, 65 kb/s (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
Stream mapping :
    
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    
 Stream #0:1 -> #0:1 (mp3 (mp3float) -> vorbis (libvorbis))
    
Press [q] to stop, [?] for help
    
Fontconfig error : Cannot load default config file
    
[Parsed_drawtext_0 @ 000001a470fe3f00] Using "C :/Windows/fonts/mingliub.ttc"
    
[libx264 @ 000001a470a10600] using SAR=1/1
    
[libx264 @ 000001a470a10600] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    
[libx264 @ 000001a470a10600] profile High, level 3.0, 4:2:0, 8-bit
    
[libx264 @ 000001a470a10600] 264 - core 159 - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 -
    http://www.videolan.org/x264.html - options : cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
    psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1
    chroma_qp_offset=-2 threads=9 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
    constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
    keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
    qpstep=4 ip_ratio=1.40 aq=1:1.00
    
Output #0, matroska, to '1_out.mp4' :
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavf58.43.100
    
 Stream #0:0(mal) : Video : h264 (libx264) (H264 / 0x34363248), yuv420p, 720x304 [SAR 1:1 DAR 45:19], q=-1—1,
    25 fps, 1k tbn, 25 tbc (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libx264
    
 Side data :
    
 cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : N/A
    
 Stream #0:1(mal) : Audio : vorbis (libvorbis) (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp (default)
    
 Metadata :
    
 title : Downloaded From ABCD
    
 encoder : Lavc58.87.101 libvorbis
    
frame=35791 fps=308 q=28.0 size= 107264kB time=00:23:52.10 bitrate= 613.6kbits/s speed=12.3x