
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
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 -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (9249)
-
JavaFx MediaPlayer can't play my mp3 and m4a files
10 août 2018, par FreewindI record some .wav files from microphone, and convert it to mp3 and m4a files. These files can be played with my desktop player correctly.
Then in my JavaFX program, I play them as :
String fileUri = file.toURI().toString();
Media media = new Media(fileUri);
MediaPlayer mediaPlayer = new MediaPlayer(media);
mediaPlayer.play();But there is no sound, and no errors.
I use
ffmpeg
to view them :ffmpeg -i demo.m4a
Input #0, aac, from 'demo.m4a':
Duration: 00:00:54.00, bitrate: 132 kb/s
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 132 kb/sffmpeg -i hello.mp3
Input #0, mp3, from 'hello.mp3':
Metadata:
encoder : Lavf57.83.100
Duration: 00:00:01.12, start: 0.069063, bitrate: 49 kb/s
Stream #0:0: Audio: mp3, 16000 Hz, stereo, s16p, 48 kb/sNot sure where is wrong.
-
Unable to get the audio from webcam and play it at the same time [FFMPEG]
5 avril 2019, par Apoorv MishraI’m trying to grab the audio and video from the webcam and play it in slow motion and proper sync between audio and video at the same time. But when I try the following command :
ffmpeg -f v4l2 -rtbufsize 1000000k -i /dev/video0 -f alsa -i default \
-profile:v high -pix_fmt yuvj420p -level:v 4.1 -preset ultrafast \
-tune zerolatency -vcodec libx264 -r 10 -b:v 512k -s 640x360 \
-acodec aac -strict -2 -ac 1 -b:a 64k -b:v 300k -g 30 -ar 44100 \
-map 0 -f tee "output.mkv|[f=nut]pipe:" | ffplay \
pipe: -vf "setpts=2.0*N/FRAME_RATE/TB"I was unable to hear the audio. In the command, I’d only slowed down video but I will slow down the audio as well once I’ll be able to get the audio along with the video.
Above command will play the video for you but not the audio.
Please help me out with this. Any help is appreciated.
-
Cannot play MPEG-TS from webcam using ExoPlayer on Android or Quicktime on Mac
6 février 2017, par GalaxyI’m trying to use FFmpeg to stream my webcam to an Android device based on the HttpLiveStreaming(HLS). In order to play the MPEG-TS on Android, I use ExoPlayer.
FFmpeg streaming command :
ffmpeg -f avfoundation -video_size 1280x720 -framerate 30 -i "0" -vcodec libx264 -preset veryfast -f flv rtmp://localhost:1935/hls/test
When I used VLC to play the MPEG-TS, everything was OK. However, I failed to play it using the ExoPlayer on Android or the Quicktime(Safari) on Mac OS. Then I tried to find out the reason.
I tried to stream a mp4 video using FFmpeg in the same way. For example :
ffmpeg -re -i test.mp4 -vcodec libx264 -preset veryfast -f flv rtmp://localhost:1935/hls/test
I can play it using both ExoPlayer and Quicktime.
The only difference I found between these two cases is that the Webcam’s capturing format is YUY2 while the mp4 video is YUV420 and they used different H264 encoders. I guess the H264 decoders for YUY2 and YUV420 are not the same.
I’m not sure if my inference was correct and the only solution to this problem is to convert YUY2 to YUV420 before streaming.
I hope someone using Mac could try to stream the Facetime camera using the same way as me and see if it can be played in the Safari.