
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (16952)
-
getting very bad image after encoding
20 avril 2012, par user1310596I am encoding images using avcodec_encode_video method and displaying them on subscriber demo of the Red5 media server.
The problem i am facing is that all the images which are being displayed are totally distorted and nothing is clearly visible. I think something might be wrong with the pix_fmt set in avcodec context.
Moreover image size is also quite large as 64000 bytes after encoding which I think is little weird
Please give me solution of this problem. Any help is appreciated. -
Read Audio and Video, edit Video frame, then write back Audio and Video - Using python
19 avril 2021, par CowKeyManI'm looking to do exactly as the title says, ie :


- 

- Read a file containing both audio and video
- Edit the video frames individually
- Write back the video with the new frames but the same exact audio as before








OpenCV is not a good option for reading and writing since it doesn't handle audio, altough I can use opencv in step 2.


The language I am using is Python, as this needs to be integrated with a bigger system.


My question is this : What software stack / librarries are appropriate for this kind of task and if anyone can point me to some resources it would be highly appreciated


So far I have found the following options, but would like some feedback on them based on experience :


- 

- ffmpeg
- MoviePy
- libav








-
ffmpeg - why I have three video streams in the output file when I have one video input (one video stream), one logo input
17 juillet 2024, par YazhouHi I'm using ffmpeg to transcode some video files from prores or dv to h264/mov. Also I want to add a logo on it and make some other changes.
The command line I use is


ffmpeg -i input.mov -i logo.png -c:a aac -c:v libx264 -pix_fmt yuv420p -crf 18 -map 0:a? -map 0:v -filter_complex "yadif,[1]scale=iw*1:-1[wm];[0:v:0][wm]overlay=main_w-overlay_w-5:5" -disposition:v:0 default output_h264.mov


And what I got has three video streams. One for the logo,one for the video with logo, and one for original video.


Though I put the default video stream as the one with both video and logo as you can see for
-disposition:v:0 default
, and it's also playing that stream. But when I tried to upload it on Vimeo or Youtube, it uses the wrong stream.


How can I change the command line to let ffmpeg only output one stream ?
And how can I remove the extra streams for the existed outcomes ?