
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (112)
-
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 ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14984)
-
Why is exec('which ffmpeg') returning nothing in my application ?
28 avril 2015, par EchoLogicI’m trying to deal with FFMpeg for my application, but I’m encountering some difficulty in getting it set up. To instantiate or create an instance of FFMpeg, I need to call a
create()
method and pass through the operating locations of FFMpeg and FFProbe. To do this, I was hoping to be able to write :$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => exec('which ffmpeg'),
'ffprobe.binaries' => exec('which ffprobe')
]);But, sadly, the command
exec('which ffmpeg')
returns an empty string. If I run the ’which ffmpeg’ command in Terminal, I get a response :/usr/local/bin/ffmpeg
So why does it work in my terminal, but not when my PHP script tries to execute it ?
I’ve tried a few solutions, such as appending
2>&1
to the end of the command, which did not help, running the command inshell_exec()
, and placing the output in the second parameter ofexec()
which also did not solve my issue.I feel like this may be some sort of weird permissions issue...
Addendum
It has been brought to my attention that PHP cannot see my
$PATH
variable. From the console,echo $PATH
produces :/Applications/MAMP/bin/php/php5.6.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin
While calling the same from my application with
exec()
produces :/usr/bin:/bin:/usr/sbin:/sbin237.671000
-
Multiple mdhd ? Error while processing Video
10 mai 2024, par KaunainI am facing a weird error in FFMPG while doing any operation of a particular video. I did a lot of R&D but did not found any solution regarding this. Can anyone of you please look into it, it will be so kind.


here is a command i am using to mute the video, but end up with the following error.


fun videoMuteCmd(
 filePath: Uri,
 outputPath: String,
): Array<string> {
 return arrayOf(
 "-y", "-i", filePath.toString(),
 
 "-c", "copy", "-an", outputPath
 )
}
</string>


ERROR




: LogMessageexecutionId=3010, level=AV_LOG_ERROR,
text='[mov,mp4,m4a,3gp,3g2,mj2
@ 0xb400007c1243e000] Multiple mdhd ?
'


: LogMessageexecutionId=3010, level=AV_LOG_ERROR,
text='[mov,mp4,m4a,3gp,3g2,mj2
@ 0xb400007c1243e000] error reading header
'


LogMessageexecutionId=3010, level=AV_LOG_ERROR,
text='/storage/emulated/0/Android/media/com.whatsapp/WhatsApp/Media/WhatsApp
Video/VID-20240510-WA0037.mp4 : Invalid data found when
processing input
'




Please look into this error and please suggest the possible fix.


-
ffmpeg input stream's fps detection bug [closed]
10 mai 2024, par I have 10 fingersI have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps.


The weird thing is that when ffmpeg analyze its input stream, one profile is recognized as 1 fps as below


Input #0, rtsp, from 'rtsp://...':
 Metadata:
 title : Media Presentation
 comment : samsung
 Duration: N/A, start: 0.064144, bitrate: N/A
 Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 1 fps, 1 tbr, 90k tbn, 2 tbc
 Stream #0:1: Data: none
Output #0, flv, to 'rtmp:...':
 Metadata:
 title : Media Presentation
 comment : samsung
 encoder : Lavf58.29.100
 Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuvj420p(pc, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 1 fps, 1 tbr, 1k tbn, 90k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (copy)



And when it is played the tbr is 30 i think it means the real fps from video stream is 30.


The other stream is normal 30 fps input 30 fps. I want to know what cause this fps detection bug ?