
Recherche avancée
Autres articles (38)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (8198)
-
PowerShell progress bar won't display
28 mai 2021, par BrettI'm trying to write my first PowerShell GUI. Basically I'm trying to run a
ffmpeg
command which is fine and works, but I cannot get the progress bar to run. (I'm brand new to this.) Here is my attempt.


cd C:\Users\brett\Documents\convert
$cmd = 'ffmpeg.exe'
$arg0 = '-i'
$arg1 = 'MASH_01.ts'
$arg2 = '-c:v'
$arg3 = '-c:a'
$arg4 = 'MASH_01.mp4'
$cf = 'copy'
$isFile = 'MASH_01.mp4'
if (-not(Test-Path -Path $isFile) -eq $false) {
 echo "Shit Go"
 del $isFile

 & $cmd $arg0 $arg1 $arg2 $cf $arg3 $cf $arg4
 for ($i = 1; $i -le 100; $i++) {
 Start-Sleep -m 100
 Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i;
 }
} else {
& $cmd $arg0 $arg1 $arg2 $cf $arg3 $cf $arg4
 for ($i = 1; $i -le 100; $i++) {
 Start-Sleep -m 100
 Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i;
 }
}




Update : There is no error output I can see, but the progress bar runs after the file has been processed, not during.



here is my latest attempt.. but now i get ffmpeg saying "m" is not a valid switch



cd C:\Users\brett\Documents\convert
$oldVideo = Get-ChildItem -Include @("*.ts")
Write-Host -ForegroundColor Green -Object $ArgumentList;
# Pause the script until user hits enter
$isFile = 'MASH_01.mp4'
if( -not(Test-Path -Path $isFile) -eq $false) {
 echo "Shit Go"
 del $isFile
 }a
 $tool = ffmpeg.exe
$ArgumentList = '`-i'+' '+'MASH_01.ts'+' '+'-c:v'+' '+'copy'+' '+'-c:a'+' '+'copy'+' '+'MASH_01.mp4';
Invoke-Expression $tool $ArgumentList
for($i = 1; $i -le 100; $i++){
 ffmpeg $ArgumentList -m 100

 Write-Progress -Activity 'Progress Of The Coversion' -Status "$i Percent Complete" -PercentComplete $i 
 `-SecondsRemaining $a -CurrentOperation
 "$i% complete" `

 }



-
HEVC Muxing/Demuxing Bug
22 juillet 2022, par Adeel AbbasI am trying to mux and then demux an HEVC stream and running into an issue where the reconstructed video is slightly longer than original video.


Using segment muxer, I split video into 6 second segments (video was captured at 6 second IDR intervals so copy filter can work) :


ffmpeg -y -r 24 -i input.mp4 -map 0:v:0? -c copy \
-f segment -segment_time 5 -reset_timestamps 1 ./segments/%05d.mp4



Using concat demuxer, I combine video segments (created in step 1) as follows :


PWD=`pwd`
ffmpeg -y -f concat -safe 0 -i <( echo file ${PWD}'/segments/00000.mp4'; \
echo file ${PWD}'/segments/00001.mp4'; echo file ${PWD}'/segments/00002.mp4'; \
echo file ${PWD}'/segments/00003.mp4'; echo file ${PWD}'/segments/00004.mp4'; \
echo file ${PWD}'/segments/00005.mp4'; echo file ${PWD}'/segments/00006.mp4'; \
echo file ${PWD}'/segments/00007.mp4'; echo file ${PWD}'/segments/00008.mp4'; \
echo file ${PWD}'/segments/00009.mp4'; echo file ${PWD}'/segments/00010.mp4'; \
echo file ${PWD}'/segments/00011.mp4'; echo file ${PWD}'/segments/00012.mp4'; \
echo file ${PWD}'/segments/00013.mp4'; echo file ${PWD}'/segments/00014.mp4'; \
echo file ${PWD}'/segments/00015.mp4'; echo file ${PWD}'/segments/00016.mp4'; \
echo file ${PWD}'/segments/00017.mp4'; echo file ${PWD}'/segments/00018.mp4'; \
echo file ${PWD}'/segments/00019.mp4'; echo file ${PWD}'/segments/00020.mp4'; \
echo file ${PWD}'/segments/00021.mp4'; echo file ${PWD}'/segments/00022.mp4'; \
echo file ${PWD}'/segments/00023.mp4'; echo file ${PWD}'/segments/00024.mp4'; \
echo file ${PWD}'/segments/00025.mp4'; echo file ${PWD}'/segments/00026.mp4'; \
echo file ${PWD}'/segments/00027.mp4'; echo file ${PWD}'/segments/00028.mp4'; \
echo file ${PWD}'/segments/00029.mp4'; echo file ${PWD}'/segments/00030.mp4'; \
echo file ${PWD}'/segments/00031.mp4'; echo file ${PWD}'/segments/00032.mp4'; \
echo file ${PWD}'/segments/00033.mp4'; echo file ${PWD}'/segments/00034.mp4'; \
echo file ${PWD}'/segments/00035.mp4'; echo file ${PWD}'/segments/00036.mp4'; \
echo file ${PWD}'/segments/00037.mp4'; ) -map 0 -c copy -r 24 -brand mp42 \
-video_track_timescale 600 -tag:v hvc1 output.mp4



When I run example file on above test, output file is approximately 3 seconds shorter than input file (and has a frame rate of 24.33 as opposed to 24 for original).


Script to reproduce bug, along with sample video file is available here


-
FFmpeg, how to skip late input ?
14 novembre 2017, par user3343357I’m running ffmpeg to display incoming stream on a Decklink BlackMagic card with the following command line :
ffmpeg -y -f ourFmt -probesize 32 -i - -f decklink -preset ultrafast
-pix_fmt uyvy422 -s 1920x1080 -r 30 -af volume=0.1 -max_delay 10000
DeckLink Mini MonitorBasically I get the video over the internet by UDP and stream it to ffmpeg stdin. Both audio and video streams have pts and dts and are fully in sync, if the connection is good there is no problems.
However if there are issues with the connection i start getting errors, sometimes the video delay grows significantly, and audio stops working.
The errors i get are :ffmpeg : [decklink @ 0x26cc600] There are not enough buffered video
frames. Video may misbehave ! ffmpeg : [decklink @ 0x26cc600] There’s no
buffered audio. Audio will misbehave ! ffmpeg : Last message
repeated 4 times ffmpeg : [decklink @ 0x26cc600] There are not enough
buffered video frames. Video may misbehave ! ffmpeg : [decklink @
0x26cc600] There’s no buffered audio. Audio will misbehave ! ffmpeg :
Last message repeated 3 times ffmpeg : frame= 5204 fps= 30 q=-0.0
size=N/A time=00:02:53.76 bitrate=N/A dup=385 drop=5 speed=0.993x
ffmpeg : [decklink @ 0x26cc600] There’s no buffered audio. Audio will
misbehave ! ffmpeg : Last message repeated 18 times ffmpeg :
[decklink @ 0x26cc600] There are not enough buffered video frames.
Video may misbehave ! ffmpeg : [decklink @ 0x26cc600] There’s no
buffered audio. Audio will misbehave !The problem is when the connection is back to normal, the video keeps misbehaving until I restart the stream. What I want to do is for FFmpeg to skip to the content of the last second and play synchronized video from there, drop all the late data in between, is it possible ?