
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (53)
-
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 (10486)
-
Why does ffmpeg.exe started from Windows batch file close immediately without waiting for user input ?
12 juin 2017, par user2566350I searched google for an hour but I could not find anything to fix my issue. I found only "similar" fixes for problems I’m not having.
I am opening
ffmpeg.exe
from a batch file that only hasffmpeg.exe
with no arguments in it and it doesn’t work even though it did few hours ago.If I open command line from the folder and enter
ffmpeg.exe
it works because it’s not closingffmpeg
but waits for my input which is exactly how the batch file worked before.What could be the issue ?
I have not changed the batch file or
ffmpeg
one or their locations.Running on Windows 7 x64 if that matters.
Edit : File name is
start ffmpeg.bat
. It’s content is onlyffmpeg.exe
which used to work. I also triedstart ffmpeg.exe
andffmpeg
and changed the filename to1.bat
and1.cmd
but neither worked.Edit2 : Sorry i can’t explain myself better my english isn’t very good, however I will try to explain using these images :
This is what i get if i run CMD from the desktop and enter ffmpeg.exe
This is what I get when i run the batch file (after i added pause)
Batch contents : 1st line=ffmpeg.exe, 2nd line=pause.As you can see without the pause ffmpeg will terminate and not remain on the screen like the in first image.
I tried renaming the file and I tried to run it as admin but neither worked, Any suggestion why is it suddenly not running as it did yesterday ?
-
Ffmpeg hls segment stop segmenting after 5300 segments
9 avril 2019, par Hug DuinoI’m trying to make a http video streaming using hls, ffmpeg and raspivid and I need a replay time of 1 day but after 5300 segments ffmpeg stop segmenting and continue writing the video to the 5301 segment for the end of the day (5300/5301 is an average number, +- 50 segments)
I have plenty of storage space, my camera can record all the day. The only problem is ffmpeg who decide to stop segmenting after 5300 segmentsThank you and sorry for my poor english ^^
Here is my streaming script :
base="/var/www/html/"
set -x
rm -rf /var/www/html/ppc/saves/live live.h264
mkdir -p /var/www/html/ppc/saves/live
# fifos seem to work more reliably than pipes - and the fact that the
# fifo can be named helps ffmpeg guess the format correctly.
mkfifo live.h264
raspivid -a 1036 -w 1640 -h 1232 -fps 15 -t 37200000 -b 1500000 -o - | psips > live.h264 &
# Letting the buffer fill a little seems to help ffmpeg to id the stream
sleep 2
# Need ffmpeg around 1.0.5 or later. The stock Debian ffmpeg won't work.
# I'm not aware of options apart from building it from source. I have
# Raspbian packags built from Debian Multimedia sources. Available on
# request but I don't want to post them publicly because I haven't cross
# compiled all of Debian Multimedia and conflicts can occur.
ffmpeg -y -r 15 -i live.h264 -f alsa -i default:CARD=C525 -r:a 48000 -ac 1 -af adelay=32s -c:v copy -c:a aac -b:a 128k -map 0:0 -map 1:0 -r 30 \
-f segment \
-segment_time 7 \
-segment_format mpegts \
-segment_list /var/www/html/ppc/saves/live/live.m3u8 \
-segment_list_flags live \
-segment_list_type m3u8 \
-initial_offset -9 \
-strict 2 /var/www/html/ppc/saves/live/%08d.ts < /dev/null``` -
Encoding failed while adding watermark using ffmpeg in Laravel
16 décembre 2020, par RuturajsinhI'm getting an error while adding a watermark on the video in Laravel.
I'm using this protonemedia/laravel-ffmpeg package and I got reference code from here stackoverflow answer. I'm using the code from the first answer. If I do not add a watermark then it's working fine, but when I add a watermark I got an error.




FFMpeg\Exception\RuntimeException : Encoding failed in file E :\xampp\htdocs\Learn\video-demo\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AbstractVideo.php on line 106




I'm using PNG image and MP4 video and I'm using first time this type of package so I don't know how to fix that and I didn't find any right solution.


Please help me to fix that.
Thanks and also sorry for bad English.


My watermark function :


public function postVideo(Request $request)
{
 $video_file = $request->file('file');

 $ffmpeg = FFMpeg\FFMpeg::create();
 $video = $ffmpeg->open($video_file);

 
 $watermark = public_path()."/app_logo.png";
 $reqExtension = "mp4";

 if (!empty($watermark))
 {
 $video->filters()
 ->watermark($watermark, array(
 'position' => 'bottom',
 'top' => 25,
 'right' => 50,
 ));
 }
 $format = new FFMpeg\Format\Video\X264();
 $format->setAudioCodec("libmp3lame");
 

 $randomFileName = rand().".$reqExtension";
 $saveLocation = public_path(). '/watermark/'.$randomFileName;
 $video->save($format,$saveLocation);

 if (file_exists($saveLocation))
 return "http://localhost:8000/video/$randomFileName";
 else
 return "http://localhost:8000/test/thumb/404.png";
 
}