
Recherche avancée
Autres articles (27)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (4171)
-
ffmpeg : RTP missed packets, how to avoid ? [on hold]
17 mai 2019, par James AdamsI am saving H.264/5 video (from IP camera) to MP4 using
ffmpeg
without transcoding :$ ffmpeg -i -vcodec copy -y -rtsp_transport tcp video.mp4
I’m getting numerous missing packets messages, for example :
[rtsp @ 0x55d6a47a8d40] RTP: missed 3 packets
[rtsp @ 0x55d6a47a8d40] max delay reached. need to consume packet
[rtsp @ 0x55d6a47a8d40] RTP: missed 1 packets
[rtsp @ 0x55d6a47a8d40] max delay reached. need to consume packet
[rtsp @ 0x55d6a47a8d40] RTP: missed 4 packets
[rtsp @ 0x55d6a47a8d40] max delay reached. need to consume packetThe above results in MP4 files that are wonky looking in some places, apparently data has been lost and this results in smeared looking video files.
I seem to have better luck when I change the option order and put the
-rtsp_transport tcp
before the-i
, but that’s also problematic because it seems to hang without ever finishing (at least I’ve never waited long enough for it to finish on its own before killing the process).I have had better luck with reading the video stream (same RTSP URL) using OpenCV (no missing packet messages) but I know of no way to avoid the transcoding step using that package so I’m stuck with ffmpeg (it seems that I’m not alone). Maybe OpenCV is doing some sort of buffering that helps it avoid dropping packets, and there’s a corresponding option that I haven’t found yet that will enable this for ffmpeg ?
My system is a Dell XPS laptop running Ubuntu 18.04.
How can I work around this issue ?
-
How do I solve this problem ?? PHP-FFMpeg
12 octobre 2019, par Ahmed RashidI trying encoding video by PHP-FFMpeg library but there some errors that shown to me. The error
Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffmpeg failed to execute command "C:/FFmpeg/bin/ffmpeg.exe" -y -i video1.mp4 -async 1 -metadata:s:v:0 start_time=0 -threads 12 -vcodec libx264 -acodec libfaac -b:v 1000k -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -vf "[in]scale=320:240 [out]" -pass 1 -passlogfile "C:\Users\DELL\AppData\Local\Temp\ffmpeg-passes5d9e35f516ce1e66b8/pass-5d9e35f517030" export-x264.mp4: Error Output: ffmpeg version N-95216-ge6625ca41f Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20190918 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheor in C:\xampp\htdocs\AnimeX\s2\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106`
The library PHP-FFMpeg library
-
How to solve Fatal error : Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg failed to execute command
7 novembre 2019, par Ahmed RashidI am trying to encode video using the PHP-FFMpeg library, but there are some errors that are shown to me. The errors :
Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutionFailureException : ffmpeg
failed to execute command "C :/FFmpeg/bin/ffmpeg.exe" -y -i video1.mp4
-async 1 -metadata:s:v:0 start_time=0 -threads 12 -vcodec libx264 -acodec libfaac -b:v 1000k -refs 6 -coder 1 -sc_threshold 40 -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4 -trellis 1 -b:a 128k -vf "[in]scale=320:240 [out]" -pass 1 -passlogfile "C :\Users\DELL\AppData\Local\Temp\ffmpeg-passes5d9e35f516ce1e66b8/pass-5d9e35f517030"
export-x264.mp4 : Error Output : ffmpeg version N-95216-ge6625ca41f
Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1
(GCC) 20190918 configuration : —enable-gpl —enable-version3
—enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheor in C :\xampp\htdocs\AnimeX\s2\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php
on line 106`The library is PHP-FFMpeg library.