
Recherche avancée
Autres articles (39)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6928)
-
Couldn't open file with iFrameExtractor
21 octobre 2012, par whyI has built ffmpeg and iFrameExtractor with ios5.1 successful, But when I play the video, the log shows "Couldn't open file"
// Register all formats and codecs
avcodec_register_all();
av_register_all();
// Open video file
if(avformat_open_input(&pFormatCtx, [moviePath cStringUsingEncoding:NSASCIIStringEncoding], NULL, NULL) != 0) {
av_log(NULL, AV_LOG_ERROR, "Couldn't open file\n");
goto initError;
}This is my configure file for ffmpeg 0.11.1 :
#!/bin/tcsh -f
rm -rf compiled/*
./configure \
--cc=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc \
--as='/usr/local/bin/gas-preprocessor.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' \
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk \
--target-os=darwin \
--arch=arm \
--cpu=cortex-a8 \
--extra-cflags='-arch armv7' \
--extra-ldflags='-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk' \
--prefix=compiled/armv7 \
--enable-cross-compile \
--enable-nonfree \
--disable-armv5te \
--disable-swscale-alpha \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-decoder=h264 \
--enable-decoder=svq3 \
--disable-asm \
--disable-bzlib \
--disable-gpl \
--disable-shared \
--enable-static \
--disable-mmx \
--disable-neon \
--disable-decoders \
--disable-muxers \
--disable-demuxers \
--disable-devices \
--disable-parsers \
--disable-encoders \
--enable-protocols \
--disable-filters \
--disable-bsfs \
--disable-postproc \
--disable-debug -
FFMpeg reading frames from avi files
6 août 2014, par konstiI’m trying to read frames of movies and it is working for all formats except avi.
When opening avi files I always get the message :
[mpeg4 @ 0x1030e4e00] Video uses a non-standard and wasteful way to store B-frames (’packed B-frames’). Consider using a tool like VirtualDub or avidemux to fix it.
[mpeg4 @ 0x1030e4e00] warning : first frame is no keyframeWhat do I have to do to get frames from avi files ?
Here is my code :
-(id)initWithVideo:(NSString *)moviePath {
if (!(self=[super init])) return nil;
AVCodec *pCodec;
// Register all formats and codecs
avcodec_register_all();
av_register_all();
// Open video file
pFormatCtx = avformat_alloc_context();
if(avformat_open_input(&pFormatCtx, [moviePath UTF8String], NULL, NULL)!=0)
goto initError; // Couldn't open file
// Retrieve stream information
if(avformat_find_stream_info(pFormatCtx, NULL)<0)
goto initError; // Couldn't find stream information
// Find the first video stream
videoStream=-1;
for(int i=0; inb_streams; i++)
if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO)
{
videoStream=i;
break;
}
if(videoStream==-1)
goto initError; // Didn't find a video stream
// Get a pointer to the codec context for the video stream
pCodecCtx=pFormatCtx->streams[videoStream]->codec;
// Find the decoder for the video stream
pCodec=avcodec_find_decoder(pCodecCtx->codec_id);
if(pCodec==NULL)
goto initError; // Codec not found
AVDictionary *optionsDict = NULL;
// Open codec
if(avcodec_open2(pCodecCtx, pCodec, &optionsDict)<0)
goto initError; // Could not open codec
// Allocate video frame
pFrame=av_frame_alloc();
outputWidth = pCodecCtx->width;
self.outputHeight = pCodecCtx->height;
return self;initError :
NSLog(@"an error occurred") ;
return nil ;
} -
aarch64 : hevc : Produce plain neon versions of qpel_bi_hv
22 mars 2024, par Martin Storsjöaarch64 : hevc : Produce plain neon versions of qpel_bi_hv
As the plain neon qpel_h functions process two rows at a time,
we need to allocate storage for h+8 rows instead of h+7.By allocating storage for h+8 rows, incrementing the stack
pointer won't end up at the right spot in the end. Store the
intended final stack pointer value in a register x14 which we
store on the stack.AWS Graviton 3 :
put_hevc_qpel_bi_hv4_8_c : 385.7
put_hevc_qpel_bi_hv4_8_neon : 131.0
put_hevc_qpel_bi_hv4_8_i8mm : 92.2
put_hevc_qpel_bi_hv6_8_c : 701.0
put_hevc_qpel_bi_hv6_8_neon : 239.5
put_hevc_qpel_bi_hv6_8_i8mm : 191.0
put_hevc_qpel_bi_hv8_8_c : 1162.0
put_hevc_qpel_bi_hv8_8_neon : 228.0
put_hevc_qpel_bi_hv8_8_i8mm : 225.2
put_hevc_qpel_bi_hv12_8_c : 2305.0
put_hevc_qpel_bi_hv12_8_neon : 558.0
put_hevc_qpel_bi_hv12_8_i8mm : 483.2
put_hevc_qpel_bi_hv16_8_c : 3965.2
put_hevc_qpel_bi_hv16_8_neon : 732.7
put_hevc_qpel_bi_hv16_8_i8mm : 656.5
put_hevc_qpel_bi_hv24_8_c : 8709.7
put_hevc_qpel_bi_hv24_8_neon : 1555.2
put_hevc_qpel_bi_hv24_8_i8mm : 1448.7
put_hevc_qpel_bi_hv32_8_c : 14818.0
put_hevc_qpel_bi_hv32_8_neon : 2763.7
put_hevc_qpel_bi_hv32_8_i8mm : 2468.0
put_hevc_qpel_bi_hv48_8_c : 32855.5
put_hevc_qpel_bi_hv48_8_neon : 6107.2
put_hevc_qpel_bi_hv48_8_i8mm : 5452.7
put_hevc_qpel_bi_hv64_8_c : 57591.5
put_hevc_qpel_bi_hv64_8_neon : 10660.2
put_hevc_qpel_bi_hv64_8_i8mm : 9580.0Signed-off-by : Martin Storsjö <martin@martin.st>