
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (25)
-
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 -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (4235)
-
getting a lot of errors when reading udp stream with avconv
5 août 2015, par eladm26I’m trying to read a udp video stream and I’m getting mostly errors :)
here is my input and output :avconv -i udp://**.**.**.**:**** output.ts
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
built on Jul 14 2015 12:43:36 with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
[mpeg2video @ 0x25a7060] Invalid frame dimensions 0x0.
Last message repeated 13 times
[mpegts @ 0x2582040] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'udp://239.1.1.1:59001':
Duration: N/A, start: 17336.030511, bitrate: 24640 kb/s
Program 3
Stream #0.0[0x31]: Video: mpeg2video (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 24000 kb/s, 29.97 fps, 90k tbn, 59.94 tbc
Stream #0.1[0x34](eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s
Stream #0.2[0x35](spa): Audio: ac3, 48000 Hz, stereo, fltp, 192 kb/s
File 'output.ts' already exists. Overwrite ? [y/N] y
Output #0, mpegts, to 'output.ts':
Metadata:
encoder : Lavf56.1.0
Stream #0.0: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
Metadata:
encoder : Lavc56.1.0 mpeg2video
Stream #0.1(eng): Audio: mp2, 48000 Hz, stereo, s16, 384 kb/s
Metadata:
encoder : Lavc56.1.0 mp2
Stream mapping:
Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
Stream #0:1 -> #0:1 (ac3 (native) -> mp2 (native))
Press ctrl-c to stop encoding
[mpeg2video @ 0x25c85e0] warning: first frame is no keyframe
Continuity check failed for pid 49 expected 12 got 5 bitrate=3922.8kbits/s
[mpegts @ 0x2582040] Continuity check failed for pid 52 expected 6 got 1
[mpegts @ 0x2582040] Continuity check failed for pid 53 expected 7 got 14
[mpegts @ 0x2582040] Continuity check failed for pid 0 expected 4 got 1
[mpeg2video @ 0x25c85e0] ac-tex damaged at 2 53
[mpeg2video @ 0x25c85e0] 00 motion_type at 19 38
[mpeg2video @ 0x25c85e0] 00 motion_type at 18 54
[mpeg2video @ 0x25c85e0] ac-tex damaged at 1 39
[mpeg2video @ 0x25c85e0] 00 motion_type at 48 55
[mpeg2video @ 0x25c85e0] 00 motion_type at 2 56
[mpeg2video @ 0x25c85e0] 00 motion_type at 17 40
[mpeg2video @ 0x25c85e0] ac-tex damaged at 5 60
[mpeg2video @ 0x25c85e0] 00 motion_type at 1 61
[mpeg2video @ 0x25c85e0] 00 motion_type at 16 41
[mpeg2video @ 0x25c85e0] ac-tex damaged at 15 46
[mpeg2video @ 0x25c85e0] 00 motion_type at 6 62
[mpeg2video @ 0x25c85e0] 00 motion_type at 24 42
[mpeg2video @ 0x25c85e0] 00 motion_type at 16 47
[mpeg2video @ 0x25c85e0] mb incr damaged
[mpeg2video @ 0x25c85e0] ac-tex damaged at 3 44
[mpeg2video @ 0x25c85e0] 00 motion_type at 8 63
[mpeg2video @ 0x25c85e0] 00 motion_type at 11 65
[mpeg2video @ 0x25c85e0] ac-tex damaged at 1 66
[mpeg2video @ 0x25c85e0] invalid mb type in P Frame at 42 50
[mpeg2video @ 0x25c85e0] 00 motion_type at 9 51
[mpeg2video @ 0x25c85e0] ac-tex damaged at 45 67
[mpeg2video @ 0x25c85e0] 00 motion_type at 48 52
[mpeg2video @ 0x25c85e0] MVs not available, ER not possible.
[mpegts @ 0x2582040] PES packet size mismatch
Last message repeated 1 times
[ac3 @ 0x25c8b00] exponent out-of-range
[ac3 @ 0x25c8b00] error decoding the audio block
[mpegts @ 0x2582040] Continuity check failed for pid 49 expected 13 got 5
[mpegts @ 0x2582040] Continuity check failed for pid 52 expected 12 got 14
[mpeg2video @ 0x25c85e0] 00 motion_type at 97 65
[mpeg2video @ 0x25c85e0] 00 motion_type at 1 4
[mpeg2video @ 0x25c85e0] invalid cbp at 18 5
[mpeg2video @ 0x25c85e0] 00 motion_type at 1 6
[mpeg2video @ 0x25c85e0] mb incr damaged
[mpeg2video @ 0x25c85e0] 00 motion_type at 34 8
[mpeg2video @ 0x25c85e0] 00 motion_type at 8 9
[mpeg2video @ 0x25c85e0] 00 motion_type at 6 11
[mpeg2video @ 0x25c85e0] invalid cbp at 5 18
[mpeg2video @ 0x25c85e0] 00 motion_type at 13 19
[mpeg2video @ 0x25c85e0] 00 motion_type at 3 20
[mpeg2video @ 0x25c85e0] 00 motion_type at 16 21
[mpeg2video @ 0x25c85e0] invalid cbp at 3 22
[mpeg2video @ 0x25c85e0] invalid mb type in B Frame at 4 23
[mpeg2video @ 0x25c85e0] invalid mb type in B Frame at 3 24I’ve searched stack overflow and couldn’t find any similar.
maybe it has something to do with avconv cant handle the udp frames fast enough ?
I lost any hope so any help is very welcomed.Thanks.
-
OpenGL (GLEW) + FFMPEG + VS2010 release build
6 décembre 2015, par rickhikCurrently I am working on a application that uses OpenGL (GLEW) and FFMPEG (libav’s) in Visual Studio 2010. The GLEW libs are included as Additional Libraries. The libav is set via a header file with extern "c" and pragma comment lib.
The application opens a OpenGL window which draws some quads with textures via FFMPEG. I want to use this application for my volunteer job at a TV station of a Childrens Hospital.
The problem I have is building a release version of my project. When I am building a Debug version it all works fine. I get a OpenGL Window with the quads. When I change Debug into Release and start the Debugger, it gives me the message "entry point of procedure __GLEW_EXT_framebuffer_object not found in DLL avcodec-56.dll", which is a bit strange to me because of the fact that the GLEW is not part of the avcodec-56.dll ?
I can solve this issue by going to the project settings -> Linker -> Optimization and switch References from Yes(/OPT:REF) to No(/OPT:NOREF). I start the debugger to build the solution and it works as well. Now when I go to the Release folder of the project and start the build executable, the OpenGL Window stays black without giving me an error message.
I hope you guys can help me out.
@michael-iv I saw you had a similar issue
-
Build FFmpeg with Freetype2 for ARM
28 avril 2016, par Pawel CalaI’m trying to build FFmpeg binary file with freetype library included ( I need it for drawtext filter ). Unfortunately I cannot configure ffmpeg properly and every try ends with "freetype not found" error.
PS I’ve tried to build guardian-ffmpeg project but i’m getting errors during configure process.
PS2 Building plain ffmpeg works perfectly well
Configuration script :
make distclean &./configure --target-os=linux \
--cross-prefix=arm-linux-androideabi- \
--arch=arm \
--cpu=armv7-a \
--enable-libfreetype --enable-filter=drawtext \ #!Freetype params
--disable-network \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-protocol=file \
--sysroot=${ANDROID_NDK_ROOT_PATH}/platforms/${ANDROID_API_VERSION}/arch-arm \
--prefix=build/armeabi-v7a \
--disable-asm \
--extra-cflags='-DANDROID -Ifreetype2/ -I${ANDROID_NDK_ROOT_PATH}/sources/cxx-stl/system/include -march=armv7-a -mfloat-abi=softfp' \
--extra-ldflags='-Wl,--fix-cortex-a8 -Lfreetype2/ -L../android-libs -Wl,-rpath-link,../android-libs' \
--extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
make -j6 && make install || exit 0Directories sctructure :
ffmpeg/
-ffmpeg dirs/
-freetype2/
-rest of ffmpeg files ( including configure, make, etc )I’ve checked patch sources in guardian-project and I’ve found that ffmpeg configure file might need some changes in
require_libfreetype
method ?!Thanks in advance ( and sorry for my bad english )
EDIT :
Building on OSX Mavericks,
Last 3 lines ofconfig.log
; OSX hasn’t gotpkg-config
thereforefalse
in 2nd line :require_libfreetype
false --exists --print-errors freetype
ERROR: freetype not foundEDIT :
SOLUTION !!!I’ve manadged to solve my issue. I’ve used Xubuntu 14.04 64bit + Freetype 2.5.3 + newest FFmpeg repo + install linux package "pkg_config" and small modifications in ffmpeg configure script ( find pkg_config and check initialization variable )
config file for freetype :
NDK_BASE=/home/dpc/Documents/android-ndk-r9d/
NDK_PROCESSOR=x86_64
NDK_PLATFORM_LEVEL=9
NDK_ABI=arm
NDK_COMPILER_VERSION=4.6
# Android NDK setup
NDK_PLATFORM_LEVEL=9
NDK_ABI=arm
NDK_COMPILER_VERSION=4.6
NDK_SYSROOT=$NDK_BASE/platforms/android-$NDK_PLATFORM_LEVEL/arch-$NDK_ABI
NDK_UNAME=`uname -s | tr '[A-Z]' '[a-z]'`
if [ $NDK_ABI = "x86" ]; then
HOST=i686-linux-android
NDK_TOOLCHAIN=$NDK_ABI-$NDK_COMPILER_VERSION
else
HOST=$NDK_ABI-linux-androideabi
NDK_TOOLCHAIN=$HOST-$NDK_COMPILER_VERSION
fi
NDK_TOOLCHAIN_BASE=$NDK_BASE/toolchains/$NDK_TOOLCHAIN/prebuilt/$NDK_UNAME-$NDK_PROCESSOR
echo "dpc:" $NDK_TOOLCHAIN_BASE
CC="$NDK_TOOLCHAIN_BASE/bin/$HOST-gcc --sysroot=$NDK_SYSROOT"
LD=$NDK_TOOLCHAIN_BASE/bin/$HOST-ld
STRIP=$NDK_TOOLCHAIN_BASE/bin/$HOST-strip
PREFIX=$(pwd)/build
simple_config(){
make clean
./configure --host=arm-linux-androideabi --without-zlib --without-png --prefix=
make -j4
make install DESTDIR=$(pwd)
}
complex_config(){
./configure \
CC="$CC" \
LD="$LD" \
CFLAGS="-std=gnu99 -mcpu=cortex-a8 -marm -mfloat-abi=softfp -mfpu=neon" \
--host=$HOST \
--with-sysroot="$NDK_SYSROOT" \
--enable-static \
--disable-shared \
--prefix=$PREFIX
--without-bzip2
make -j4
make install
}
make clean
complex_configffmpeg config file :
#!/bin/sh
ANDROID_NDK_ROOT_PATH=/home/dpc/Documents/android-ndk-r9d
ANDROID_API_VERSION=android-9
#export PATH=${ANDROID_NDK_ROOT_PATH}:${ANDROID_NDK_ROOT_PATH}/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:$PATH
export PATH=${ANDROID_NDK_ROOT_PATH}:${ANDROID_NDK_ROOT_PATH}/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/:$PATH
echo $PATH
#export PKG_CONFIG_PATH=/home/dpc/Documents/freetype-2.5.3/build/lib/pkgconfig/
#echo $PKG_CONFIG_PATH
#armv7-a neon
#export ARCH=armeabi-v7a-neon
#./configure --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --cpu=armv7-a --sysroot=${ANDROID_NDK_ROOT_PATH}/platforms/${ANDROID_API_VERSION}/arch-arm --disable-avdevice --disable-decoder=h264_vdpau --prefix=build/armeabi-v7a-neon --extra-cflags='-DANDROID -I${ANDROID_NDK_ROOT_PATH}/sources/cxx-stl/system/include -march=armv7-a -mfloat-abi=softfp -mfpu=neon' --extra-ldflags='-Wl,--fix-cortex-a8 -L../android-libs -Wl,-rpath-link,../android-libs' --extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
#make -j6 && make install && make distclean|| exit 0
#armv7-a
export ARCH=armeabi-v7a
./configure --target-os=linux \
--cross-prefix=arm-linux-androideabi- \
--arch=arm \
--enable-libfreetype \
--cpu=armv7-a \
--sysroot=${ANDROID_NDK_ROOT_PATH}/platforms/${ANDROID_API_VERSION}/arch-arm \
--disable-avdevice \
--disable-decoder=h264_vdpau \
--prefix=build/armeabi-v7a \
--extra-cflags='-DANDROID -I${ANDROID_NDK_ROOT_PATH}/sources/cxx-stl/system/include -march=armv7-a -mfloat-abi=softfp' \
--extra-ldflags='-Wl,--fix-cortex-a8 -L../android-libs -Wl,-rpath-link,../android-libs' \
--extra-cxxflags='-Wno-multichar -fno-exceptions -fno-rtti'
make -j6 && make install && make distclean|| exit 0Hope it helps someone (cc : @SinhHo )