
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 (59)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10718)
-
Unable to link FFMpeg libraries in Visual studio 2012
29 juin 2013, par PferdI have been trying to link the FFMPEG static libraries to Visual studio 2012 in c++ environment. But i get the following error.
- Error 1 error LNK1104 : cannot open file
'avcodec.lib' C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\ConsoleApplication5\LINK ConsoleApplication5
my lib files were located in C :\Users\username\Documents\Visual Studio 2012\Projects\ConsoleApplication5\ConsoleApplication5\ExtLib\lib
The compile seems to be fine. The command line is
- /Yu"stdafx.h" /GS /W3 /Zc:wchar_t
/I"C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\ConsoleApplication5\ExtLib\include"
/Zi /Gm /Od /sdl /Fd"x64\Debug\vc110.pdb" /fp:precise /D "WIN32" /D
"_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /errorReport:prompt
/WX- /Zc:forScope /RTC1 /Gd /MTd /Fa"x64\Debug\" /EHsc /nologo
/Fo"x64\Debug\" /Fp"x64\Debug\ConsoleApplication5.pch"
The main issue seems to be at the linking stage where I have just not been able to get VS2012 to find my ffmpeg .lib files
The linker command line is below :
- /OUT :"C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\x64\Debug\ConsoleApplication5.exe"
/MANIFEST /NXCOMPAT /PDB :"C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\x64\Debug\ConsoleApplication5.pdb"
/DYNAMICBASE "avcodec.lib" "kernel32.lib" "user32.lib" "gdi32.lib"
"winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib"
"ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib"
/DEBUG /MACHINE:X64 /OPT:NOREF /INCREMENTAL
/PGD :"C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\x64\Debug\ConsoleApplication5.pgd"
/SUBSYSTEM:CONSOLE /MANIFESTUAC :"level='asInvoker' uiAccess='false'"
/ManifestFile :"x64\Debug\ConsoleApplication5.exe.intermediate.manifest"
/ERRORREPORT:PROMPT /NOLOGO
/LIBPATH :"/LIBPATH:C :\Users\username\Documents\Visual Studio
2012\Projects\ConsoleApplication5\ConsoleApplication5\ExtLib\lib"
/TLBID:1
I cant figure out why the linker cant locate my ffmpeg lib files even though they are physically located in the /LIBPATH area - c :...\vs12...\ExtLib\lib
- Error 1 error LNK1104 : cannot open file
-
how to convert HLS to RTMP with DISCONTINUITY tag
21 août 2018, par bekks8We have software that produces concatenated HLS files. This concatenation is basically just playlist manipulation. We replace some parts of the manifest by other parts. To make the HLS valid we add a #EXT-X-DISCONTINUITY tag before and after the change :
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:5
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:4.0000,
http://host/stream/1
#EXT-X-DISCONTINUITY
#EXTINF:4.0000,
http://host/stream/2
#EXTINF:4.0000,
http://host/stream/3
#EXTINF:4.0000,
http://host/stream/4
#EXTINF:4.0000,
http://host/stream/5
#EXTINF:4.0000,
http://host/stream/6
#EXTINF:0.2917,
http://host/stream/7
#EXT-X-DISCONTINUITY
#EXTINF:4.0000,
http://host/stream/8
#EXT-X-ENDLISTIn an HTML5 player above manifest will play just fine. Everything is in sync, audio and video play.
Now, when i try and convert above to an rtmp format and stream this to a rtmp endpoint it works, but it stalls after about 4 seconds, than it continues missing 4 seconds, and runs fine after that.
Basically, it plays part 1, skips 2, and continues with 3.
I’ve checked the logs for ffmpeg which repeat :
[flv @ 0x7fa696837c00] Non-monotonous DTS in output stream 0:1; previous: 3924, current: 0; changing to 3924. This may result in incorrect timestamps in the output file.
[flv @ 0x7fa696837c00] Non-monotonous DTS in output stream 0:1; previous: 3924, current: 23; changing to 3924. This may result in incorrect timestamps in the output file.
[flv @ 0x7fa696837c00] Non-monotonous DTS in output stream 0:1; previous: 3924, current: 46; changing to 3924. This may result in incorrect timestamps in the output file.After the DTS warnings ffmpeg reports that it dropped 95 frames :
frame= 102 fps= 22 q=28.0 size= 181kB time=00:00:04.34 bitrate= 341.7kbits/s dup=0 drop=95 speed=0.958x
This of course makes, sense, when i check with ffprobe i can see that the PTS isn’t aligned (which is expected) :
frame|pkt_pts_time=5.316667|pkt_dts_time=5.316667|pict_type=B
frame|pkt_pts_time=5.358333|pkt_dts_time=5.358333|pict_type=B
frame|pkt_pts_time=5.400000|pkt_dts_time=1.400000|pict_type=P
frame|pkt_pts_time=5.441667|pkt_dts_time=1.441667|pict_type=P
frame|pkt_pts_time=1.483333|pkt_dts_time=1.483333|pict_type=I
frame|pkt_pts_time=1.525000|pkt_dts_time=1.525000|pict_type=B
frame|pkt_pts_time=1.566667|pkt_dts_time=1.566667|pict_type=BThe 95frames, is exactly the number of frames with a PKT_PTS_TIME (and DTS) in the past.
the ffmpeg command i use to create the RTMP stream is :
ffmpeg -fflags +igndts -re -i http://host/manifest -c:v libx264 -force_key_frames "expr:gte(t,n_forced*2)" -c:a aac -ar 44100 -r 24 -f flv rtmp://domain/some/rtmp/endpoint
What i’m looking for is a way to convert the HLS to a valid RTMP, without it skipping the frames with a PTS in the past. I would like it to just regenerate the PTS :
Is there a way to tell ffmpeg to regenerate the PTS/DTS timestamps in it’s output file ? -
FFmpeg | "HTTP 404 not Found" "Failed to open an initialization section in playlist 0" "Error when loading first fragment, playlist 0"
5 août 2020, par jas_123For some reason FFmpeg cant play the video I want. Im making a Discord bot with youtube-dl. My FFmpeg options are
FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'}


Is there anything I need to change in my options ? Also, this only happens when youtube-dl says
Downloading MPD manifest
. Everything else works until that shows up.