
Recherche avancée
Médias (2)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (22)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (6247)
-
FFmpeg : Windows vs Linux issues
16 octobre 2022, par ChrisI have run into an issue that I am pretty sure I have narrowed down to FFmpeg.


I have a Flask app that restreams live streams using FFmpeg.


...

@app.route("/play/", methods=["GET"])
def play():
 def streamData():
 try:
 with subprocess.Popen(
 ffmpegcmd,
 stdin=subprocess.DEVNULL,
 stdout=subprocess.PIPE,
 stderr=subprocess.PIPE,
 ) as ffmpeg_sb:
 while True:
 chunk = ffmpeg_sb.stdout.read(1024)
 if len(chunk) == 0:
 break
 yield chunk
 except:
 pass
 finally:
 ffmpeg_sb.kill()

 return Response(streamData())

...




I am using the following command.


ffmpeg -loglevel panic -hide_banner -i <url> -vcodec copy -acodec copy -f mpegts pipe:</url>


When I run my Flask app on Windows, both VLC and TVHeadend play the piped output perfectly.
However under Linux only VLC will play the piped output. I can get TVHeadend to play the stream from Linux, but it requires me to enable the AV Library option in TVHeadend, which I want to avoid. I have tested this using WSL (Ubuntu) and Docker (alpine + Ubuntu) on my Ubuntu server where the app will live.


I can only assume its because FFmpeg behaves differently between Windows and Linux ? I have tried several different version of FFmpeg... So I don't think its a version issue.


The version of FFmpeg I am currently using on Windows is this one https://www.gyan.dev/ffmpeg/builds/ but I experienced the same success on older versions, so again, I don't think its a version number issue.


Can anyone suggest how I can go about finding out what the cause is ?
Is it possible that some default values differ between Windows and Linux ?


Any advice is appreciated !


-
System reboots during ffmpeg tool installation
11 novembre 2016, par JeeBoomBaaI have enabled QSV with reference of the streambuilder’s enabling-iqsv docs.
MACHINE DETAILS
Server : Intel(R) Xeon(R) CPU E3-1285 v4 3.50GHz w/ Supermicro X10SLH-F
Kernel : Linux 3.10.0-229.1.2.44985.MSSr7.el7.centos.x86_64 #1 SMP Wed Nov 9 16:26:25 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
I have installed ffmpeg with —enable-nonfree —enable-libmfx configurations, configuration command was successfully done.Then, I invoke make and our server gets hanged in few seconds and it will gets rebooted automatically.
I feel it might be compilation issue with make script.
./configure --prefix="/usr/ffmpeg" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-nonfree --enable-libmfx
make
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2068, si_status=0, si_utime=0, si_stime=0} ---
rt_sigreturn() = 2068
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("libavcodec/intrax8dsp.o", {st_mode=S_IFREG|0644, st_size=82840, ...}) = 0
stat("libavcodec/ituh263dec.o", 0x7ffff86affb0) = -1 ENOENT (No such file or directory)
stat("libavcodec/ituh263dec.c", {st_mode=S_IFREG|0644, st_size=38617, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM XCPU XFSZ], NULL, 8) = 0
vfork() = 2072
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
wait4(-1, CC libavcodec/ituh263dec.oI have attached config.log and FFMPEG-MAKE-TRACE.log file.
-
How do I fix a 401 Unauthorized error when executing the ffmpeg command on a CentOS 7 system with RTSP input ? [closed]
24 mai 2023, par user21950974Execute the command :

ffmpeg -re -rtsp_transport tcp -i "rtsp://username:password@ip:port/h264/ch1/main/" -f flv -vcodec h264 -vprofile baseline -acodec aac -ar 44100 -strict -2 -ac 1 -f flv -q 10 "rtmp://localhost:10001/live/mystream"


Error code :

[rtsp @ 0xf4f540] method DESCRIBE failed: 401 Unauthorized rtsp://username:password@ip:port/h264/ch1/main: Server returned 401 Unauthorized (authorization failed)


ffmpeg version 5.1.3


This question has been bothering me for two days.
I used VLC on Windows to type in the same RTSP address and it was able to play