
Recherche avancée
Autres articles (2)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (3412)
-
h264 restream works when i have no audio in ffserver conf but does not work when i try to add audio
27 février 2014, par DnasoI am trying to restream an h264 video stream from a camera. All works well when I have NoAudio in my conf file. However when i add audio, even the video stream does not work. Has anyone ever encountered thiss ?
ffmpeg -i rtsp ://*** -s 320x240 -vcodec copy -acodec copy -s 320x240 -ab 64k http://*:8091/feed1.ffm
-
Im trying to add Audio to a mute Video and it doesnt work
15 février 2021, par mybrainisrunningoutofmyearsI had two approaches :


1.ffmpeg-python


def addaudtovid(audpath,vidpath,savepath): 
 input_video = ffmpeg.input(vidpath)
 input_audio = ffmpeg.input(audpath)
 ffmpeg.concat(input_video, input_audio, v=1, a=1).output(savepath).run()



here for some reason it "cant find a file"(in the fourth line) but all files exist.
Tried this too :


subprocess.run("ffmpeg -i "+vidpath+" -i "+audpath+" -c copy "+savepath)



- 

- MoviePy.editor




Here the finished Video starts after about 3 seconds of blackscreen, but the Audio already starts at the beginning


videoclip = VideoFileClip(vidpath)
audioclip = AudioFileClip(audpath)
videoclip.audio = audioclip
videoclip.write_videofile(savepath)



The Audio and Video are exactly the same length


I am using Windows 10 python 3.8


I am happy about any idea how to fix it because I tried everything I could think and google of.


-
How does wrap_unicode option work when ffmpeg renders subtitles
12 septembre 2024, par BazingaThis is my complete command, which accepts the wrap_unicode option, but the option is not working


'/usr/local/ffmpeg/bin/ffmpeg' '-y' '-i' 'input.mp4' '-threads' '12' '-vcodec' 'libx264' '-acodec' 'aac' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-vf' '[in]subtitles=test.srt:wrap_unicode=1:force_style='\''FontSize=12,FontName=Angsana New,PrimaryColour=&H00FFFFFF,BorderStyle=1,Outline=0.5,Shadow=1,MarginV=50'\''[out]' '-pass' '1' '-passlogfile' '/var/folders/xh/0xpfqmh57hb12ffvs5wy1v0w0000gn/T/ffmpeg-passes66e24b16ea0aa/pass-66e24b16ea47b' 'output.mp4'



Before that, I compiled libunibreak, libass(0.17.0) in order, and reinstalled ffmpeg.


I hope someone can help me understand where the problem caused this option to not take effect, this problem has been bothering me for some time, thank you very much !