
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (9)
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (3910)
-
Is there a chance to check why a videostream on IOS does not work ?
13 septembre 2013, par mazleuI have a very strange problem.
To stream videos I use AMS (Adobe Media Server)
This works fine for the most Videos.
But 4 videos do not work on iOS devices. The first seconds work but then the Video break.
All Videos (over 1000) are convertet with the same ffmpeg settings.I try other settings and other converters but the Result are the same.
Is there any opportunity to show why IOS don't like this 4 Videos ?
Mediainfo form a failed video :
MediaInfoLib - v0.7.62
General
Complete name : ---
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 91.3 MiB
Duration : 24mn 27s
Overall bit rate mode : Variable
Overall bit rate : 522 Kbps
Encoded date : UTC 2013-09-12 14:24:13
Tagged date : UTC 2013-09-12 14:24:13
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 24mn 27s
Bit rate : 387 Kbps
Maximum bit rate : 4 885 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.014
Stream size : 67.7 MiB (74%)
Writing library : x264 core 130 r2273 b3065e6
Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=6 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=28.0 / qcomp=0.70 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:0.60
Encoded date : UTC 2013-09-12 14:24:13
Tagged date : UTC 2013-09-12 14:24:16
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 24mn 27s
Bit rate mode : Variable
Bit rate : 132 Kbps
Maximum bit rate : 172 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Delay relative to video : 67ms
Stream size : 22.7 MiB (25%)
Encoded date : UTC 2013-09-12 14:24:15
Tagged date : UTC 2013-09-12 14:24:16 -
FFMPEG Reading audio from memory doesn't work
2 février 2021, par Tobi AkinyemiWhen I try to instantiate this struct, my program crashes :


struct MemoryAVFormat {
 MemoryAVFormat(const MemoryAVFormat &) = delete;

 AVFormatContext *ctx;
 AVIOContext *ioCtx;

 MemoryAVFormat(char *audio, size_t audio_length) :
 ctx(avformat_alloc_context()),
 ioCtx(create_audio_buffer_io_context(audio, audio_length)) {

 if (ctx == nullptr)
 throw audio_processing_exception("Failed to allocate context");

 if (ioCtx == nullptr)
 throw audio_processing_exception("Failed to allocate IO context for audio buffer");

 ctx->pb = ioCtx;
 ctx->flags |= AVFMT_FLAG_CUSTOM_IO;

 int err = avformat_open_input(&ctx, "nullptr", NULL, NULL);
 if (err != 0)
 throwAvError("Error configuring context from audio buffer", err);
 }

 AVIOContext *create_audio_buffer_io_context(char *audio, size_t audio_length) const {
 return avio_alloc_context(reinterpret_cast<unsigned char="char">(audio),
 audio_length,
 0,
 audio,
 [](void *, uint8_t *, int buf_size) { return buf_size; },
 NULL,
 NULL);
 }

 ~MemoryAVFormat() {
 av_free(ioCtx);
 avformat_close_input(&ctx);
 }
}
</unsigned>


I've read and tried every single tutorial on doing this and none of them work


Has anyone got this working before ?


crashes on the line :
int err = avformat_open_input(&ctx, "nullptr", NULL, NULL);


-
Mingw-w64 - printf does not work
27 décembre 2013, par Gosha U.First I wanted to modificate ffplay according to my requirments. Then I noticed that original ffplay from my build can't play some video files, but it didn't write any message to console. Then I noticed that ffmpeg also don't write any usage message when I run it without params. But it works. If I run it from terminal it's like running asynchronously ! The terminal just shows next row. I mean it asks for a next command. But the
ffmpeg
process is visible in task manager and it writes the output video file what I had requested !I created following souce file. I have modified the Makefile. So it have built the exe-file works just the same way. I have no idea how it can be.
#include
#include "cmdutils.h"
const char program_name[] = "hello";
const int program_birth_year = 2013;
void show_help_default(const char *opt, const char *arg)
{
printf("zxcvbnm\n");
}
int main(int argc, char **argv)
{
printf("1234567890\n");
return 0;
}And after that I created real hello world app with MinGW-w64 and qmake without eny extra libs. And its printf does not work.
I want to prevent this behavior.
I want to make printf working in traditional manner.
How I build FFmpeg :
PKG_CONFIG_PATH=/home/developer/workspace/MinGW32fs/lib/pkgconfig/ \
SDL_CONFIG=/home/developer/workspace/MinGW32fs/bin/sdl-config \
./configure \
--prefix=/home/developer/workspace/MinGW32fs \
--extra-ldflags="-L/home/developer/workspace/MinGW32fs/lib" \
--extra-cflags="-I/home/developer/workspace/MinGW32fs/include" \
--arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- \
--pkg-config=pkg-config --enable-libtheora --enable-libvorbis --enable-libvpx \
--enable-outdev=sdl --enable-shared --disable-static \
--disable-doc --disable-manpages --disable-podpages
make