
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (96)
-
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 (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (8309)
-
Metadata is not showing ffmpeg C++
18 août 2015, par Kaidul IslamI am muxing h264 encoded video data and PCM g711 encoded audio data into a
.mov
media container. I am trying to write metadata on header but the metadata is not showing when I go to file->right click->properties->details on windows and likewise in Ubuntu. This is my code -// Instead of creating new AVDictionary object, I also tried following way
// stated here: http://stackoverflow.com/questions/17024192/how-to-set-header-metadata-to-encoded-video
// but no luck
AVDictionary* pMetaData = m_pFormatCtx->metadata;
av_dict_set(&pMetaData, "title", "Cloud Recording", 0);
av_dict_set(&pMetaData, "artist", "Foobar", 0);
av_dict_set(&pMetaData, "copyright", "Foobar", 0);
av_dict_set(&pMetaData, "filename", m_sFilename.c_str(), 0);
time_t now = time(0);
struct tm tStruct = *localtime(&now);
char date[100];
strftime(date, sizeof(date), "%c", &tStruct); // i.e. Thu Aug 23 14:55:02 2001
av_dict_set(&pMetaData, "date", date, 0);
av_dict_set(&pMetaData, "creation_time", date, 0);
av_dict_set(&pMetaData, "comment", "This video has been created using Eyeball MSDK", 0);
// ....................
// .................
/* write the stream header, if any */
int ret = avformat_write_header(m_pFormatCtx, &pMetaData);I also tried to see if the file contains any metadata using
mediainfo
andexiftools
in linux. Also I triedffmpeg -i output.mov
but no metadata is shown.Whats the problem ? Is the
flags
value0
inav_dict_set
okay ? DO I need to set different flags for different platform (windows/linux) ?I saw this link and it stated that for windows, I have to use
id3v2_version 3
and-write_id3v1 1
to make metadata working. If so, how can I do this in C++ ? -
vframes option ignored in ffmpeg ?
25 mars 2016, par cooperI have a directory that contains 2001 PNG files. I can convert all of the frames to an mp4 video using ffmpeg and the following command :
ffmpeg -framerate 60 -start_number 0 \
-i pic.comp2.%07d.png -c:v libx264 -r 30 \
-pix_fmt yuv420p input1ia.mp4This works fine. However, I am creating a more complicated application that needs to read only the first 1020 files in the directory (specifically 0 thru 1019). Some googling around led me to the
-vframes
option. My problem is — it seems to get ignored or at least interpreted differently than I expect.My modified command looks like :
ffmpeg -framerate 60 -start_number 0 \
-i pic.comp2.%07d.png -vframes 1020 -c:v libx264
-r 30 -pix_fmt yuv420p input1.mp4It seems like many other people doing the same thing as me do not encounter this issue. So I did some more digging. I tried changing vframes from
1020
to-vframes 20
, and this seemed to work properly. So now I am thinking it might be some kind of mismatch between-framerate
and-r
?The full resultant video is 33 sec long... which makes sense mathematically.
1 sec
--------- x 2001 frames = 33.35 seconds
60 framesThat’s why I thought that specifying 1/2 of the PNGs as the ’end point’ would result in a video of the first 16-17 seconds. But I always get the full length video from using the
-vframes
option.I assume my input to
-vframes
must be incorrect mathematically, since a small number of frames seems to work. However, I do not understand why.The most educated guess I can seem to make is that it is reading the PNGs as 60fps (
-framerate
), but the-r
makes the output video 30fps or something ? However, then I would assume that the full output video would not be 33 seconds long. -
vframes option ignored in ffmpeg ?
25 mars 2016, par cooperI have a directory that contains 2001 PNG files. I can convert all of the frames to an mp4 video using ffmpeg and the following command :
ffmpeg -framerate 60 -start_number 0 \
-i pic.comp2.%07d.png -c:v libx264 -r 30 \
-pix_fmt yuv420p input1ia.mp4This works fine. However, I am creating a more complicated application that needs to read only the first 1020 files in the directory (specifically 0 thru 1019). Some googling around led me to the
-vframes
option. My problem is — it seems to get ignored or at least interpreted differently than I expect.My modified command looks like :
ffmpeg -framerate 60 -start_number 0 \
-i pic.comp2.%07d.png -vframes 1020 -c:v libx264
-r 30 -pix_fmt yuv420p input1.mp4It seems like many other people doing the same thing as me do not encounter this issue. So I did some more digging. I tried changing vframes from
1020
to-vframes 20
, and this seemed to work properly. So now I am thinking it might be some kind of mismatch between-framerate
and-r
?The full resultant video is 33 sec long... which makes sense mathematically.
1 sec
--------- x 2001 frames = 33.35 seconds
60 framesThat’s why I thought that specifying 1/2 of the PNGs as the ’end point’ would result in a video of the first 16-17 seconds. But I always get the full length video from using the
-vframes
option.I assume my input to
-vframes
must be incorrect mathematically, since a small number of frames seems to work. However, I do not understand why.The most educated guess I can seem to make is that it is reading the PNGs as 60fps (
-framerate
), but the-r
makes the output video 30fps or something ? However, then I would assume that the full output video would not be 33 seconds long.