
Recherche avancée
Autres articles (84)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)
Sur d’autres sites (10282)
-
undefined reference to pl_log_create_341 whenever I try to compile ffmpeg and mpv under Arch Linux [closed]
3 février 2024, par Mike NguyenEver since yesterday, I have been struggling to compile ffmpeg, and to a further extent, mpv, on Arch Linux due to the following error that is probably unique to my install :


/usr/bin/ld: libavfilter/libavfilter.so: undefined reference to pl_log_create_341 collect2: error: ld returned 1 exit status make: *** [Makefile:133: ffplay_g] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to
pl_log_create_341'
collect2 : error : ld returned 1 exit status
make : *** [Makefile:133 : ffprobe_g] Error 1
/usr/bin/ld : libavfilter/libavfilter.so : undefined reference topl_log_create_341' collect2: error: ld returned 1 exit status make: *** [Makefile:133: ffmpeg_g] Error 1


I was trying to install mpd on my system, but pacman forced me to remove a ton of essential packages relating to multimedia, Qt, etc. I have since been able to reinstall most of these packages.


However, my ffmpeg has been corrupted (as well as mpv failing to start) due to another error that apparently no one else has been getting (I have searched Google for this) :


symbol lookup error: /usr/lib/libavfilter.so.9: undefined symbol: pl_tone_map_auto


I have both libavfilter.so.9.12.100 and libavfilter.so.9.13.100 in my /usr/lib directory, and I am forced to run
sudo ln -s /usr/lib/libavfilter.so.9.12.100 /usr/lib/libavfilter.so.9
every time I run pacman.

I have spent countless hours browsing the web about what solutions are available, but as I said, I seem to be the only one getting these errors.


Whether it's installing ffmpeg-git via the AUR, or removing and reinstalling mpv, nothing seems to fix the problem. And no one else is having this problem.


I might be forced to do a clean install of Arch Linux, but I don't have the time for it.


-
Leading Google Analytics alternative, Matomo, parodies Christopher Nolan blockbuster ahead of the UA sunset
4 juillet 2023, par Erin — Press Releases -
Serving video stream in Node with ffmpeg
30 mars 2023, par SpedwardsI have a local-only utility where the backend is Adonis.js and the frontend is Vue.js. I'm trying to get a readable stream and have it play in my frontend. I have got the very basics down, the video plays, but I can't skip to anywhere else in the video, it'll just jump back to where it left off and continue playing.


I've been told that it requires a bi-directional data flow. What I was planning on doing was updating the frontend stream URL to add a query string to the end with the timestamp of where the user (me) skips to. This would go back to the backend and I'd use ffmpeg to create a new stream from the video starting at that timestamp.


The problem is that I've never really messed around with streams before and I'm finding all of this very confusing. I'm able to get a ReadStream of my video and serve it, but I can't write to it. I can create a WriteStream and have it start at my timestamp (I think) but I can't serve it because I can only return
ReadStream
,ReadWriteStream
, orReadableStream
. TheReadWriteStream
sounds perfect but I have no idea how to create one and I couldn't find anything fruitful after a few hours of searching, nor could I find anyway of converting a WriteStream to a ReadStream.

There's also the problem I alluded to ; I have no idea if my ffmpeg method is actually working since I can't serve it to test.


My working controller method without any of the timestamp stuff is as follows :


public async stream({ params, response }: HttpContextContract) {
 const file = await File.find(params.id)
 if (!file) {
 return response.badRequest()
 }
 const stream = await Drive.getStream(file.path) // this creates a ReadableStream
 return response.stream(stream)
}



For all the ffmpeg stuff, I'm using fluent-ffmpeg as it was the best wrapper I could find.


This was my first attempt.


public async stream({ params, request, response }: HttpContextContract) {
 const file = await File.find(params.id)
 if (!file) {
 return response.badRequest()
 }
 const stream = await Drive.getStream(file.path) // this creates a ReadableStream
 if (request.input('t')) {
 const timestamp = request.input('t')
 ffmpeg()
 .input(stream)
 .seekInput(timestamp)
 .output(stream)
 }
 return response.stream(stream)
}



How can I achieve what I want ? Am I going about this the wrong way and/or is there a better way ?