
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 (49)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (6821)
-
compiling ffmpeg Ubuntu 16
23 juin 2020, par retepikI am new on stackowerflow.



I need a advice :)
I have tried compile ffmpeg 2.8.15 from source under Ubuntu 16 LTS. I need compile it for one SDK, I can't use ffmpeg from repository. I compiled ffmpeg successfully. But I have got issues with my specify SDK, when I try compile my code with SDK :



SDK.so: undefined reference to `av_rescale_q@LIBAVUTIL_FFMPEG_54'




I suppose that issues are in symbols name. I tried read symbols with



readelf -s libavutil-ffmpeg.so.54




I get in my compiled ffmpeg something like this



158: 0000000000024170 55 FUNC GLOBAL DEFAULT 12 av_rescale_q@@LIBAVUTIL_54




I tried this with libavutil-ffmpeg.so.54 from repository and i get



158: 0000000000024170 55 FUNC GLOBAL DEFAULT 12 av_rescale_q@@LIBAVUTIL_FFMPEG_54




I suppose that I need add a suffix "FFMPEG" to symbols name.
I use this configuration for build ffmpeg, it same as configuration of build from repository :



sudo ./configure --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv




Could you help how add suffix "-ffmpeg" to symbols name ?
Thanks



Best Regard



retepik


-
ffmpeg fails to connect a second camera when run using python thread
1er juin 2023, par LemonJumpsI'm starting ffmpeg dshow -> rawvideo over pipe in python thread, see code below


def run(self):
 proc = subprocess.Popen(
 [FFMPEG_DIR + "ffmpeg", "-hide_banner", "-f", "dshow", 
 "-video_size", str(self.resolution[0]) + "x" + str(self.resolution[1]), # select resolution
 "-framerate", str(self.framerate), # select framerate
 "-i", "video=" + self.device, # select device
 "-f", "rawvideo", "-pix_fmt", "bgr24", "pipe:"], # output to pipe
 stdout = subprocess.PIPE)
 
 buf = b''
 
 while True:
 outs = proc.stdout.read(self.resolution[0] * self.resolution[1] *3)
 buf += outs
 
 if len(buf) >= (self.resolution[0] * self.resolution[1] *3):
 with self.lock:
 self.frame = buf[0:self.resolution[0] * self.resolution[1] *3] 
 self.cnt += 1
 
 buf = b''
 
 if self.endEvent.isSet():
 proc.kill()
 return



I am using alternative name as camera name, both cameras are the same model.
both devices name and alternative name :


('ACR010 USB Webcam', '@device_pnp_\\\\?\\usb#vid_0c45&pid_636a&mi_00#8&83c432e&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global')


('ACR010 USB Webcam', '@device_pnp_\\\\?\\usb#vid_0c45&pid_636a&mi_00#8&34de11d9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\\global')


when I run this code for each camera individually it works flawlessly.
But when I run this for both cameras at the same time, the code results this error :



The "Could not run graph" sounds like ffmpeg can't open multiple devices, or isn't allowed by windows, or maybe there's a token that gets reused because it's all within a single process ?


What could be really causing this error and how can I mitigate it ?


-
Higher resolution (720p1080p) pytube video donot have sound. how to do with ffmpeg and with other sources exactly
24 février 2021, par vishnu kumari have taken url and res= 1080p from other function and with the help of template home.html.


def download_complete(request, res) :


global url


try:
 path = YouTube(url).streams.filter(res=res).first().download()

 response=FileResponse(open(out, 'rb'), as_attachment=True)

 return response

except Exception as ex:
 print('[complete] Exception:', ex)
 return render(request, 'error.html', {'url': url, 'error': ex})