
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (50)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)
Sur d’autres sites (5452)
-
Recorded & uploaded video from iphone device won't play in iphone
11 juin 2019, par Sohil ChamadiaI am facing an issue regarding :
Recording video from iphone and uploading that video on my application(Develop in Wordpress Framework) then the video uploaded won’t play in iphone devices.
This issue occurs only when I "Record video from iphone and then uploading that video into the application".If I upload existing video from iphone device then video will be played and it’s working fine. So please help to resolve this issue.I have used "FFmpeg library" to reduce the size of video.
Below is the code which i have used to play video :
<video preload="auto" width="320" height="240" controls=""><source src="abc.mp4" type="video/mp4">Your browser does not support the video tag.</source></video>
When i click on video to play it then video is not play and cross sign is shown over the play button.Below i have attached screenshot of it :
-
SDL2 won't play with more than 6 audio channels
13 juin 2020, par Hiko HaietoI am trying to stream (raw) video and audio from a capture device as part of my home media setup (with my pc acting similarly to a receiver in a typical home theatre setup), but the biggest problem I haven't been able to get past is that I haven't been able to get ffplay (using SDL2 as its audio backend) to work with all 8 channels in 7.1 streams - two simply get dropped, despite it recognising 8 channel input or me specifying a 7.1 layout.



I have been able to confirm that all 8 channels are present in the source by first using ffmpeg to save the output of a speaker test to a file and playing that back with both mplayer (which works) and ffplay (which doesn't). I also wrote some minimal code to play the audio directly through SDL's API with the same result, so it's not the fault of ffplay. I might simply use mplayer if it weren't for the fact that piping output from ffmpeg adds too much latency for real-time use. I am using libSDL version 2.0.12 and ffplay 4.2.3, both of which are the latest at the time of writing and are ostensibly supposed to support 7.1 audio.



Using output recorded from
speaker-test -c 8
, I am using the following to play it back in mplayer :


mplayer -channels 8 -rawaudio channels=8 -format s16le -demuxer rawaudio speaker-test.pcm




and the following to play it back in ffplay :



ffplay -f s16le -ac 8 -af 'channelmap=channel_layout=7.1' speaker-test.pcm




No matter what I try, the two side channels get dropped. I couldn't figure out how to play raw pcm in SDL, so I repeated the same tests with wav output and used the following code to play it back :



#include <sdl2></sdl2>SDL.h>

int main(int argc, char **argv) {
 SDL_Init(SDL_INIT_AUDIO);
 SDL_AudioSpec wavSpec;
 Uint32 wavLength;
 Uint8 *wavBuffer;
 SDL_LoadWAV("speaker-test.wav", &wavSpec, &wavBuffer, &wavLength);
 SDL_AudioDeviceID deviceID = SDL_OpenAudioDevice(NULL, 0, &wavSpec, NULL, 0);
 SDL_QueueAudio(deviceID, wavBuffer, wavLength);
 SDL_PauseAudioDevice(deviceID, 0);
 SDL_Delay(30000);
 SDL_CloseAudioDevice(deviceID);
 SDL_FreeWAV(wavBuffer);
 SDL_Quit();
 return 0;
}




The above code exhibits the same behaviour of dropping the two additional side channels, despite it being the latest version of SDL that should have supported 7.1 for many releases now. Why might this be happening, and how might I fix it ?


-
TypeError : parameter 'url' is missing a type annotation in callback 'play' + ffmpeg
10 décembre 2022, par morichhI can't understand why Python interpreter doesn't like the fact that I use the
url
in the last line

@client.tree.command()
async def play(interaction: Interaction, url = str):
 global voice
 channel = interaction.user.voice.channel
 voice = get(client.voice_clients, Guild=interaction.guild)
 if voice and voice.is_connected():
 await voice.move_to(channel)
 await interaction.response.send_message(f"*1*")
 else:
 voice = await channel.connect()
 await interaction.response.send_message(f"*2*")
 voice.play(discord.FFmpegPCMAudio(executable="C:/ffmpeg/bin/ffmpeg.exe", source = url)) 




By the way, ffmpeg also does not work.