
Recherche avancée
Autres articles (59)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
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. -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (4156)
-
How to combine a video with audio from another video using FFMPEG ?
21 août 2023, par Sigmond KuklaI have two videos of the same length that I'd like to combine. Video A has audio, video B does not. I'd like to take the audio from video A and put it onto Video B. I'd like to do this with FFMPEG, but I can't figure out the arguments I need ? Should I use map ?


There's a lot of questions about combining a video with audio, but not two videos.


Do I maybe need an intermediate step of converting my original video to audio ?


I have tried using this FFMPEG command, and a couple of variations. All of the resulted in just Video A (the one with audio) being the output.


ffmpeg -i videoB.mp4 -i video A.mp4 -c:v copy -c:a aac output.mp4



-
FFmpeg v0.12 is not working for Angular 16
30 septembre 2024, par Amrut KumarCurrently, I have tried integrating ffmpeg v0.12 for my angular 16 project. But it takes forever for the ffmpeg to load. It goes into infinite loop. My guess is that its unable to load the worker script due to incompatibility with Angular 16 dependencies and functionalities.
I have tried ffmpeg v0.12 in my angular 18 app and everything is working just fine. The same changes wont work for my angular 16 application.
To take a step further, I have downgraded ffmpeg version to 0.11 and its now working perfectly fine for my angular 16 app.
Have any of you faced similar issue as I have explained above ? If yes, what steps did you take to resolve it ?


I tried loading ffmpeg v0.12 with angular 16 app and I was expecting it to load just fine as I was able to achieve this with angular 18 with totally similar code changes.


-
Dividing, processing and merging files with ffmpeg
9 novembre 2015, par João Carlos SantosI am trying to build an application that will divide an input video file (usually mp4) into chunks so that I can apply some processing to them concurrently and then merge them back into a single file.
To do this, I have outlined 4 steps :
-
Forcing keyframes at specific intervals so to make sure that each
chunk can be played on its own. For this I am using the following
command :ffmpeg -i input.mp4 -force_key_frames
"expr:gte(t,n_forced*chunk_length)" keyframed.mp4where chunk_length is the duration of each chunk.
-
Dividing keyframed.mp4 into multiple chunks.
Here is where I have my problem. I am using the following command :`ffmpeg -i keyframed.mp4 -ss 00:00:00 -t chunk_length -vcodec copy -acodec copy test1.mp4`
to get the first chunk from my keyframed file but it isn’t capturing
the output correctly, since it appears to miss the first keyframe.On other chunks, the duration of the output is also sometimes
slightly less than chunk_length, even though I am always using the
same -t chunk_length option -
Processing each chunk For this task, I am using the following
commands :ffmpeg -y -i INPUT_FILE -threads 1 -pass 1 -s 1280x720 -preset
medium -vprofile baseline -c:v libx264 -level 3.0 -vf
"format=yuv420p" -b:v 2000k -maxrate:v 2688k -bufsize:v 2688k -r 25
-g 25 -keyint_min 50 -x264opts "keyint=50:min-keyint=50:no-scenecut" -an -f mp4 -movflags faststart /dev/nullffmpeg -y -i INPUT_FILE -threads 1 -pass 2 -s 1280x720 -preset
medium -vprofile baseline -c:v libx264 -level 3.0 -vf
"format=yuv420p" -b:v 2000k -maxrate:v 2688k -bufsize:v 2688k -r 25
-g 25 -keyint_min 50 -x264opts "keyint=50:min-keyint=50:no-scenecut" -acodec libfaac -ac 2 -ar 48000 -ab 128k -f mp4 -movflags faststart OUTPUT_FILE.mp4This commands are not allowed to be modified, since my goal here is
to parallelize this process. -
Finally, to merge the files I am using concat and a list of the
outputs of the 2nd step, as follows :ffmpeg -f concat -i mylist.txt -c copy final.mp4
In conclusion, I am trying to find out a way to solve the problem with step 2 and also get some opinions if there is a better way to do this.
-