
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (101)
-
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 (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (9105)
-
What is KeyError : 'twoColumnSearchResultsRenderer' (Python, youtube_dl)
2 octobre 2020, par Elara JaydeI have been writing a Discord bot in Python using discord.py version 1.5.0. Only recently have I began adding music commands to it with youtube_dl, youtube_search, and ffmpeg. I can play the audio entirely, as well as pull titles, durations, thumbnails, etc. The only problem I have had thus far is that when I store the Youtube URL in a list and then index it on the "next" command then it returns an error saying "KeyError : 'twoColumnSearchResultsRenderer'" and I cannot find any other examples of this being returned back to the user. If someone could help me understand what the issue is then that would be greatly appreciated.


edit :


@bot.command()
 async def play(ctx, *args):
 #local variables
 global queueList
 server = ctx.message.guild
 voiceChannel = server.voice_client
 keywords = listtostring(args)
 results = ast.literal_eval(YoutubeSearch(keywords, max_results=1).to_json())
 test = results['videos']
 print(test[0])
 vidId = test[0]['id']
 vidThumbnail = test[0]['thumbnails'][0]
 vidUrl = "https://www.youtube.com/watch?v={}".format(vidId)
 queueList.append(vidUrl)

 if args and ctx.message.author.voice:

 async with ctx.typing():

 player = await YTDLSource.from_url(queueList[0], loop=client.loop)
 await ctx.send("`{}` added to the queue!".format(player.title))

 try: 
 voiceChannel.play(player, after=lambda e: print('Player error: %s' % e) if e else None)
 nowPlaying = discord.Embed(
 title = "Now playing",
 description = "Now playing **{}**".format(player.title),
 color = rupertColor
 )
 nowPlaying.set_thumbnail(url=vidThumbnail)

 await ctx.send(embed = nowPlaying) #('**Now playing:** {}'.format(player.title))
 except: 
 print("failed playing")

 del(queueList[0])

 else:
 await stop(ctx)
 async with ctx.typing():
 player = await YTDLSource.from_url(str(queueList[0]), loop=client.loop)
 try: 
 voiceChannel.play(player, after=lambda e: print('Player error: %s' % e) if e else None)
 await ctx.send('**Now playing:** {}'.format(player.title))
 except: 
 print("failed playing")
 queueList.append(vidUrl)

 del(queueList[0])



-
ffmpeg combining audio tracks on copy
22 janvier 2024, par janedenI tried to copy all streams (video, audio, subtitle) and add a tag with the following command in order to play the files using QuickTime player :


ffmpeg -i in.mp4 -vcodec copy -tag:v hvc1 -acodec copy -scodec copy -map 0 out.mp4



The resulting file does open with QuickTime player, and the video/subtitles play fine, but the two audio tracks (E-AC3 in English and German) from the input file cannot be selected (
View → Languages → None
) and are in fact merged into each other while playing the video, even though both tracks are shown separately inInspector → Audio Details
and VLC handles them correctly. Is this a bug in QuickTime player, or would I need to add another option for QuickTime ?

-
libav/ffmpeg : where is data buffer storage ?
1er juillet 2020, par nguyenthachungI'm using libav/ffmpeg to play some DASH livestream.


My case : player is playing normally -> pause for 3 4 minutes -> play again -> Player continue to play without interrupted, not jump to realtime.


Is libav/ffmpeg cached buffer or stored to somewhere ?