Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (111)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

Sur d’autres sites (9718)

  • How can I concatenate 2 videos with audio using ffmpeg ? [duplicate]

    8 juin 2020, par Easy Tricks For Android

    I tried this command :

    



    ffmpeg -f concat -i mylist.txt -c copy output.mp4


    



    But output.mp4 has no audio.

    



    mylist.txt contains :

    



    file '1.mp4'
file '2.mp4'


    



    Information about 1.mp4 and 2.mp4 :

    



    C:\Users\Admin\OneDrive\Desktop\New folder>ffmpeg -n -i 1.mp4 -i 2.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
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2020-05-31T08:12:56.000000Z
  Duration: 00:00:05.93, start: 0.000000, bitrate: 186 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 184 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2020-05-31T08:21:56.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '2.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp41isom
    creation_time   : 2020-06-01T03:32:58.000000Z
  Duration: 00:00:12.23, start: 0.000000, bitrate: 1909 kb/s
    Stream #1:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1708 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc (default)
    Metadata:
      creation_time   : 2020-06-01T04:17:17.000000Z
      handler_name    : VideoHandler
      encoder         : AVC Coding
    Stream #1:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 196 kb/s (default)
    Metadata:
      creation_time   : 2020-06-01T04:17:17.000000Z
      handler_name    : SoundHandler
At least one output file must be specified


    


  • FFmpeg freezes on the same frame and gets stuck on it

    12 juin 2020, par riles

    I'm trying to figure out why the following ffmpeg (4.2.1) command, which works well most of the time, sometimes ends up stuck on the same frame.

    



    This ffmpeg command allows me to make a LIVE streaming with recording VOD at the same time.

    



    Has anyone ever had this problem ?

    



    Thank you in advance for your help.

    




    


    17:27:07 | ffmpeg.exe -hide_banner -y -rtbufsize 500M -f dshow -s 1280x720 -i video="Microsoft® LifeCam Studio(TM)":audio="Microphone (Realtek(R) Audio)" -flags +global_header -c:v h264   -pix_fmt yuv420p -profile:v baseline -level 3.0 -preset ultrafast -pix_fmt yuv420p -b:v 1935k -r 30.0 -c:a aac -b:a 128k -ac 1 -f tee -map 0:v -map 0:a "'C:\Users\xxx\2020-06-10_17-27-07.mp4'|[f=fifo:fifo_format=flv:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1]rtmp://xx.xx.xx.xxx:1935/live/xxxx" 



17:27:09 | [frame=   39 fps=0.0 q=15.0 size=N/A time=00:00:00.95 bitrate=N/A dup=23 drop=0 speed= 1.9x    ]

17:27:10 | [frame=   54 fps= 54 q=22.0 size=N/A time=00:00:01.44 bitrate=N/A dup=23 drop=0 speed=1.43x    ]

...

17:30:09 | [frame= 5418 fps= 30 q=22.0 size=N/A time=00:03:00.44 bitrate=N/A dup=24 drop=0 speed=   1x    ]

17:30:10 | [frame= 5430 fps= 30 q=20.0 size=N/A time=00:03:00.95 bitrate=N/A dup=26 drop=0 speed=   1x    ]

17:30:10 | [frame= 5447 fps= 30 q=23.0 size=N/A time=00:03:01.44 bitrate=N/A dup=28 drop=4 speed=   1x    ]

17:30:11 | [frame= 5463 fps= 30 q=23.0 size=N/A time=00:03:01.95 bitrate=N/A dup=28 drop=4 speed=   1x    ]

...

17:48:55 | [frame=39141 fps= 30 q=21.0 size=N/A time=00:21:44.46 bitrate=N/A dup=40 drop=15 speed=   1x    ]

17:48:55 | [frame=39176 fps= 30 q=12.0 size=N/A time=00:21:45.43 bitrate=N/A dup=60 drop=15 speed=   1x    ]

17:48:55 | [frame=39199 fps= 30 q=12.0 size=N/A time=00:21:46.20 bitrate=N/A dup=82 drop=15 speed=   1x    ]

17:48:56 | [frame=39205 fps= 30 q=18.0 size=N/A time=00:21:46.40 bitrate=N/A dup=82 drop=38 speed=   1x    ]

17:48:56 | [frame=39205 fps= 30 q=18.0 size=N/A time=00:21:47.22 bitrate=N/A dup=82 drop=38 speed=   1x    ]

17:48:57 | [frame=39205 fps= 30 q=18.0 size=N/A time=00:21:47.73 bitrate=N/A dup=82 drop=38 speed=   1x    ]

...

18:01:05 | [frame=39205 fps= 19 q=18.0 size=N/A time=00:33:56.24 bitrate=N/A dup=82 drop=38 speed=   1x    ]


    


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