Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (54)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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 2011

    MediaSPIP 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 (...)

Sur d’autres sites (9075)

  • FFMPEG conversion from .H264 to MP4 playing too fast

    28 juin 2017, par NickR

    I accidentally deleted a video file but managed to save it with a recovery tool. The video was however corrupted, but I managed to repair that and now have a .h264 file.

    The file plays ok in the VLC player. There are a few glitches but on the whole its 98% perfect. However I now need to convert that into a more useable format (mp4 say).

    Ive downloaded the FFMPEG tool and have managed to pretty easily copy into mp4 with the following command line instruction :

    ffmpeg -i repairedVid.h264 -c copy repairedVid.mp4

    The problem is that the video is playing much too fast. I’ve done some research tried some tweaks that seem to have worked for other people (like forcing frame rate and changing the -vsync) :

    ffmpeg -i repairedVid.h264 -c copy repairedVid.mp4 -vsync 2 -r 23.976

    Ive also tried the crude approach of slowing the video down like this, but this was more of a long shot and I don’t think is the right way to go about it

    ffmpeg -i repairedVid.mp4 -filter:v "setpts=1.5*PTS" repairedVid.mp4

    This is the output when the video copies to MP4. Looks like it might have a clue to the problem (the video should be much longer than 4:40 minutes) :

    frame=13459 fps=1118 q=-1.0 size= 4102773kB time=00:04:40.65 bitrate=119756.4kbiframe=13459 fps=1117 q=-1.0 Lsize= 4102928kB time=00:04:40.65 bitrate=119761.0kbits/s speed=23.3x
    video:4102773kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead : 0.003784%

    I’m totally new to FFMPEG and not having much luck. Any advice would be great.

    Thanks in advance

  • Streaming from Icecast to Facebook Live with ffmpeg on Ubuntu 16.04

    24 juillet 2017, par Matthieu

    I have a webradio streamed by Liquidsoap+Icecast on a DigitalOcean droplet (Ubuntu 16.04), and I want to combine this audio stream with a simple jpeg image with ffmpeg, transform it to a video stream and send it to Facebook live.

    Facebook Live specifications :

    Video Format :

    We accept video in maximum 720p (1280 x 720) resolution, at 30 frames
    per second. (or 1 key frame every 2 seconds). You must send an I-frame
    (keyframe) at least once every two seconds throughout the stream..
    Recommended max bit rate is 4000 Kbps. Titles must be less than 255
    characters otherwise the stream will fail. The Live API accepts H264
    encoded video and AAC encoded audio only.

    Video Length :

    240 minute maximum length, with the exception of continuous live (see
    above). 240 minute maximum length for preview streams (either through
    Live dialog or publisher tools). After 240 minutes, a new stream key
    must be generated.

    Advanced Settings :

    Pixel Aspect Ratio : Square. Frame Types : Progressive Scan. Audio
    Sample Rate : 44.1 KHz. Audio Bitrate : 128 Kbps stereo. Bitrate
    Encoding : CBR.

    And the ffmpeg command I tried :

    ffmpeg -loop 1 -i radio-background.jpg -thread_queue_size 20480 -i http://localhost:8000/radio -framerate 30 -r 30 -acodec aac -strict -2 -c:v libx264 -strict experimental -b:a 128k -pix_fmt yuvj444p -x264-params keyint=60 -b:v 256k -minrate 128k -maxrate 512k -bufsize 768k -f flv 'rtmp://rtmp-api.facebook.com:80/rtmp/'

    This is actually working, as Facebook receives the live video and allows me to publish it. But I can’t figured out why there is a lag almost every 2 or 3 seconds. I asked different people to watch the test video, and everyone gets the same problem : every 2 or 3 seconds the playing "freezes" for half a second and seems to load the video, I even can see the loading icon spinning on the screen.

    I tried different combinations of values for the following options : -thread_queue_size / -b:v / -minrate / -maxrate / -bufsize. Nothing seems to produce any change.

    Video streaming is new for me, I’m not really confortable with the options listed before, so I think I’m missing something here...

    Also, note that the icecast audio stream perfectly works, and according to DigitalOcean graphs, the server is not overloaded. So I think my ffmpeg command is wrong.

    What ffmpeg parameters would be working for that case ?

  • Server side video merging with FFmpeg through oline form

    1er août 2017, par San007

    I have a difficult problem and not enough knowledge to solve it, therefore I am hoping you guys can give me some advice or redirect me to a professional or professional software which can solve my problem.

    I want something fairly simple but I simply do not know how to begin. I Googled extensively but didnt find any related topics.

    What do I want ?
    I want an online form on my website where people can select different options, which are videos, for example
    Question 1
    1 (1.mp4) / 2 (2.mp4) / 3 (3.mp4)
    Question 2
    X (X.mp4) / Y (Y.mp4) / Z (Z.mp4)
    Question 3
    Email adres :
    Generate

    When the visitor clicks the generator button it should merge the video’s the customer has selected. e.g. 1 and X will result in one video file of 1.mp4 and X.mp4 merged. The system should then after succesfully merging the videos send a download link to the users e-mail adres and ideally delete the video from the server afterwards.

    I know I have not done a whole lot of research because my knowledge simply is not enough to create my own solution, but I hope you guys can send me in the right direction, I do not mind any commercial solution.