
Recherche avancée
Autres articles (50)
-
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 -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (5379)
-
Merge filename.mp4.tmp with filename.mp4
10 janvier 2017, par SathishHow to merge a abc.mp4.tmp swap file with actual abc.mp4 file. I was trying to recording a live event using Wowza Media server 3.6 and the recorded file was not muxed properly at final moment. The abc.mp4.tmp swap file was not merged with actual abc.mp4 file. So could someone tell me how to merge the abc.mp4.tmp and abc.mp4 file and creates a new file and I can able to play with vlc
Here is the mediainfo of the files
[root@ip-ss-21-98-2 content]# mediainfo 03_03_2014_12_03_08.mp4
General
Complete name : 03_03_2014_12_03_08.mp4
Format : MPEG-4
Format profile : Adobe Flash
Codec ID : f4v
File size : 5.20 GiB
[root@ip-ss-21-98-2 content]# mediainfo 03_03_2014_12_03_08.mp4.tmp
General
Complete name : 03_03_2014_12_03_08.mp4.tmp
File size : 38.3 MiB -
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" `

 }



-
PowerShell progress bar won't display
23 juillet 2014, 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" `
}