
Recherche avancée
Autres articles (96)
-
Les sons
15 mai 2013, par -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
MediaSPIP en mode privé (Intranet)
17 septembre 2013, parÀ partir de la version 0.3, un canal de MediaSPIP peut devenir privé, bloqué à toute personne non identifiée grâce au plugin "Intranet/extranet".
Le plugin Intranet/extranet, lorsqu’il est activé, permet de bloquer l’accès au canal à tout visiteur non identifié, l’empêchant d’accéder au contenu en le redirigeant systématiquement vers le formulaire d’identification.
Ce système peut être particulièrement utile pour certaines utilisations comme : Atelier de travail avec des enfants dont le contenu ne doit pas (...)
Sur d’autres sites (11682)
-
Error trying to install FFmpeg on Oracle Cloud VM Linux [closed]
14 mai 2022, par lucasrvimieiroI'm trying to host a discord bot using Oracle Cloud but I need to install the FFmpeg extension for it to be able to play music. I have absolutely no experience with Linux at all but I was able to run the bot normally after a few tutorials. Everything is working fine except for the FFmpeg installation.


I already tried following these guides :
https://computingforgeeks.com/how-to-install-ffmpeg-on-centos-rhel-8/
https://techviewleo.com/install-ffmpeg-on-rocky-almalinux-oracle-linux/


However I keep getting the error :




Errors during downloading metadata for repository 'nux-dextop' :


- 

- Status code : 404 for http://mirrors.coreix.net/li.nux.ro/nux/dextop/el7/aarch64/repodata/repomd.xml
(IP : xx.xx.xxx.xx)
- Status code : 404 for http://li.nux.ro/download/nux/dextop/el7/aarch64/repodata/repomd.xml
(IP : xxx.xx.xx.xxx) Error : Failed to download metadata for repo
'nux-dextop' : Cannot download repomd.xml : Cannot download
repodata/repomd.xml : All mirrors were tried








when executing :


sudo dnf -y install ffmpeg



I cannot find any solutions online. Is it even possible to install FFmpeg there ? The VM is running Oracle-Linux-8.5-aarch64-2022.04.04-0. I'm using Bitvise SSH Client to connect to the terminal.


-
FFMPEG : Reconnect not working for HTTP source with UDP output [closed]
5 octobre 2023, par QuinnellI am streaming an audio input with a static video slate. Audio comes from an HTTP source. I output to a multicast IP via UDP.


The stream periodically fails. The process needs to be killed and manually restarted. Would like to have the stream automatically reconnect itself upon failure.


Server runs CentOS 7.
FFMPEG version : ffmpeg version N-107408-g882aac99d2 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)


The server will eventually be replaced with AlmaLinux 8.8 running the latest version of ffmpeg.


Currently experimenting with the RECONNECT option but so far it has failed to restore the stream automatically.


note : IPs and identifying variables have been sanitized.


#! /bin/bash

filename="test1.yuv"
streamTitle="Reconnect_TEST1" # friendly name for stream. Helps when running pgrep
streamInput="100.100.100.100:8002" # Input IP:Port we're receiving on.
multicastOut="232.100.100.100:5500" # Multicast IP:Port we're sending to
logFile=/home/username/logs/${streamTitle}.log # Log file we output the nohup data to.

nohup ffmpeg \
 -re \
 -video_size 854x480 \
 -i $filename \
 -i http://${streamInput} \
 -reconnect 1 \
 -reconnect_at_eof 1 \
 -reconnect_streamed 1 \
 -reconnect_on_network_error 1 \
 -reconnect_on_http_error 1 \
 -reconnect_delay_max 10 \
 -c:a ac3 \
 -ac 1 \
 -af loudnorm \
 -vf loop=loop=-1:size=1:start=0 \
 -c:v libx264 \
 -profile:v main \
 -s:v 854x480 \
 -aspect 16:9 \
 -r 15 -g 30 -bf 0 -crf 30 \
 -fflags +genpts -flags +cgop+ilme \
 -metadata title=$streamTitle \
 -metadata:s:a:0 language=eng \
 -mpegts_flags +pat_pmt_at_frames \
 -flush_packets 0 -threads 1 \
 -v verbose \
 -f mpegts udp://${multicastOut}?pkt_size=1316 \
 -loglevel verbose >$logFile &



