
Recherche avancée
Autres articles (52)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (5796)
-
Raspberry Pi Youtube Stream with ffmpeg : libx264 unknown
21 juillet 2016, par tm011036I want to use my raspberry pi 3 for a youtube stream via an usb camera. Therefore, I compiled and installed the following tools :
ffmpeg, libx264, libav-tools
However, when running the following code i always get an error that the libx264 encoder is unknown :
ffmpeg -f v4l2 -framerate 25 -video_size 640x480 -i /dev/video0
-codec:v libx264 -b:v 700k -maxrate 700k -bufsize 700k -an -f
flv rtmp://a.rtmp.youtube.com/live2/MYYOUTUBECODEI installed x264 via clone and make install using this guideline. How can I check if this encoder was installed correctly ? I am already stuck for 2 days on this problem - please help !
Related hints (e.g. libavcodec-extra codec, type errors) regarding this problem unfortunately also didn’t help further.
Thank You.
The entire console output is :
ffmpeg version N-81043-ga49ed9e Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration:
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 42.100 / 57. 42.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
[video4linux2,v4l2 @ 0x24132f0] The driver changed the time per frame from 1/25 to 1/30
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 161119.368327, bitrate: 147456 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480,
147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
Unknown encoder 'libx264' -
dowload video with csv file using youtube-dl and ffmpeg but ffmpeg not working
30 juin 2020, par Rupendra Singh Rathoredef start(self, newfile=None, part=None):
 ydl_opts = {}
 with youtube_dl.YoutubeDL(ydl_opts) as ydl:
 while True:
 videos = self.get_videos()
 print('{} videos to go'.format(len(videos))) # print no. of video remaining
 video = get_first_item(videos) # get next video for downloading
 print(video)
 if video is None: # check if video is there or not
 break

 c = f'ffmpeg $(youtube - dl - g {ydl.download([video])} | sed "s/.*/-ss 00:05 -i &/") - t 1: 00 - c copy out.mkv'

 videos.remove(video) # remove video from list
 self.save_file(videos) # save updated list to file

 print('All downloaded')



c = f'ffmpeg $(youtube - dl - g ydl.download([video]) | sed "s/.*/-ss 00:05 -i &/") - t 1 : 00 - c copy out.mkv


how to download video with duration. i using youtube_dl and ffmpeg in python funtion.please check my script and suggest me.. thank you


-
How to use ffmpeg on Android, Kivy, python3, youtube-dl
7 avril 2022, par Adarsh SinghI am trying to create an app using Kivy 1.11.1 using youtube-dl module in python3. I am using buildozer to create apk from python source code which usage python-for-android to create apk. I have mentioned ffmpeg in buildozer requirements. I can see ffmpeg in pythonforandroid/recipes/.
After installing form apk, when I try to print ffmpeg version using the following


merger = youtube_dl.postprocessor.FFmpegMergerPP()
merger._determine_executables()
print(merger.get_versions())



I get this output


{'avprobe': False, 'avconv': False, 'ffmpeg': False, 'ffprobe': False}



which indicate that ffmpeg in not installed in android


this line is included in my buildozer.spec


requirements = python3,kivy,ffmpeg,youtube_dl,kivymd,kivmob,ffpyplayer,ffpyplayer_codecs,ffmpeg-python



except ffmpeg rest all package are installed properly


I am not sure whether this is useful but I saw this in pythonforandroid/recipes/ffmpeg/init.py


def build_arch(self, arch):
 with current_directory(self.get_build_dir(arch.arch)):
 env = arch.get_env()

 flags = ['--disable-everything']



**Goal : ** I want to use ffmpeg in youtube_dl via python3 after installing application from apk created by buildozer.