
Recherche avancée
Autres articles (44)
-
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 -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (6932)
-
Youtube Live streaming Audio function not working Android
13 avril 2017, par Muthukumar SubramaniamI am using youtube watch me github project. I recorded the live streaming video from android mobile to youtube. Live streaming videos works perfectly but the audio is not working. Please give your suggestions.
-
using ffmpeg on youtube video url php
29 novembre 2014, par kingI am trying to get youtube video from its actual url and convert it into avi using ffmpeg could anyone help me in this
<?php
$video = "http://r3---sn-cxaauxax-cage.googlevideo.com/videoplayback?initcwndbps=471250&ipbits=0&itag=22&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Csource%2Cupn%2Cexpire&expire=1417308390&upn=mdUcarOb9uA&sver=3&mt=1417286760&mime=video%2Fmp4&fexp=3300113%2C3300113%2C3300134%2C3300134%2C3300137%2C3300137%2C3300161%2C3300161%2C3310366%2C3310366%2C3310705%2C3310705%2C3312478%2C3312478%2C900245%2C907259%2C927622%2C932404%2C937427%2C941458%2C943909%2C947209%2C948124%2C951501%2C952302%2C952605%2C952901%2C953000%2C953912%2C957103%2C957105%2C957201&mm=31&key=yt5&signature=5FBF01B3A073A5B1BCEF5FDC480420872E365766.FA2463D05DD20DFE72E4243723D76DC551A8E3F7&id=o-AG_18OU8gTru9RXONTqv_lYhbFcvoJgEzvbFUwObjNY6&dur=2825.984&mv=m&source=youtube&ms=au&ip=27.34.252.158";
$num = 3;
$secpos = 1;
$thumb = "C:\\ffmpeg";
echo "Starting ffmpeg...\n\n";
echo shell_exec("ffmpeg -i $video -ss 90 -t 100 output.avi ");
echo "Done.\n";
?> -
ffmpeg : getting video from http page streamed to youtube
28 novembre 2014, par M-T-AI’m trying to configure ffmpeg to stream to youtube from ubuntu machine.
I have my wifi camera streaming with format ’video/x-ms-asf’ on local http page.
Then I use these commands in attempt to stream to youtube
VBR="2500k" # Bitrate
FPS="20" # FPS
QUAL="medium" #ffmpeg quality
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL base
SOURCE="http://192.168.9.XX/videostream.asf?user=admin&pwd=***" # Source of video
KEY="KEY HERE" # youtube event key
ffmpeg \
-i "$SOURCE" \
-vcodec copy -pix_fmt yuv420p -preset $QUAL -r $FPS -g $(($FPS * 2)) -b:v $VBR \
-ar 44100 -threads 6 -qscale 3 -b:a 712000 -bufsize 512k \
-f flv "$YOUTUBE_URL/$KEY"I get this output
moha@moha:~/Desktop$ sh start_stream_xmas.sh
ffmpeg version git-2014-11-28-ea38e5a Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 28 2014 11:06:47 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.101 / 56. 15.101
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
[mjpeg @ 0xb0c0a60] ignoring invalid SAR: 0/0
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, asf, from 'http://192.168.9.66/videostream.asf?user=admin&pwd=':
Duration: N/A, start: 0.000000, bitrate: 32 kb/s
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: adpcm_ima_wav ([17][0][0][0] / 0x0011), 8000 Hz, 1 channels, s16p, 32 kb/s
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, flv, to 'rtmp://a.rtmp.youtube.com/live2/createnetxmas.kpjg-5fdg-qp1c-4bvd':
Metadata:
encoder : Lavf56.15.101
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, q=2-31, 2500 kb/s, 1k tbn, 20 tbc
Stream #0:1: Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 44100 Hz, mono, s16p, 712 kb/s
Metadata:
encoder : Lavc56.13.100 libmp3lame
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (adpcm_ima_wav (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Multiple frames in a packet from stream 1
frame= 12 fps=0.0 q=-1.0 size= 882kB time=00:00:06.34 bitrate=1138.6kbits/frame= 13 fps= 13 q=-1.0 size= 953kB time=00:00:06.83 bitrate=1142.0kbits/frame= 14 fps=9.1 q=-1.0 size= 1029kB time=00:00:07.30 bitrate=1153.5kbits/frame= 15 fps=7.3 q=-1.0 size= 1104kB time=00:00:07.77 bitrate=1162.7kbits/frame= 16 fps=6.1 q=-1.0 size= 1181kB time=00:00:08.42 bitrate=1148.4kbits/frame= 17 fps=5.3 q=-1.0 size= 1256kB time=00:00:09.07 bitrate=1133.4kbits/frame= 18 fps=4.8 q=-1.0 size= 1325kB time=00:00:09.70 bitrate=1119.0kbits/frame= 19 fps=4.4 q=-1.0 size= 1403kB time=00:00:10.19 bitrate=1127.3kbits/frame= 20 fps=4.1 q=-1.0 size= 1482kB time=00:00:10.66 bitrate=1138.3kbits/frame= 21 fps=3.9 q=-1.0 size= 1556kB time=00:00:11.31 bitrate=1126.0kbits/moha@moha:~/Desktop$Suddenly the streaming stops and the terminal hangs. I’m not sure why. Is it because the video has no audio in streaming ?