
Recherche avancée
Médias (3)
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (13439)
-
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 ?


-
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.


-
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