
Recherche avancée
Autres articles (52)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (6647)
-
FFMPEG - Recursive mp3 bitrate-conversion (Windows)
3 avril 2018, par ShroomPowI am looking for a way to convert every mp3-file in a directory (including sub-directories) to 128kbps using ffmpeg and preferably batch on windows.
Either by replacing the original files or "cloning" the whole directory-structure.I am trying to cut down the size of my musiclibrary for my phone. Is this easily achievable ?
-
Using ffMPEG on Windows with only the DLL's ?
7 novembre 2012, par NavWhat I actually want is to store frames of a video into a char array, using ffMPEG.
Constraint is to use only MSVC. Not allowed to use the Windows building tweak due to maintainability issues.So considered using the shared build to accomplish the task. It consists of only DLL's. No
lib
files, so I tried loading one of the DLL's usingHINSTANCE hInstLibrary = LoadLibrary("avcodec-54.dll");
and it works. But I couldn't find the interfaces of this DLL published anywhere. Could anyone help with this ? How do I know which functions of the DLL I can call and what parameters I can pass it so that I can get the video frames ? -
FFmpeg recording h264 to a circular buffer "Packet header not contained in global..."
25 novembre 2015, par user15941I’ve made a class which captures a RTSP h264 stream and stores its Packets in a circular buffer. On demand the content of the buffer is dumped to a file with header and trailer. I based the code mainly on : this question example, but by trial and error I came up with three modifications :
- I use wrapping object for AVPacket not to bother with memory deallocation.
- I convert the data with a filter : "h264_mp4toannexb", so the result file is in .ts format.
- I wait in a loop to get a key-frame before any push_back() to circular buffer.
However something’s wrong with the framerate. The only player, that opens my videos correctly is mplayer. VLC and other players I tested show all the frames in one second.
ffmpeg lib also reports a lot of error messages : "Packet header is not contained in global metadata", but I don’t know whether the information is held in that header or in some other place ?
With this code I assign consecutive pts and dts. Then every packet is stored in the circular buffer.
packet.pts = idx++;
packet.dts = packet.pts;
if (cbuf_mutex.try_lock()) {
cbuf.push_back(PACKET(&packet));
captured_frames++;
if (captured_frames > CBUF_SIZE)
captured_frames = CBUF_SIZE;
cbuf_mutex.unlock();
}
else {
syslog(LOG_ERR, "Buffer mutex was locked - packet skipped");
}PACKET class implements copying of the data.
Is there something missing, which may cause the errors ?PACKET::PACKET(const PACKET& rhs)
{
av_new_packet(&packet, rhs.packet.size);
av_copy_packet(&packet, &rhs.packet);
}
PACKET& PACKET::operator=(const PACKET& rhs)
{
if (&rhs == this)
return *this;
av_free_packet(&packet);
av_new_packet(&packet, rhs.packet.size);
av_copy_packet(&packet, &rhs.packet);
return *this;
}