-
FFMPEG Executing Command Error (index entry 349 + TemporalOffset 1 = 350, which is out of bounds)
21 octobre 2022, par Marcelo Lopes NunesWhen I conversion file MXF using ffmpeg command :


fmpeg -y -i TEST.mxf -vcodec mpeg2video -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 20000k -g 15 -bf 2 -r 25 -s 1920x1080 -aspect 16:9 -top 1 -flags:v +ilme+ildct -vf yadif=1 -acodec pcm_s24le -map 0:0 -map 0:a -map 0:a -map 0:a -map 0:a -ar 48000 -ac 1 CONVERT.mxf


FFmpeg command Execution error index entry 349 + TemporalOffset 1 = 350, which is out of bounds below log.


libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
[mxf @ 0x560422b8bc20] index entry 349 + TemporalOffset 1 = 350, which is out of bounds
Guessed Channel Layout for Input Stream #0.1 : mono
Guessed Channel Layout for Input Stream #0.2: mono



So after this, the audio isn't synchronized with the movie.
I executed the same command with a lot of other MXFs it worked and I don't have the FFmpeg error in the log.


Mediainfo MXF below.


<track type="General">
 <videocount>1</videocount>
 <audiocount>2</audiocount>
 <othercount>3</othercount>
 <fileextension>mxf</fileextension>
 <format>MXF</format>
 XDCAM HD422
 1.3
 OP-1a
 Closed / Complete
 <filesize>91497029</filesize>
 <duration>14.000</duration>
 <overallbitrate>52284016</overallbitrate>
 <framerate>25.000</framerate>
 <framecount>350</framecount>
 <footersize>2629</footersize>
 <packagename>Source Package</packagename>
 0-00-00 00:00:00.000
 UTC 2022-10-19 10:23:49
 2022-10-19 11:23:49
 FFmpeg
 OP1a Muxer
 58.29.100.0.0
 58.29.100.0.0
 </track>
 <track type="Video">
 <streamorder>0</streamorder>
 <id>2</id>
 <format>MPEG Video</format>
 XDCAM HD422
 2
 4:2:2
 High
 Yes
 Default
 M=3, N=15
 Frame
 Frame
 <codecid>0D01030102046001-0401020201040300</codecid>
 <duration>14.000</duration>
 CBR
 <bitrate>50000000</bitrate>
 <width>1920</width>
 <height>1080</height>
 1920
 1080
 <pixelaspectratio>1.000</pixelaspectratio>
 <displayaspectratio>1.778</displayaspectratio>
 <framerate>25.000</framerate>
 <framecount>350</framecount>
 <colorspace>YUV</colorspace>
 <chromasubsampling>4:2:2</chromasubsampling>
 <bitdepth>8</bitdepth>
 <scantype>Interlaced</scantype>
 <scanorder>TFF</scanorder>
 Lossy
 <delay>0.000</delay>
 0.000
 00:00:00:00
 Group of pictures header
 Open
 Closed
 <streamsize>87500000</streamsize>
 <buffersize>2500608</buffersize>
 <extra>
 0
 8
 </extra>
 </track>
 <track type="Audio" typeorder="1">
 <streamorder>1</streamorder>
 <id>3</id>
 <format>PCM</format>
 Little
 Frame (AES)
 <codecid>0D01030102060300</codecid>
 <duration>14.000</duration>
 CBR
 <bitrate>1152000</bitrate>
 <channels>1</channels>
 <samplesperframe>1920</samplesperframe>
 <samplingrate>48000</samplingrate>
 <samplingcount>672000</samplingcount>
 <framerate>25.000</framerate>
 <framecount>350</framecount>
 <bitdepth>24</bitdepth>
 <delay>0.000</delay>
 No
 Container
 <streamsize>2016000</streamsize>
 0.02203
 <extra>
 0
 <locked>Yes</locked>
 <blockalignment>3</blockalignment>
 </extra>
 </track>



I researched this problem on ffmpeg.org and I found "This implies there's a VBR index with slices. Probably because of mxf->slice_count = 1 ;
Slices are MXF's way of indexing VBR combined with CBR." but I don't know how I fix this.