
Recherche avancée
Autres articles (68)
-
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 ) (...) -
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
Sur d’autres sites (11444)
-
Simple Question About Subprocess popen + screen +ffmpeg + youtube-dl
2 juin 2021, par El_Barto_404ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw



can anyone put this inside a popen process after a screen -S Convert ?


I tried already with ' ', with commas.. but nothing


I built a bot on telegram which if you send :


.mandala youtubelink



it takes the link and converts the video from YouTube into a uncompressed file, I need it for a music bot which streams those uncompressed files.


if I run in console :


ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw 



it works but when I try with screen and popen it doesn't.. why ?


@helper.register(pattern=r'.mandala (.+)')
async def mu2342sicbfffffffot(e):
 cheater = e.pattern_match.group(1)
 cheat = cheater
 myorder2224 = ''' "$(youtube-dl -x -g "{}")" '''
 doit = (myorder2224.format(cheater))

 ### I already try to format the variable 
 ### and put doit after -i and 
 ### everything was in '' and commas 
 ### like 'ffmpeg', 'i*, doit, '-f'...
 ### and so on but nothing.. but nope doesn't work.

 p = subprocess.call(['screen','-S','onveter',' ffmpeg -i "$(youtube-dl -x -g "https://www.youtube.com/watch?v=Sw5HQbYGoCA")" -f s16le -ac 1 -acodec pcm_s16le -ar 96k input.pcm'],shell=True)
 await helper.control_panel.send_message(config.chat, "La sto a manna")
 time.sleep(14)
 



I REPEAT ONE MORE TIME :
HOW CAN I USE THAT FFMPEG COMMAND INSIDE A POPEN SUBPROCESS AFTER A Screen -S Convert ?


IF SOMEONE WANT TO KNOW WHY :
Because I want to convert youTube videos to file .raw / .pcm


-
Laravel 7 Lumen, installing ffmpeg question
30 mars 2021, par Gabriel Quezada CastroI'm trying to install FFMPEG from this git repository but my first question is :


- 

- I don't have config/app.php on this project but git documentation refers to this .
Config/app.php




I have these files inside app/config
This is what I have inside the project . My path MyProject/config/those files


Finally, I get this error when I type the last code in the repository documentation :
php artisan vendor:publish —provider="ProtoneMedia\LaravelFFMpeg\Support\ServiceProvider"


I get this error . What does It mean ? .




By the way, this is Git repository I'm trying to install . https://github.com/protonemedia/laravel-ffmpeg?fbclid=IwAR2bM2RXIcF4JtWg45_33vnIcMFp8YXdGqcndxmpHyQLnNAcWKUTtoefcik


So, How Can I configure the project ? . Thanks for help me.


-
question regarding ffmpeg webcam stream (RTMP)
7 janvier 2021, par J HwangI am a novice if you will regarding FFMPEG.
I was tasked with creating a Windows-based C++ project that takes a live webcam stream, does the necessary decoding and encoding, and sends it via RTMP to a server.
The constraints were that the output format be "flv" due to the design of the server end and that it take both audio and video input. Quality of the stream isn't that much of an issue as long as the audio doesn't desync too much from the video.


I drew on the prior works of https://github.com/leixiaohua1020 in simplest_ffmpeg_streamer and simplest_ffmpeg_device.


Specifically, I tried to mesh together the logic behind the readcamera project to provide an input stream and send it to an output address using the streamer part that previously took a local flv video as input.


However, I ran into some problems.


First of all, I know vfwcap is very much outdated but it seems dshow has some problems with the input part as well as the output part so I'm opting for whichever works first.


Second of all, I don't really understand how to set the codec for the input. The input is using rawvideo by default and I tried to add settings as shown.

pFormatCtx->video_codec_id = AV_CODEC_ID_MPEG4;

However, none of the even slightly relevant codec settings seemed to work. All showed the same error message in the vfwcap error message image below.

I would very much appreciate any pointers on achieving 1. change of codec in input stage 2. fixes for the dshow case


I have put the full code up on github with the appropriate mentions.
https://github.com/luorix1/ffmpeg