
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (26)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4424)
-
getting errors from FFMpeg when spawned from .NET
18 mars 2014, par BrannonWhen I run FFMpeg from the command line like this
ffmpeg.exe -hwaccel auto -re -i "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" -an -sn -c:v bmp -pix_fmt bgr24 -f rawvideo - > junk.bin
it works fine. However, when I spawn the exact same thing (minus
> junk.bin
) I get this nasty "bad header" error after a few seconds of playback. What is causing this ? I have trouble believing my process blocks the pipe longer than the filesystem does, but it should be able to block the pipe indefinitely without defeating the decoding. The truncated stderr is below. My code to spawn the thing is here.ffmpeg version N-60761-g916a792 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 19 2014 21:57:22 with gcc 4.8.2 (GCC)
configuration: --target-os=mingw32 --enable-shared --enable-runtime-cpudetect
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
cygwin warning:
MS-DOS style path detected: C:\Users\Public\Videos\Sample Videos\Wildlife.wmv
Preferred POSIX equivalent is: /cygdrive/c/Users/Public/Videos/Sample Videos/Wildlife.wmv
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
[asf @ 0x600059480] Stream #0: not enough frames to estimate rate; consider increasing probesize
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, asf, from 'C:\Users\Public\Videos\Sample Videos\Wildlife.wmv':
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
Duration: 00:00:30.09, start: 0.000000, bitrate: 6977 kb/s
Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 192 kb/s
Stream #0:1(eng): Video: vc1 (Advanced) (WVC1 / 0x31435657), yuv420p, 1280x720, 5942 kb/s, 29.97 tbr, 1k tbn, 1k tbc
Output #0, rawvideo, to 'pipe:':
Metadata:
SfOriginalFPS : 299700
WMFSDKVersion : 11.0.6001.7000
WMFSDKNeeded : 0.0.0.0000
comment : Footage: Small World Productions, Inc; Tourism New Zealand | Producer: Gary F. Spradling | Music: Steve Ball
title : Wildlife in HD
copyright : © 2008 Microsoft Corporation
IsVBR : 0
DeviceConformanceTemplate: AP@L3
encoder : Lavf55.33.100
Stream #0:0(eng): Video: bmp, bgr24, 1280x720, q=2-31, 200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
Stream #0:1 -> #0:0 (vc1 -> bmp)
Press [q] to stop, [?] for help
frame= 3 fps=0.0 q=0.0 size= 8100kB time=00:00:00.10 bitrate=662902.1kbits/s
frame= 29 fps= 26 q=0.0 size= 78302kB time=00:00:00.96 bitrate=662902.3kbits/s
frame= 50 fps= 30 q=0.0 size= 135003kB time=00:00:01.66 bitrate=662902.2kbits/s
frame= 65 fps= 30 q=0.0 size= 175503kB time=00:00:02.16 bitrate=662902.2kbits/s
frame= 80 fps= 30 q=0.0 size= 216004kB time=00:00:02.66 bitrate=662902.1kbits/s
frame= 95 fps= 30 q=0.0 size= 256505kB time=00:00:03.16 bitrate=662902.1kbits/s
[asf @ 0x600059480] ff asf bad header 74 at:5053733
[asf @ 0x600059480] invalid packet_length -1908511255 at:5053740
[asf @ 0x600059480] ff asf bad header d4 at:5053759
[asf @ 0x600059480] ff asf skip 55629 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5181733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5189733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5197733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5205733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5213733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5221733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5229733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5237733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5245733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5357733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5365733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5373733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5381733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5493733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5501733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5509733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5517733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5629733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5637733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5645733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5653733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5701733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5709733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5717733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5725733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5805733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5813733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5821733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5829733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5877733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5885733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5893733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5901733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5949733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5957733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5965733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] ff asf bad header 0 at:5973733
[asf @ 0x600059480] ff asf skip 7991 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 15 times
[asf @ 0x600059480] unexpected packet_replic_size of 2
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 7 times
[asf @ 0x600059480] ff asf skip 2562 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 3 times
[asf @ 0x600059480] ff asf skip 448 (unknown stream)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 9 times
[asf @ 0x600059480] unexpected packet_replic_size of 6
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 7 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 13 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 24 times
[asf @ 0x600059480] unexpected packet_replic_size of 6
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 6 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 6 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
[asf @ 0x600059480] packet_frag_size is invalid (1749-9)
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 2 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 8 times
[asf @ 0x600059480] unexpected packet_replic_size of 5
[asf @ 0x600059480] packet_obj_size invalid
Last message repeated 39 times
[asf @ 0x600059480] packet_frag_size is invalid (1749-40) -
Static Compilation of FFmpeg with x264 support
17 février 2014, par b1izzardBased on the Tutorial, I tried to build the latest FFmpeg binary with x264 support for Command line execution using Android-ndk-r9c.
I had built the x264 using the below script :
#!/bin/bash
PREBUILT=/home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt
PLATFORM=/home/blizzard/bin/android-ndk-r9c/platforms/android-9/arch-arm
PREFIX=/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg
./configure --prefix=$PREFIX \
--enable-static \
--enable-pic \
--disable-asm \
--disable-cli \
--host=arm-linux \
--cross-prefix=$PREBUILT/linux-x86_64/bin/arm-linux-androideabi- \
--sysroot=$PLATFORM
make
sudo make install
sudo ldconfigFor building FFmpeg I had used the below script :
#!/bin/bash
PLATFORM=/home/blizzard/bin/android-ndk-r9c/platforms/android-9/arch-arm
PREBUILT=/home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64
PREFIX=/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg
function build_one
{
./configure --target-os=linux --prefix=$PREFIX \
--arch=arm \
--cpu=cortex-a8 \
--enable-cross-compile \
--enable-runtime-cpudetect \
--disable-asm \
--enable-static \
--disable-shared \
--arch=arm \
--cc=$PREBUILT/bin/arm-linux-androideabi-gcc \
--cross-prefix=$PREBUILT/bin/arm-linux-androideabi- \
--disable-stripping \
--nm=$PREBUILT/bin/arm-linux-androideabi-nm \
--sysroot=$PLATFORM \
--enable-nonfree \
--enable-version3 \
--disable-everything \
--enable-gpl \
--disable-doc \
--enable-avresample \
--enable-demuxer=rtsp \
--enable-muxer=rtsp \
--disable-ffplay \
--disable-ffserver \
--enable-ffmpeg \
--disable-ffprobe \
--enable-libx264 \
--enable-encoder=libx264 \
--enable-decoder=h264 \
--enable-protocol=rtp \
--enable-hwaccels \
--enable-zlib \
--disable-devices \
--disable-avdevice \
--extra-cflags="-I/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg/include -fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -marm -march=armv7-a" \
--extra-ldflags="-L/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg/lib"
make -j4 install
$PREBUILT/bin/arm-linux-androideabi-ar d libavcodec/libavcodec.a inverse.o
$PREBUILT/bin/arm-linux-androideabi-ld -rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -L$PREFIX/lib -soname libffmpeg.so -shared -nostdlib -z noexecstack -Bsymbolic --whole-archive --no-undefined -o $PREFIX/libffmpeg.so libavcodec/libavcodec.a libavfilter/libavfilter.a libavresample/libavresample.a libavformat/libavformat.a libavutil/libavutil.a libswscale/libswscale.a -lc -lm -lz -ldl -llog -lx264 --dynamic-linker=/system/bin/linker $PREBUILT/lib/gcc/arm-linux-androideabi/4.6/libgcc.a
}
build_oneThe output of the script is
install prefix /home/blizzard/bin/android-ndk-r9c/sources/ffmpeg
source path .
C compiler /home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
C library bionic
host C compiler gcc
host C library glibc
ARCH c (cortex-a8)
big-endian no
runtime cpu detection yes
debug symbols yes
strip symbols no
optimize for size no
optimizations yes
static yes
shared no
postprocessing support yes
new filter support yes
network support yes
threading support pthreads
safe bitstream reader yes
SDL support no
opencl enabled no
libzvbi enabled no
texi2html enabled yes
perl enabled yes
pod2man enabled yes
makeinfo enabled no
External libraries:
libx264 zlib
Enabled decoders:
h264
Enabled encoders:
libx264
Enabled hwaccels:
Enabled parsers:
Enabled demuxers:
asf mpegts rtsp
mov rm
Enabled muxers:
rtp rtsp
Enabled protocols:
http tcp udp
rtp
Enabled filters:
aformat format setpts
anull null trim
atrim
Enabled bsfs:
Enabled indevs:
Enabled outdevs:
License: nonfree and unredistributable
Creating config.mak, config.h, and doc/config.texi...
config.h is unchanged
libavutil/avconfig.h is unchanged
WARNING: /home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-pkg-config not found, library detection may fail.
INSTALL install-progs-yes
INSTALL ffmpeg
INSTALL presets/libvpx-1080p50_60.ffpreset
INSTALL presets/libvpx-1080p.ffpreset
INSTALL presets/libvpx-360p.ffpreset
INSTALL presets/libvpx-720p50_60.ffpreset
INSTALL presets/libvpx-720p.ffpreset
INSTALL presets/libx264-ipod320.ffpreset
INSTALL presets/libx264-ipod640.ffpreset
INSTALL doc/ffprobe.xsd
INSTALL doc/examples/decoding_encoding.c
INSTALL doc/examples/demuxing_decoding.c
INSTALL doc/examples/filtering_audio.c
INSTALL doc/examples/filtering_video.c
INSTALL doc/examples/metadata.c
INSTALL doc/examples/muxing.c
INSTALL doc/examples/remuxing.c
INSTALL doc/examples/resampling_audio.c
INSTALL doc/examples/scaling_video.c
INSTALL doc/examples/transcode_aac.c
INSTALL doc/examples/Makefile
INSTALL doc/examples/README
INSTALL libavfilter/libavfilter.a
INSTALL libavformat/libavformat.a
INSTALL presets/libvpx-1080p50_60.ffpreset
INSTALL presets/libvpx-1080p.ffpreset
INSTALL presets/libvpx-360p.ffpreset
INSTALL presets/libvpx-720p50_60.ffpreset
INSTALL presets/libvpx-720p.ffpreset
INSTALL presets/libx264-ipod320.ffpreset
INSTALL presets/libx264-ipod640.ffpreset
INSTALL doc/ffprobe.xsd
INSTALL doc/examples/decoding_encoding.c
INSTALL doc/examples/demuxing_decoding.c
INSTALL doc/examples/filtering_audio.c
INSTALL doc/examples/filtering_video.c
INSTALL doc/examples/metadata.c
INSTALL doc/examples/muxing.c
INSTALL doc/examples/remuxing.c
INSTALL doc/examples/resampling_audio.c
INSTALL doc/examples/scaling_video.c
INSTALL doc/examples/transcode_aac.c
INSTALL doc/examples/Makefile
INSTALL doc/examples/README
INSTALL libavresample/libavresample.a
INSTALL libavcodec/libavcodec.a
INSTALL libpostproc/libpostproc.a
INSTALL libswresample/libswresample.a
INSTALL libavutil/libavutil.a
a
INSTALL libavfilter/asrc_abuffer.h
INSTALL libavfilter/avcodec.h
INSTALL libavfilter/avfilter.h
INSTALL libavfilter/avfiltergraph.h
INSTALL libavfilter/buffersink.h
INSTALL libavfilter/buffersrc.h
INSTALL libavfilter/version.h
INSTALL libavformat/avformat.h
INSTALL libavformat/avio.h
INSTALL libavformat/version.h
INSTALL libavfilter/libavfilter.pc
INSTALL libavformat/libavformat.pc
INSTALL libavresample/avresample.h
INSTALL libavresample/version.h
INSTALL libavresample/libavresample.pc
INSTALL libavcodec/avcodec.h
INSTALL libavcodec/avfft.h
INSTALL libavcodec/dxva2.h
INSTALL libavcodec/old_codec_ids.h
INSTALL libavcodec/vaapi.h
INSTALL libavcodec/vda.h
INSTALL libavcodec/vdpau.h
INSTALL libavcodec/version.h
INSTALL libavcodec/xvmc.h
INSTALL libavcodec/libavcodec.pc
INSTALL libpostproc/postprocess.h
INSTALL libpostproc/version.h
INSTALL libpostproc/libpostproc.pc
INSTALL libswresample/swresample.h
INSTALL libswresample/version.h
INSTALL libswscale/swscale.h
INSTALL libswscale/version.h
INSTALL libavutil/adler32.h
INSTALL libavutil/aes.h
INSTALL libavutil/attributes.h
INSTALL libavutil/audio_fifo.h
INSTALL libavutil/audioconvert.h
INSTALL libavutil/avassert.h
INSTALL libavutil/avstring.h
INSTALL libavutil/avutil.h
INSTALL libavutil/base64.h
INSTALL libavutil/blowfish.h
INSTALL libavutil/bprint.h
INSTALL libavutil/bswap.h
INSTALL libavutil/buffer.h
INSTALL libavutil/channel_layout.h
INSTALL libavutil/common.h
INSTALL libavutil/cpu.h
INSTALL libavutil/crc.h
INSTALL libavutil/error.h
INSTALL libavutil/eval.h
INSTALL libavutil/fifo.h
INSTALL libavutil/file.h
INSTALL libavutil/frame.h
INSTALL libavutil/hmac.h
INSTALL libavutil/imgutils.h
INSTALL libavutil/intfloat.h
INSTALL libavutil/intfloat_readwrite.h
INSTALL libavutil/intreadwrite.h
INSTALL libavutil/lfg.h
INSTALL libavutil/log.h
INSTALL libavutil/macros.h
INSTALL libavutil/mathematics.h
INSTALL libavutil/md5.h
INSTALL libavutil/mem.h
INSTALL libavutil/murmur3.h
INSTALL libavutil/dict.h
INSTALL libavutil/old_pix_fmts.h
INSTALL libavutil/opt.h
INSTALL libavutil/parseutils.h
INSTALL libavutil/pixdesc.h
INSTALL libavutil/pixfmt.h
INSTALL libavutil/random_seed.h
INSTALL libavutil/rational.h
INSTALL libavutil/ripemd.h
INSTALL libavutil/samplefmt.h
INSTALL libavutil/sha.h
INSTALL libavutil/sha512.h
INSTALL libavutil/stereo3d.h
INSTALL libavutil/time.h
INSTALL libavutil/timecode.h
INSTALL libavutil/timestamp.h
INSTALL libavutil/version.h
INSTALL libavutil/xtea.h
INSTALL libavutil/avconfig.h
INSTALL libavutil/ffversion.h
INSTALL libswresample/libswresample.pc
INSTALL libswscale/libswscale.pc
INSTALL libavutil/libavutil.pcWhen I tried to execute the following command using the resulting FFmpeg binary in Android Application
ffmpeg -y -loop 1 -r 30 -i myImage.jpg -b:v "4096k" -vf "scale=640:480" -t 3 result.mp4
LogCat displays the following message
02-17 15:42:45.683: D/(14511): *******Starting FFMPEG
02-17 15:42:45.683: D/(14511): ***ffmpeg version N-60108-gda25a65 Copyright (c) 2000-2014 the FFmpeg developers***
02-17 15:42:45.693: D/(14511): *** built on Feb 17 2014 15:35:20 with gcc 4.6 (GCC) 20120106 (prerelease)***
02-17 15:42:45.693: D/(14511): *** configuration: --target-os=linux --prefix=/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg --arch=arm --cpu=cortex-a8 --enable-cross-compile --enable-runtime-cpudetect --disable-asm --enable-static --disable-shared --arch=arm --cc=/home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --cross-prefix=/home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --disable-stripping --nm=/home/blizzard/bin/android-ndk-r9c/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-nm --sysroot=/home/blizzard/bin/android-ndk-r9c/platforms/android-9/arch-arm --enable-nonfree --enable-version3 --disable-everything --enable-gpl --disable-doc --enable-avresample --enable-demuxer=rtsp --enable-muxer=rtsp --disable-ffplay --disable-ffserver --enable-ffmpeg --disable-ffprobe --enable-libx264 --enable-encoder=libx264 --enable-decoder=h264 --enable-protocol=rtp --enable-hwaccels --enable-zlib --disable-devices --disable-avdevice --extra-cflags='-I/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg/include -fPIC -DANDROID -D__thumb__ -mthumb -Wfatal-errors -Wno-deprecated -mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=armv7-a' --extra-ldflags=-L/home/blizzard/bin/android-ndk-r9c/sources/ffmpeg/lib***
02-17 15:42:45.693: D/(14511): *** libavutil 52. 63.100 / 52. 63.100***
02-17 15:42:45.693: D/(14511): *** libavcodec 55. 49.100 / 55. 49.100***
02-17 15:42:45.693: D/(14511): *** libavformat 55. 25.101 / 55. 25.101***
02-17 15:42:45.693: D/(14511): *** libavfilter 4. 1.100 / 4. 1.100***
02-17 15:42:45.693: D/(14511): *** libavresample 1. 1. 0 / 1. 1. 0***
02-17 15:42:45.693: D/(14511): *** libswscale 2. 5.101 / 2. 5.101***
02-17 15:42:45.693: D/(14511): *** libswresample 0. 17.104 / 0. 17.104***
02-17 15:42:45.693: D/(14511): *** libpostproc 52. 3.100 / 52. 3.100***
02-17 15:42:45.693: D/(14511): ***Unrecognized option 'loop'.***
02-17 15:42:45.693: D/(14511): ***Error splitting the argument list: Option not found***
02-17 15:42:45.693: D/(14511): ****ending FFMPEG****Can anybody help me in building the latest version of FFmpeg or Can you share the latest FFMpeg binary for Android ?
-
overlay movie.mov over an image file using AVCONV OR FFMPEG
6 février 2014, par user1087179I am trying to overlay transparent mov or flv over an image.
I am open to both options using ffmpeg or avconv.
here is my cmd :
ffmpeg -i bg.png -i input.mov -vf \
'[0:v]setpts=PTS-STARTPTS, pad=iw*2:ih[bg]; \
[1:v]setpts=PTS-STARTPTS,scale=720:400[fg]; [bg][fg]overlay=w' -vf yadif -pix_fmt rgba -y -vcodec qtrle -an output.movI Get this :
ffmpeg version 0.8.9-4:0.8.9-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
built on Nov 9 2013 19:08:00 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Input #0, image2, from '/home/socialvideos/public_html/public/images/blue_bg.png':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, rgb24, 720x400, 25 tbr, 25 tbn, 25 tbc
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/home/socialvideos/public_html/actor/opening/1.mov':
Metadata:
major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-01-22 18:12:38
Duration: 00:00:09.28, start: 0.000000, bitrate: 119710 kb/s
Stream #1.0(eng): Video: qtrle, bgra, 1280x720, 120236 kb/s, PAR 1280:1280 DAR 16:9, 25 fps, 25 tbr, 25 tbn, 25 tbc
Metadata:
creation_time : 2014-01-22 18:12:38
Stream #1.1(eng): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2014-01-22 18:12:38
Stream #1.2(eng): Data: tmcd / 0x64636D74, 0 kb/s
Metadata:
creation_time : 2014-01-22 18:12:47
Incompatible pixel format 'rgba' for codec 'qtrle', auto-selecting format 'rgb24'
[buffer @ 0x10cf8c0] w:1280 h:720 pixfmt:bgra
[yadif @ 0x10c8980] mode:0 parity:-1 auto_enable:0
[avsink @ 0x10c8400] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed filter 0 yadif' and the filter 'out'
[yadif @ 0x10c8980] auto-inserting filter 'auto-inserted scaler 1' between the filter 'src' and the filter 'Parsed filter 0 yadif'
[scale @ 0x10cc9a0] w:1280 h:720 fmt:bgra -> w:1280 h:720 fmt:yuv420p flags:0x4
[scale @ 0x10cbdc0] w:1280 h:720 fmt:yuv420p -> w:1280 h:720 fmt:rgb24 flags:0x4
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf53.21.1
Stream #0.0(eng): Video: qtrle, rgb24, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc
Metadata:
creation_time : 2014-01-22 18:12:38
Stream mapping:
Stream #1.0 -> #0.0
Press ctrl-c to stop encoding
frame= 2 fps= 0 q=0.0 size= 654kB time=0.08 bitrate=66996.3kbits/s
frame= 5 fps= 4 q=0.0 size= 1213kB time=0.20 bitrate=49692.2kbits/s
frame= 8 fps= 4 q=0.0 size= 2068kB time=0.32 bitrate=52952.9kbits/s
frame= 10 fps= 4 q=0.0 size= 2826kB time=0.40 bitrate=57880.0kbits/s
frame= 12 fps= 4 q=0.0 size= 3621kB time=0.48 bitrate=61805.2kbits/s
frame= 14 fps= 4 q=0.0 size= 4433kB time=0.56 bitrate=64846.9kbits/s
frame= 17 fps= 4 q=0.0 size= 5598kB time=0.68 bitrate=67435.6kbits/s
frame= 19 fps= 4 q=0.0 size= 6368kB time=0.76 bitrate=68643.7kbits/s
frame= 21 fps= 4 q=0.0 size= 7145kB time=0.84 bitrate=69683.8kbits/s
frame= 23 fps= 4 q=0.0 size= 7901kB time=0.92 bitrate=70352.7kbits/s
frame= 26 fps= 4 q=0.0 size= 9179kB time=1.04 bitrate=72298.4kbits/s
frame= 28 fps= 4 q=0.0 size= 9743kB time=1.12 bitrate=71260.9kbits/s
frame= 30 fps= 4 q=0.0 size= 10562kB time=1.20 bitrate=72100.4kbits/s
frame= 32 fps= 4 q=0.0 size= 11375kB time=1.28 bitrate=72802.4kbits/s
frame= 34 fps= 4 q=0.0 size= 12162kB time=1.36 bitrate=73256.3kbits/s
frame= 37 fps= 4 q=0.0 size= 13404kB time=1.48 bitrate=74190.5kbits/s
frame= 39 fps= 4 q=0.0 size= 14080kB time=1.56 bitrate=73936.2kbits/s
frame= 41 fps= 4 q=0.0 size= 14763kB time=1.64 bitrate=73744.3kbits/s
frame= 44 fps= 4 q=0.0 size= 15690kB time=1.76 bitrate=73030.4kbits/s
frame= 47 fps= 4 q=0.0 size= 16660kB time=1.88 bitrate=72595.6kbits/s
frame= 49 fps= 4 q=0.0 size= 17418kB time=1.96 bitrate=72798.4kbits/s
frame= 51 fps= 4 q=0.0 size= 18060kB time=2.04 bitrate=72524.8kbits/s
frame= 54 fps= 4 q=0.0 size= 18805kB time=2.16 bitrate=71320.3kbits/s
frame= 56 fps= 4 q=0.0 size= 19498kB time=2.24 bitrate=71305.2kbits/s
frame= 58 fps= 4 q=0.0 size= 20178kB time=2.32 bitrate=71247.7kbits/s
frame= 60 fps= 4 q=0.0 size= 20892kB time=2.40 bitrate=71310.3kbits/s
frame= 63 fps= 4 q=0.0 size= 22028kB time=2.52 bitrate=71609.8kbits/s
frame= 65 fps= 4 q=0.0 size= 22729kB time=2.60 bitrate=71613.6kbits/s
frame= 68 fps= 4 q=0.0 size= 23827kB time=2.72 bitrate=71762.8kbits/s
frame= 71 fps= 4 q=0.0 size= 24865kB time=2.84 bitrate=71724.5kbits/s
frame= 74 fps= 4 q=0.0 size= 26029kB time=2.96 bitrate=72035.8kbits/s
frame= 76 fps= 4 q=0.0 size= 26746kB time=3.04 bitrate=72074.2kbits/s
frame= 79 fps= 4 q=0.0 size= 27642kB time=3.16 bitrate=71659.3kbits/s
frame= 82 fps= 4 q=0.0 size= 28743kB time=3.28 bitrate=71787.0kbits/s
frame= 85 fps= 4 q=0.0 size= 29929kB time=3.40 bitrate=72111.4kbits/s
frame= 87 fps= 4 q=0.0 size= 30602kB time=3.48 bitrate=72037.4kbits/s
frame= 89 fps= 4 q=0.0 size= 31242kB time=3.56 bitrate=71892.2kbits/s
frame= 92 fps= 4 q=0.0 size= 32091kB time=3.68 bitrate=71437.1kbits/s
frame= 95 fps= 4 q=0.0 size= 32972kB time=3.80 bitrate=71080.2kbits/s
frame= 98 fps= 4 q=0.0 size= 34038kB time=3.92 bitrate=71132.0kbits/s
frame= 101 fps= 4 q=0.0 size= 35037kB time=4.04 bitrate=71046.2kbits/s
frame= 104 fps= 4 q=0.0 size= 35901kB time=4.16 bitrate=70697.3kbits/s
frame= 107 fps= 4 q=0.0 size= 36980kB time=4.28 bitrate=70780.7kbits/s
frame= 109 fps= 4 q=0.0 size= 37800kB time=4.36 bitrate=71022.0kbits/s
frame= 111 fps= 4 q=0.0 size= 38488kB time=4.44 bitrate=71011.5kbits/s
frame= 114 fps= 4 q=0.0 size= 39415kB time=4.56 bitrate=70808.9kbits/s
frame= 117 fps= 4 q=0.0 size= 40404kB time=4.68 bitrate=70725.0kbits/s
frame= 119 fps= 4 q=0.0 size= 41076kB time=4.76 bitrate=70691.3kbits/s
frame= 121 fps= 4 q=0.0 size= 41885kB time=4.84 bitrate=70892.5kbits/s
frame= 123 fps= 4 q=0.0 size= 42622kB time=4.92 bitrate=70967.6kbits/s
frame= 125 fps= 4 q=0.0 size= 43368kB time=5.00 bitrate=71054.0kbits/s
frame= 127 fps= 4 q=0.0 size= 44161kB time=5.08 bitrate=71214.6kbits/s
frame= 130 fps= 4 q=0.0 size= 45070kB time=5.20 bitrate=71002.5kbits/s
frame= 132 fps= 4 q=0.0 size= 45782kB time=5.28 bitrate=71032.2kbits/s
frame= 134 fps= 4 q=0.0 size= 46599kB time=5.36 bitrate=71220.3kbits/s
frame= 136 fps= 4 q=0.0 size= 47270kB time=5.44 bitrate=71183.8kbits/s
frame= 138 fps= 4 q=0.0 size= 47865kB time=5.52 bitrate=71034.5kbits/s
frame= 140 fps= 4 q=0.0 size= 48449kB time=5.60 bitrate=70874.3kbits/s
frame= 142 fps= 4 q=0.0 size= 49013kB time=5.68 bitrate=70689.4kbits/s
frame= 144 fps= 4 q=0.0 size= 49613kB time=5.76 bitrate=70560.8kbits/s
frame= 147 fps= 4 q=0.0 size= 50683kB time=5.88 bitrate=70610.9kbits/s
frame= 149 fps= 4 q=0.0 size= 51231kB time=5.96 bitrate=70417.5kbits/s
frame= 151 fps= 4 q=0.0 size= 51734kB time=6.04 bitrate=70166.0kbits/s
frame= 153 fps= 4 q=0.0 size= 52097kB time=6.12 bitrate=69734.9kbits/s
frame= 155 fps= 4 q=0.0 size= 52591kB time=6.20 bitrate=69487.4kbits/s
frame= 157 fps= 4 q=0.0 size= 53374kB time=6.28 bitrate=69624.1kbits/s
frame= 159 fps= 4 q=0.0 size= 54086kB time=6.36 bitrate=69665.9kbits/s
frame= 161 fps= 4 q=0.0 size= 54805kB time=6.44 bitrate=69715.3kbits/s
frame= 163 fps= 4 q=0.0 size= 55574kB time=6.52 bitrate=69826.0kbits/s
frame= 166 fps= 4 q=0.0 size= 56683kB time=6.64 bitrate=69932.4kbits/s
frame= 168 fps= 4 q=0.0 size= 57421kB time=6.72 bitrate=69999.1kbits/s
frame= 170 fps= 4 q=0.0 size= 58230kB time=6.80 bitrate=70150.4kbits/s
frame= 173 fps= 4 q=0.0 size= 59357kB time=6.92 bitrate=70268.0kbits/s
frame= 176 fps= 4 q=0.0 size= 60482kB time=7.04 bitrate=70378.7kbits/s
frame= 179 fps= 4 q=0.0 size= 61346kB time=7.16 bitrate=70187.7kbits/s
frame= 181 fps= 4 q=0.0 size= 62171kB time=7.24 bitrate=70345.9kbits/s
frame= 184 fps= 4 q=0.0 size= 63299kB time=7.36 bitrate=70454.0kbits/s
frame= 186 fps= 4 q=0.0 size= 64031kB time=7.44 bitrate=70502.6kbits/s
frame= 188 fps= 4 q=0.0 size= 64701kB time=7.52 bitrate=70482.4kbits/s
frame= 191 fps= 4 q=0.0 size= 65731kB time=7.64 bitrate=70479.9kbits/s
frame= 194 fps= 4 q=0.0 size= 66823kB time=7.76 bitrate=70543.2kbits/s
frame= 197 fps= 4 q=0.0 size= 67568kB time=7.88 bitrate=70243.5kbits/s
frame= 200 fps= 4 q=0.0 size= 68378kB time=8.00 bitrate=70018.6kbits/s
frame= 203 fps= 4 q=0.0 size= 69112kB time=8.12 bitrate=69724.5kbits/s
frame= 205 fps= 4 q=0.0 size= 69872kB time=8.20 bitrate=69804.1kbits/s
frame= 207 fps= 4 q=0.0 size= 70548kB time=8.28 bitrate=69798.2kbits/s
frame= 210 fps= 4 q=0.0 size= 71469kB time=8.40 bitrate=69699.4kbits/s
frame= 213 fps= 4 q=0.0 size= 72386kB time=8.52 bitrate=69599.5kbits/s
frame= 216 fps= 4 q=0.0 size= 73281kB time=8.64 bitrate=69480.8kbits/s
frame= 219 fps= 4 q=0.0 size= 74241kB time=8.76 bitrate=69427.7kbits/s
frame= 222 fps= 4 q=0.0 size= 75010kB time=8.88 bitrate=69198.2kbits/s
frame= 225 fps= 4 q=0.0 size= 75861kB time=9.00 bitrate=69050.0kbits/s
frame= 227 fps= 4 q=0.0 Lsize= 76442kB time=9.08 bitrate=68966.0kbits/s
video:76439kB audio:0kB global headers:0kB muxing overhead 0.003299%However the video generated does not have background image and have white color instead. please help..