
Recherche avancée
Autres articles (81)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (9244)
-
UDP Streaming with ffmpeg - overrun_nonfatal option
21 octobre 2022, par Julien GreardI'm working on a software which uses FFMPEG C++ libs to make an acquisition from an UDP streaming.



FFMPEG (1.2) is implemented and running but I get some errors (acquisition crashes and restarts). The log displays the following message :



*Circular buffer overrun. To avoid, increase fifo_size URL option. To survive in such case, use overrun_nonfatal option*



I searched online for documentation about how to use this option, but I only got informations about how to use when running directly ffmpeg executable.



Would someone know how to set the correct option in my C++ code to :
- increase fifo_size
- use overrun_nonfatal option



Thanks


-
Use of library with GPL license on Android - ffmpeg
7 septembre 2016, par CarlosI am using some libraries in my android application and all of these are with Apache 2.0 license.
Only one has GPLv3 license :
https://github.com/WritingMinds/ffmpeg-android-javaSo, if I use this library I must share my application complete code online ? can I solve my problem differently ?
Thanks
-
Hosting music bot on heroku
2 mars 2021, par itsmaxplayzI have made a discord bot on discord.py rewrite which plays music in a voice channel. The code is as follows :


def search(query):

 with ytdl:
 try:
 requests.get(query)
 except:
 info = ytdl.extract_info(f"ytsearch:{query}", download=False)['entries'][0]
 else:
 info = ytdl.extract_info(query, download=False)
 return info, info['formats'][0]['url']

ydl_opts = {
 'format': 'bestaudio/best',
 'quiet': True,
 'postprocessors': [{
 'key': 'FFmpegExtractAudio',
 'preferredcodec': 'mp3',
 'preferredquality': '192',
 }],

}

ytdl = youtube_dl.YoutubeDL(ydl_opts)

FFMPEG_OPTS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}

@client.command(aliases=['p'])
async def play(ctx, *, url):
 channel = ctx.message.author.voice.channel
 voice = get(client.voice_clients, guild=ctx.guild)
 if voice and voice.is_connected():
 pass
 else:
 voice = await channel.connect()
 await ctx.send(f'Successfully joined `{channel}`')

 if voice.is_playing():
 await ctx.send('Already playing a song. Try using -q or -queue to queue a song 
 :thumbsup:')
 else:
 await ctx.send(f'Searching for: `{url}` :mag_right:')
 video, source = search(url)
 voice.play(FFmpegPCMAudio(source, **FFMPEG_OPTS))
 voice.is_playing()
 await ctx.send(f'Playing: :notes: `{video["title"]}` - Now!')



It works locally but when I upload the code to heroku (I use github to push the code to heroku), the bot does not come online.
These are the libraries that I imported in the code :


import discord
import json
import random
import youtube_dl
import requests
import os
from discord.ext import commands
from discord.utils import get
from discord import FFmpegPCMAudio
import ctypes
import ctypes.util



I have installed the ffmpeg buildpacks as I saw in another post on this website but the bot doesn't come online.


Contents of my requirement file :


discord.py,
discord.py[voice],
ffmpeg,
PyNaCl,
youtube_dl,
requests,
discord.py[FFmpegPCMAudio],
colorlog.