
Recherche avancée
Autres articles (91)
-
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 (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (7054)
-
How to write a video stream containing B-frame and no DTS to a MP4 container ?
14 février 2020, par SteveHI want to save a h264 video stream received from a RTSP source to a MP4 container.
Not like other questions asked on SO, here the challenges I face are :-
The stream contains B frames.
-
The stream has only PTS given by the RTP/RTCP.
Here is the code I did
// ffmpeg
pkt->data = ..;
pkt->size = ..;
pkt->flags = bKeyFrame? AV_PKT_FLAG_KEY : 0;
pkt->dts = AV_NOPTS_VALUE;
pkt->pts = PTS;
// PTS is based on epoch microseconds so I ignored re-scaling.
//av_packet_rescale_ts(pkt, { 1, AV_TIME_BASE }, muxTimebase);
auto ret = av_interleaved_write_frame(m_pAVFormatCtx, pkt);I received a lot of error messages like this :
"Application provided invalid, non monotonically increasing dts to muxer ...".Result : the mp4 file is playable via VLC but the FPS is just a half of the original FPS and the video duration is incorrect (VLC shows a weird number).
So how do I set correct DTS and PTS before sending to the container ?
Update :
I have tried some changes, though not successfully yet, I found that the reason of the frame rate drop is due to the muxer discards frames having incorrect DTS.
Additionally, if I set start of PTS and DTS value too big, some players like VLC has to delay some time before showing video. -
-
Lossless conversion from XVID to iPad-compatible mp4 container [closed]
3 juin 2013, par forthrinIs it possible to do a lossless (ie. without re-encoding) conversion from XVID ("Advanced Simple Profile") to an mp4 container which plays smoothly on an iPad ?
Current attempts give a lot of "jumping" in the video stream ?
ffmpeg -i in.avi -fflags +genpts -strict -2 -an -vcodec copy out.mp4
-
Youtube Live streaming using ffmpeg container webm
18 décembre 2017, par P AkhtarI want to stream youtube live using webm container vp8 codec but enable to done using code or command.
ffmpeg -i E:/Video/Waka.mp4 -g 48 -f webm -vcodec libvpx-vp9 rtmp://youtube live url
its work fine with flv