
Recherche avancée
Médias (21)
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (63)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (5374)
-
Do we have to return full buffers each time our AVIO `read_packet()` callback from FFMPEG is called ?
8 janvier 2023, par Alexis WilkeI allocate an AVIO context with my own
read_packet()
implementation. Only my implementation is such that I may return with acount
smaller than the required inputbuf_size
. Is that allowed ? Or do we have to fill the buffer as much as possible each time outread_packet()
function gets called ?

// initialization
 [...snip...]
 m_avio_context.reset(avio_alloc_context(
 avio_buffer
 , avio_buffer_size
 , 0 // write flag
 , this // opaque
 , &FFMPEGDecoder::decoder_read_static
 , nullptr // write func.
 , nullptr)); // seek func.
 [...snip...]

// implementation of static function
int FFMPEGDecoder::decoder_read_static(void * opaque, std::uint8_t * buf, int size)
{
 return reinterpret_cast<ffmpegdecoder>(opaque)->decoder_read(buf, size);
}

// the actual read_packet()
int FFMPEGDecoder::decoder_read(std::uint8_t * buf, int size)
{
 // in flushing mode, we won't receive any more packets
 //
 if(m_flushing)
 {
 return 0;
 }

 // m_packet is my own packet implementation (an std::vector<>)
 //
 while(m_packet == nullptr
 || static_cast(m_read_pos) >= m_packet->size())
 {
 if(!m_incoming_packets.pop_front(m_packet, -1))
 {
 return 0;
 }
 if(m_packet->is_flush())
 {
 m_flushing = true;
 return 0;
 }
 m_read_pos = 0;
 }

 // the number of bytes to copy size `size` or less if there are
 // less bytes available in my m_packet
 //
 int const copy(std::min(static_cast(size), m_packet->size() - m_read_pos));

 memcpy(buf, m_packet->data().data() + m_read_pos, copy);

 m_read_pos += copy;

 return copy;
}
</ffmpegdecoder>


I'm not looking for a way to fill the buffer, I'm going to implement it that way now. I'm looking for confirmation (or not) that the FFMPEG libraries are not capable of accepting less than
size
bytes inbuf
when ourread_packet()
gets called.

Do you know ?


-
FFmpeg rtsp to webm conversion
11 novembre 2014, par SvenI am working on the implementation for liveTV in mediabrowser (http://www.mediabrowser.tv)
Now i do the implementation for ArgusTV.I use the rtsp stream that argus provides. But i don’t get a good video back...
See in the link below. I uploaded our transcoding file with the output i get (webm).
As you can see, the video is not good.http://www.filedropper.com/ffmpeg
I also tried with the unc path folder output from Argus. But they provide a "tsbuffer" file. That’s not possible to use with ffmpeg ? Only ts files ?
Somebody that can help me ?
-
Streaming a TS video file over TCP socket connection
18 août 2016, par Prasanna SundarI am streaming a TS file using ffmpeg. See more at This link
Now I am writing a custom DataSource of exoplayer to consume this stream through a TCP socket and play the content on exoplayer.
Right now, exoplayer crashes because of my DataSource’s implementation as it is not able to find proper Extractor for the received data from Datasource (I was using TsExtractor).
I have the following questions,
- It is worth to do something like this ? Will I gain anything by this than doing it by HTTP or some other standard protocol(like latency or better streaming) ?
- DataSource reads the data to a byte array and start playing(I made a lame implementation). How to make it play a streaming content through a TCP socket ? like opening an OutputStream and play from it ?