
Advanced search
Medias (91)
-
MediaSPIP Simple : futur thème graphique par défaut?
26 September 2013, by
Updated: October 2013
Language: français
Type: Video
-
avec chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
sans chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
config chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
SPIP - plugins - embed code - Exemple
2 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
Other articles (29)
-
Websites made with MediaSPIP
2 May 2011, byThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 April 2011, byMediaSPIP 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" (...) -
Other interesting software
13 April 2011, byWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website: http://videopress.com/
License: GNU/GPL v2
Source code: (...)
On other websites (6221)
-
avcodec_decode_video2 RETURNS THE VALUE -1094995529 in the threaded function
2 February 2016, by WhoamiI am developing rtsp streaming player, and followed the below approach.
1) Read packet, decode, display -> works perfectly.
while (1) {
if ( av_read_frame(pFormatCtx, &packet) >= 0) {
if (packet.stream_index == videoStream) {
retDecoder = avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);
if ( retDecoder <= 0)
LOGD (" Unable to Decode...retval %d ", retDecoder);
if (frameFinished) {
}
}
av_free_packet (&packet);
}
}Whereas,
I introduced two threads, one is reading and pushing into the queue and the second one is reading from the queue.
My problem is while reading the same packet, and decode, i m unable to decode, the return value of the
av_video_decode2
is-1094995529
.Below is the short description of code. Kindly help to solve this issue?.
AVPacketList *firstNode=NULL, *lastNode=NULL;
int pushPacket (AVPacket * pkt)
{
AVPacketList *newNode = av_malloc(sizeof(AVPacketList));
newNode->pkt = *pkt;
newNode->next = NULL;
SDL_LockMutex (rwMutex);
if (lastNode != NULL ) {
lastNode->next = newNode;
lastNode = newNode;
} else {
firstNode = lastNode = newNode;
}
SDL_UnlockMutex (rwMutex);
}
int pullPacket ()
{
AVPacketList *tempNode;
AVPacket *pkt;
int res=0;
SDL_LockMutex (rwMutex);
if ( firstNode != NULL ) {
tempNode = firstNode;
*pkt = tempNode->pkt;
res = avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, pkt); // HERE IS THE PROBLEM.
if (frameFinished) {
LOGD (" fRAME DECODED.. %d \n", counter++);
}
if (firstNode->next != NULL) {
firstNode = firstNode->next;
}
else {
firstNode = NULL;
lastNode = NULL;
}
av_free (tempNode);
}
}In Thread 1:
int PacketReader (void *ptr)
{
AVPacket pkt1, *rpacket;
rpacket = &pkt1;
while (globalQuit != 0) {
if ( av_read_frame(pFormatCtx, rpacket) >= 0) {
if (packet.stream_index == videoStream) {
pushPacket (rpacket);
}
av_free_packet(rpacket);
}
}
}In thread 2:
while (1) {
pullPacket ();
} -
av_video_decode2 RETURNS THE VALUE -1094995529 in the threaded function
24 May 2014, by WhoamiI am developing rtsp streaming player, and followed the below approach.
1) Read packet, decode, display -> works perfectly.
while (1) {
if ( av_read_frame(pFormatCtx, &packet) >= 0) {
if (packet.stream_index == videoStream) {
retDecoder = avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet);
if ( retDecoder <= 0)
LOGD (" Unable to Decode...retval %d ", retDecoder);
if (frameFinished) {
}
}
av_free_packet (&packet);
}
}Whereas,
I introduced two threads, one is reading and pushing into the queue and the second one is reading from the queue.
My problem is while reading the same packet, and decode, i m unable to decode, the return value of the
av_video_decode2
is-1094995529
.Below is the short description of code. Kindly help to solve this issue?.
AVPacketList *firstNode=NULL, *lastNode=NULL;
int pushPacket (AVPacket * pkt)
{
AVPacketList *newNode = av_malloc(sizeof(AVPacketList));
newNode->pkt = *pkt;
newNode->next = NULL;
SDL_LockMutex (rwMutex);
if (lastNode != NULL ) {
lastNode->next = newNode;
lastNode = newNode;
} else {
firstNode = lastNode = newNode;
}
SDL_UnlockMutex (rwMutex);
}
int pullPacket ()
{
AVPacketList *tempNode;
AVPacket *pkt;
int res=0;
SDL_LockMutex (rwMutex);
if ( firstNode != NULL ) {
tempNode = firstNode;
*pkt = tempNode->pkt;
res = avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, pkt); // HERE IS THE PROBLEM.
if (frameFinished) {
LOGD (" fRAME DECODED.. %d \n", counter++);
}
if (firstNode->next != NULL) {
firstNode = firstNode->next;
}
else {
firstNode = NULL;
lastNode = NULL;
}
av_free (tempNode);
}
}In Thread 1:
int PacketReader (void *ptr)
{
AVPacket pkt1, *rpacket;
rpacket = &pkt1;
while (globalQuit != 0) {
if ( av_read_frame(pFormatCtx, rpacket) >= 0) {
if (packet.stream_index == videoStream) {
pushPacket (rpacket);
}
av_free_packet(rpacket);
}
}
}In thread 2:
while (1) {
pullPacket ();
} -
subprocess call ffmpeg (command line)
22 July 2021, by user3295674I have been incorporating subprocess calls in my program. I have had no issues with subprocess calls for other commands, but I am having trouble getting the command line input



ffmpeg -r 10 -i frame%03d.png -r ntsc movie.mpg




To work inside a subprocess.call()



I tried the following with no success:



subprocess.call('ffmpeg -r 10 -i %s frame%03.d.png - r ntsc movie.mpg')




Any thoughts? Do I separate out different commands, do I specify string, integer etc. with
%s
,%d
?