
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (61)
-
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (9252)
-
Custom built ffmpeg with aac encoding
26 octobre 2015, par SteveMI am trying to build custom ffmpeg with all audio decoding and the native aac encoding, so I have
--disable-everything
and then enabling the stuff I need. In my config I have the following :--enable-muxer=mp4
--enable-encoder=aacHowever when I try to write an .m4a file with :
./ffmpeg -i bis.wav -strict -2 bis.m4a
I get the following error :
Unable to find a suitable output format for 'bis.m4a'
bis.m4a: Invalid argumentWhat am I missing in my build for aac encoding ?
I also have .wav encoding enabled and this is working fine for making .wav files.
Complete configure :
./configure \
--prefix=$PREFIX \
--disable-shared \
--enable-static \
--disable-programs \
--disable-doc \
--disable-everything \
--enable-filter=aresample \
--enable-decoder=aac \
--enable-decoder=aac_latm \
--enable-decoder=aac_fixed \
--enable-decoder=ac3 \
--enable-decoder=ac3_fixed \
--enable-decoder=als \
--enable-decoder=alac \
--enable-decoder=mp1 \
--enable-decoder=mp1float \
--enable-decoder=mp2 \
--enable-decoder=mp2float \
--enable-decoder=mp3 \
--enable-decoder=mp3float \
--enable-decoder=mp3adufloat \
--enable-decoder=mp3adu \
--enable-decoder=mp3on4 \
--enable-decoder=mp3on4float \
--enable-decoder=als \
--enable-decoder=vorbis \
--enable-decoder=flac \
--enable-decoder=wavpack \
--enable-decoder=wmalossless \
--enable-decoder=wmapro \
--enable-decoder=wmav1 \
--enable-decoder=wmav2 \
--enable-decoder=wmavoice \
--enable-decoder=pcm* \
--enable-bsf=mp3_header_decompress \
--enable-bsf=aac_adtstoasc \
--enable-bsf=chomp \
--enable-bsf=remove_extradata \
--disable-swscale \
--enable-swresample \
--enable-parser=aac \
--enable-parser=aac_latm \
--enable-parser=ac3 \
--enable-parser=flac \
--enable-parser=ac3 \
--enable-parser=vorbis \
--enable-parser=mpegaudio\
--enable-demuxer=aac \
--enable-demuxer=ac3 \
--enable-demuxer=eac3 \
--enable-demuxer=aiff \
--enable-demuxer=flac \
--enable-demuxer=latm \
--enable-demuxer=mp3 \
--enable-demuxer=ogg \
--enable-demuxer=eac3 \
--enable-demuxer=xwma \
--enable-demuxer=pcm* \
--enable-demuxer=wav \
--enable-protocol=file \
--enable-muxer=pcm* \
--enable-muxer=wav \
--enable-muxer=mp4 \
--enable-encoder=pcm* \
--enable-encoder=aac \
--enable-ffmpeg \
--disable-avdevice \
--disable-swscale-alpha \
--disable-symver \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="-fPIE -pie $ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG -
avfilter/af_afftdn : unbreak custom band noise option processing
15 mars 2022, par Paul B Mahol -
JavaCV : avformat_open_input() hangs (not network, but with custom AVIOContext)
14 octobre 2015, par Yun Tao HaiI’m using a custom AVIOContext to bridge FFMpeg with java IO. The function
avformat_open_input()
never returns. I have searched the web for similar problems, all of which were caused by faulty network or wrong server configurations. However, I’m not using network at all, as you can see in the following little program :package com.example;
import org.bytedeco.javacpp.*;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import static org.bytedeco.javacpp.avcodec.*;
import static org.bytedeco.javacpp.avformat.*;
import static org.bytedeco.javacpp.avutil.*;
import static org.bytedeco.javacpp.avdevice.*;
import static org.bytedeco.javacpp.avformat.AVFormatContext.*;
public class Test {
public static void main(String[] args) throws Exception {
File dir = new File(System.getProperty("user.home"), "Desktop");
File file = new File(dir, "sample.3gp");
final RandomAccessFile raf = new RandomAccessFile(file, "r");
Loader.load(avcodec.class);
Loader.load(avformat.class);
Loader.load(avutil.class);
Loader.load(avdevice.class);
Loader.load(swscale.class);
Loader.load(swresample.class);
avcodec_register_all();
av_register_all();
avformat_network_init();
avdevice_register_all();
Read_packet_Pointer_BytePointer_int reader = new Read_packet_Pointer_BytePointer_int() {
@Override
public int call(Pointer pointer, BytePointer buf, int bufSize) {
try {
byte[] data = new byte[bufSize]; // this is inefficient, just use as a quick example
int read = raf.read(data);
if (read <= 0) {
System.out.println("EOF found.");
return AVERROR_EOF;
}
System.out.println("Successfully read " + read + " bytes of data.");
buf.position(0);
buf.put(data, 0, read);
return read;
} catch (Exception ex) {
ex.printStackTrace();
return -1;
}
}
};
Seek_Pointer_long_int seeker = new Seek_Pointer_long_int() {
@Override
public long call(Pointer pointer, long offset, int whence) {
try {
raf.seek(offset);
System.out.println("Successfully seeked to position " + offset + ".");
return offset;
} catch (IOException ex) {
return -1;
}
}
};
int inputBufferSize = 32768;
BytePointer inputBuffer = new BytePointer(av_malloc(inputBufferSize));
AVIOContext ioContext = avio_alloc_context(inputBuffer, inputBufferSize, 1, null, reader, null, seeker);
AVInputFormat format = av_find_input_format("3gp");
AVFormatContext formatContext = avformat_alloc_context();
formatContext.iformat(format);
formatContext.flags(formatContext.flags() | AVFMT_FLAG_CUSTOM_IO);
formatContext.pb(ioContext);
// This never returns. And I can never get result.
int result = avformat_open_input(formatContext, "", format, null);
// all clean-up code omitted for simplicity
}
}And below is my sample console output :
Successfully read 32768 bytes of data.
Successfully read 32768 bytes of data.
Successfully read 32768 bytes of data.
Successfully read 32768 bytes of data.
Successfully read 32768 bytes of data.
Successfully read 7240 bytes of data.
EOF found.I’ve checked the sum of bytes, which corresponds to the file size ; EOF is also hit, meaning the file is completely read. Actually I am a bit skeptical as why
avformat_open_input()
would even read the entire file and still without returning ? There must be something wrong with what I am doing. Can any expert shed some lights or point me to the right direction ? I’m new tojavacv
andffmpeg
and especially to programming withBuffer
s and stuff. Any help, suggestion or criticism is welcome. Thanks in advance.