
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (52)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8984)
-
How to not include the Pause duration in the FFMPEG recording timeline
8 janvier 2019, par Riccardo VolpeI’m trying to pause a screencast made with
ffmpeg
under Linux, giving the command :kill -s SIGSTOP <pid>
</pid>resuming then it with the command :
kill -s SIGCONT <pid>
</pid>to finally interrupt it with the command :
kill <pid>
</pid>but the resulting file keeps the duration of the pause command in the timeline. Is there any way to not include it in the final video output ?
Thank you
Edit #1
I can’t understand a down vote without an explanation... but maybe my mind thinks different.
To not be misunderstood and for a better explanation of the problem, I realized a video : as you can see, now, there are 14 seconds in which the timeline is locked (from 29th to 43th second), the same duration of the command to pause the screencast (
kill -s SIGSTOP <pid></pid>
). Now the previous question, if someone knows the solution.The unique one that I thought is to cut the final output, "labeling" the pause command in such a way to know where to cut...
-
ffmpeg : Invalid data found when processing input
20 septembre 2018, par Rich_FI have a situation where
ffmpeg
is throwing an error :Invalid data found when processing input
I’ve reviewed other answers here, but my situation is different. I generate in
Ruby
, a text file with a list of input files I want to concatenate together into one large video.I generate in
Ruby
, the command meant forbash
, which is also output for me to manually copy :ffmpeg -y -f concat -safe 0 -i /Volumes/Dragon2/Yums/randoms.txt /Volumes/Dragon2/Yums/final.mp4
Throws an error :
/Volumes/Dragon2/Yums/randoms.txt: Invalid data found when processing input
Here is that file :
file '/Volumes/Dragon2/Yums/0CEDC3CA-4571-4271-9938-A161EC2A887B.mov'
file '/Volumes/Dragon2/Yums/0D25D907-D053-443B-AFC6-9F12B1711BBF.mov'
file '/Volumes/Dragon2/Yums/6A272808-7706-435D-801E-ACE6B42EC749.mov'
file '/Volumes/Dragon2/Yums/6E9BA2F1-C5E7-4C1C-B290-D116105732FA.mov'
file '/Volumes/Dragon2/Yums/0A41C7B7-74CE-484E-B029-3AE57B8BB4EA.mov'When
bash
runs it, it complains about the input file randoms.txt having invalid data. When I copy and paste the very same command inbash
, it works fine. I’m stumped as to how the two are different and whyffmpeg
is not happy when initiated in theshell
.How can I get this to work ? What am I missing ? Cheers
EDIT : Original
ruby
code :`clear`
require 'pathname'
require 'pp'
s = '/Volumes/Dragon2/Yums'
files = []
Dir.foreach(s) do |path|
files << "#{ s }/#{ path }"
end
result = files.sample(files.size) # randomizer
f = File.open("#{ s }/randoms.txt", 'w+')
result.each_with_index do |item, i|
pp "#{ i }: #{ item }" if item.include?('mov')
f << "file '#{ item }'\n" if item.include?('mov')
end
`echo `
File.delete("#{ s }/final.mp4") if File.exists?("#{ s }/final.mp4")
s = "ffmpeg -y -f concat -safe 0 -i #{ s }/randoms.txt #{ s }/final.mp4"
puts s
sleep 3
`#{ s }`I have also tried
system s
as well with the same error. The syntax is generated fine, output fine, operates fine manually. -
ffmpeg UDP stream incomplete using WEBM (VP9)
21 janvier 2018, par DerLarsI’m trying to encode a raw (YUV) video into VP9 and to stream it with ffmpeg via UDP.
Sender command :
ffmpeg -f rawvideo -pix_fmt yuv420p -s:v 352x288 -r 25 -i ReferenceVideo_200Frames.yuv -c:v libvpx-vp9 -lossless 1 -f webm udp ://localhost:1337
Receiver command : (started first)
ffmpeg -i udp ://localhost:1337 -vcodec copy ReferenceVideo_200Frames_Streamed.webm
The testvideo used for this has exactly 200 Frames.
The final output of the sender is :
frame= 200 fps= 14 q=0.0 Lsize= 7918kB time=00:00:07.96 bitrate=8147.3kbits/s speed=0.574x
video:7912kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.064364%But as soon as the sender finishes, the receiver gets stuck at : frame= 181 fps= 13 q=-1.0 size= 5226kB time=00:00:07.20 bitrate=5945.5kbits/s speed=0.531x
The final streamed video is now incomplete.
So my question is : What am I doing wrong that the stream is incomplete ? Did anyone face this issue too and was able to fix it ?
Many thanks in advance.