
Recherche avancée
Autres articles (9)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (3598)
-
How to merge videos and add audio in a single command using ffmpeg ?
9 janvier 2017, par harishkumar329I use the following commands to concat audio-less video files to one and add audio to it,
To concat individual videos,
ffmpeg -i 1.mp4 -i 2.mp4 -i 3.mp4 -i 4.mp4 -i 5.mp4 -filter_complex 'concat=n=5:v=1:a=0[out]' -map '[out]' -strict -2 -y video_withoutaudio.mp4
To add audio,
ffmpeg -i video_withoutaudio.mp4 -i audio.mp4 -c:v copy -c:a aac -strict -2 video_withaudio.mp4
is there a way to combine these two commands to one ?
My requirement is to optimise the commands as I have 1000+ commands taking a lot of time to complete, hoping combining these two to one will save some time.
Thanks in advance !
-
MPEG DASH - do I need to have audio and video tracks as seperate source file for creating DASH package using mp4box
10 juillet 2016, par TarunI have one source mp4, I tried to create MPEG DASH package using mp4box by GPAC.
I am able to play output MPD files in OSMO4 player by GPAC.However I am not able to play the same in DASH JS player @ http://dashif.org/reference/players/javascript/0.2.3/index.html
When I try to play the mpd in it I get error "Error creating source buffer"
I tried reading their MPD files, and I found that those guys are using audio and video as separate source track.
Ques1) Does DASH specs states that audio and video tracks should be seprate source tracks ?
Ques2) Please find below the MPD file created by me, Let me know if anybody thinks that there is a problem in it
<mpd type="static" xmlns="urn:mpeg:DASH:schema:MPD:2011" profiles="urn:mpeg:dash:profile:full:2011" minbuffertime="PT1.5S" mediapresentationduration="PT0H2M31.63S">
<programinformation moreinformationurl="http://gpac.sourceforge.net">
</programinformation>
<period start="PT0S" duration="PT0H2M31.63S">
<adaptationset>
<contentcomponent contenttype="video"></contentcomponent>
<contentcomponent contenttype="audio" lang="und"></contentcomponent>
<segmenttemplate initialization="flight_init.mp4"></segmenttemplate>
<representation mimetype="video/mp4" codecs="avc1.64001f,mp4a.40.02" width="1280" height="720" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="3096320">
<segmenttemplate timescale="1000" duration="20164" media="flight_test_flight_3000$Number$.mp4" startnumber="1"></segmenttemplate>
</representation>
<representation mimetype="video/mp4" codecs="avc1.64001e,mp4a.40.02" width="640" height="360" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="1119428">
<segmenttemplate timescale="1000" duration="20099" media="flight_test_flight_1000$Number$.mp4" startnumber="1"></segmenttemplate>
</representation>
<representation mimetype="video/mp4" codecs="avc1.640014,mp4a.40.02" width="320" height="180" samplerate="44100" numchannels="2" lang="und" startwithsap="1" bandwidth="722208">
<segmenttemplate timescale="1000" duration="20164" media="flight_test_flight_600$Number$.mp4" startnumber="1"></segmenttemplate>
</representation>
</adaptationset>
</period>
</mpd> -
FFMPEG SCREENSHOT GENERATE ERROR : No such filter : 'tile' [duplicate]
23 mai 2013, par itseasy21This question is an exact duplicate of :
i have been trying on making multiple screenshots from a video file using ffmpeg and i succeed too in command but the only problem is while executing that i am getting this error :
No such filter: 'tile'
Error opening filters!The command i execute is :
ffmpeg -ss 00:00:10 -i './tmp/try.avi' -vcodec mjpeg -vframes 1 -vf 'select=not(mod(n\,1000)),scale=320:240,tile=2x3' './tmp/try.jpg'
The output i get is :
xxxxx@xxxx.com [~/public_html/xxxx]# ffmpeg -ss 00:00:10 -i './tmp/try.avi' -vcodec mjpeg -vframes 1 -vf 'select=not(mod(n\,1000)),scale=320:240,tile=2x3' './tmp/try.jpg'
ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers
built on Mar 10 2012 18:07:20 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-frei0r --enable-libopencv --enable-libdc1394 --enable-libdirac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-stripping
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.123. 0 / 52.123. 0
libavformat 52.111. 0 / 52.111. 0
libavdevice 52. 5. 0 / 52. 5. 0
libavfilter 1. 80. 0 / 1. 80. 0
libswscale 0. 14. 1 / 0. 14. 1
libpostproc 51. 2. 0 / 51. 2. 0
Seems stream 0 codec frame rate differs from container frame rate: 29.97 (30000/1001) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './tmp/try.avi':
Metadata:
major_brand : 3gp4
minor_version : 512
compatible_brands: isomiso23gp4
creation_time : 1970-01-01 00:00:00
Duration: 00:09:24.82, start: 0.000000, bitrate: 118 kb/s
Stream #0.0(und): Video: h263, yuv420p, 176x144 [PAR 12:11 DAR 4:3], 102 kb/s, 25 fps, 25 tbr, 25 tbn, 29.97 tbc
Metadata:
creation_time : 1970-01-01 00:00:00
Stream #0.1(und): Audio: amrnb, 8000 Hz, 1 channels, flt, 12 kb/s
Metadata:
creation_time : 1970-01-01 00:00:00
Incompatible pixel format 'yuv420p' for codec 'mjpeg', auto-selecting format 'yuvj420p'
[buffer @ 0x1ad89a0] w:176 h:144 pixfmt:yuv420p tb:1/1000000 sar:12/11 sws_param:
No such filter: 'tile'
Error opening filters!any solution for this ????