
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (76)
-
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 -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (5917)
-
FFmpeg - can't pick up the rtsp-stream
26 avril 2021, par PivoterI am trying to get a single frame through ffmpeg, but I run into an error :


ffmpeg -rtsp_transport tcp -i rtsp://5.101.8.197/11 -vframes 1 -q:v 2 /home/test/video/example.jpg



Output :


[rtsp @ 0x560d28b23900] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
 Consider increasing the value for the 'analyzeduration' and 'probesize' options
 Guessed Channel Layout for Input Stream #0.1 : mono
 Input #0, rtsp, from 'rtsp://5.101.8.197/11':
 Metadata:
 title : WUHAN Ants RtspServer
 Duration: N/A, start: 0.000000, bitrate: 64 kb/s
 Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
 Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
 Output #0, image2, to '/home/test/video/example.jpg':
 Output file #0 does not contain any stream



Changing the parameters analyzability and dimension do not give a result. Noticed that this happens with WUHAN Ants RtspServer, others are fine.
Any ideas ?


UPD : Can try to get the stream at the specified address.


-
Laravel FFMPEG Error Encoding Failed using Laravel Queue
9 avril 2021, par Vaibhavraj S. RohamI am using
"php-ffmpeg/php-ffmpeg": "~0.5"
with Laravel 5. I am using this library for compression and conversion of recorded videos. I will explain the scenario first.


When I execute following code from controller it works like charm.



$ffmpeg = FFMpeg::create();
$video = $ffmpeg->open(public_path()."/videos/harsh.webm");
$video
 ->filters()
 ->resize(new \FFMpeg\Coordinate\Dimension(640, 480))
 ->synchronize();
$video
 ->frame(\FFMpeg\Coordinate\TimeCode::fromSeconds(10))
 ->save(public_path().'/videos/converted/kaushik.jpg');
$format=new \FFMpeg\Format\Video\X264('libmp3lame', 'libx264'); 
$format-> setKiloBitrate(300);
$video->save($format,public_path().'videos/converted/kaushik.mp4');``




But when I put this code in a queue job then it fails with following error





[FFMpeg\Exception\RuntimeException]

 Encoding failed [Alchemy\BinaryDriver\Exception\ExecutionFailureException]

 ffmpeg failed to execute command '/usr/bin/ffmpeg' '-y' '-i' '/opt/lampp/htdocs/candidate/public/videos/harsh.webm' '-async' '1' '-metadata:s:v:0 ' 'start_time=0' '-s' '640x480' '-vcodec' 'libx264' '-acodec' 'libmp3lame' '-b:v' '1000k' '-refs' '6' '-coder' '1' '-sc_threshold' '40' '-flags' '+loop' '-me_range' '16' '-subq' '7' '-i_qfactor' '0.71' '-qcomp' '0.6' '-qdiff' '4' '-trellis' '1' '-b:a' '128k' '-pass' '1' '-passlogfile' '/tmp/ffmpeg-passes57ece7d794da4wdw13/pass-57ece7d794e2a' 'videos/converted/kaushik.mp4' ``




I am able to convert video in MWV and WEBM using following



$video->save(new \FFMpeg\Format\Video\WMV(), 'export-wmv.wmv');
$video->save(new \FFMpeg\Format\Video\WebM(), 'export-webm.webm');




only mp4 fails if I use the



$format=new \FFMpeg\Format\Video\X264('libmp3lame', 'libx264');




What would be the issue ?



Sorry for my code markup in this question, I tried lot but faild, I am new to it !


-
Sequence of images of different dimensions to video FFMPEGCORE
23 mars 2021, par user15450090This is my first time with ffmpegcore. I'm trying to convert sequence of png images of different dimensions (height and width) to a video using ffmpegcore. I could create a video. The issue is the video frame is set to the dimension of the first image (eg 174 x 700) so when a higher dimension images (eg 500 x 700) follows, it is shrunk with in (174 x 700).


Could somebody help me resolve the issue ?


I want my video with images of their actual dimensions.


FFMpeg.JoinImageSequence(videoName, frameRate: 15, imageInfos.ToArray());



imageInfos
has images of different dimensions