
Recherche avancée
Autres articles (43)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (7168)
-
Error LIBSWRESAMPLE_0 Compiling ffmpeg Kubuntu 12.04
30 septembre 2013, par lobo115i try to compile ffmpeg in ubuntu 12.04 with this tuto But i had a error with a library so i use this to solve it :
sudo apt-get update
sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \
libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \
libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev \
libxfixes-dev texi2html yasm zlib1g-devand this
cd
git clone git://git.videolan.org/x264
cd x264
./configure --enable-static
make
sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \
--fstrans=no --defaultthen i have a problem with another library so i use a apt-get install to add libgsm1-dev, then i could install it, but now when i tried to execute it said :
ffmpeg: relocation error: /usr/local/lib/libavfilter.so.3: symbol swr_get_class, version LIBSWRESAMPLE_0 not defined in file libswresample.so.0 with link time reference
So i look for help, and tried
export LD_LIBRARY_PATH=/usr/local/lib
sudo ldconfig -vbut it didn't work, could you help me ?
ThzPS:When i tried to install WINFF with synaptic or apt-get it said that it will install ffmpeg.
-
Audio object type 3 is not supported
3 octobre 2013, par ArdoramorI am running into an issue with a custom-built ffmpeg. Basically, its a vanilla ffmpeg with x264 and fdk-aac libs enabled. I am feeding an SDP file through ffmpeg API and get the following error while passing the info to
avcodec_open2
:Audio object type 3 is not supported
My SDP file :
v=0
o=- 0 0 IN IP4 127.0.0.1
s=Unnamed
i=N/A
c=IN IP4 192.168.1.1
t=0 0
a=recvonly
m=audio 8204 RTP/AVP 96
a=rtpmap:96 mpeg4-generic/32000
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1a88; SizeLength=13; IndexLength=3; IndexDeltaLength=3;
a=control:trackID=0
m=video 8202 RTP/AVP 96
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=428028;sprop-parameter-sets=Z0KAKJWgKA9E,aM48gA==;
a=control:trackID=1
m=application 8206 RTP/AVP 96
a=rtpmap:96 smpte336m/10
a=control:trackID=2The following is the output I get from ffmpeg as I open the input, dump its format, and try to open input streams :
Format sdp probed with size=2048 and score=50
audio codec set to : aac
audio samplerate set to : 32000
audio channels set to : 1
video codec set to : h264
RTP Packetization Mode : 1
RTP Profile IDC : 42 Profile IOP : 80 Level : 28
Extradata set to 0xc8d3dc0 (size : 21) !
File position before avformat_find_stream_info() is 522
Audio object type 3 is not supported.
Could not find codec parameters for stream 1 (Video : h264) : unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
File position after avformat_find_stream_info() is 522
Dumping input AV format
Input #0, sdp, from 'conf/test.sdp' :Metadata :
title :Unnamed
comment :N/ADuration:N/A, bitrate:N/A
Stream #0:0, 0, 1/32000: Audio: aac, 32000 Hz, 1 channels, fltp
Stream #0:1, 0, 1/90000: Video: h264, 90k tbr, 90k tbn, 180k tbc
Stream #0:2, 0, 1/90000: Data: none, 0/1Audio object type 3 is not supported.
I also see the error reported for not finding codec parameters for stream 1 :
Could not find codec parameters for stream 1 (Video : h264) : unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' optionsHowever, I think that is due to me not running an actual rtp at the moment of the test.
In any case, what may be the reason for getting audio object type 3 not supported exception ?
UPDATE - Oct 02, 2013
Static ffmpeg build gives the following flags :
Static ffmpeg 2.0.1 build flag output :
ffmpeg version 2.0.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 30 2013 22:24:00 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
configuration: --enable-gpl --enable-nonfree --enable-shared
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --enable-runtime-cpudetect --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-avfilter --enable-pthreads --enable-x11grab --enable-vdpau --disable-avisynth --enable-libdc1394 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libx264 --enable-libxavs --enable-libxvid --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --disable-strippingMy build is from ffmpeg 2.0.1 snapshot with the following flags :
--enable-static --disable-shared --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfaac --enable-libmp3lame --enable-libx264 --disable-symver --disable-doc --disable-ffplay --enable-ffmpeg --disable-ffprobe --disable-ffserver --disable-avdevice --disable-avfilter --disable-filters --disable-devices --disable-everything --enable-avformat --enable-avcodec --enable-muxers --enable-protocols --enable-parsers --enable-demuxers --enable-decoders --enable-encoders --enable-bsfs --enable-network --enable-swscale --disable-demuxer=sbg --disable-demuxer=dts --disable-parser=dca --disable-decoder=dca --enable-asm --enable-pthreads --enable-version3
The fdk-aac library version I'm using :
fdk-aac - 0.1.2
So it seems that the same .sdp file causes Audio object type 3 error with my build but not with static but I really do not see what causes it (granted I am not an expert with ffmpeg API and may simply miss important details).
Simplified code for opening .sdp file that doesn't include error checks and logic separation :
AVFormatContext *inputContext = NULL;
av_register_all();
avformat_network_init();
avformat_open_input(&inputContext, "test.sdp", NULL, NULL);
avformat_find_stream_info(inputContext, NULL);
int inAudioStreamIdx = av_find_best_stream(inputContext, AVMEDIA_TYPE_AUDIO, -1, -1, NULL, 0);
AVStream *st = inputContext->streams[inAudioStreamIdx];
AVCodecContext *dec_ctx = st->codec;
AVCodec *dec = avcodec_find_decoder(dec_ctx->codec_id);
avcodec_open2(dec_ctx, dec, NULL); // Fails here with Audio object type 3Am I opening the sdp input improperly ?
-
How to solve issue for converting ismv file of h264 video codec and aac audio codec ?
4 octobre 2013, par PriyalI want to convert transmux ismv file to mp4 format. ISMV file is encoded withe the following ffmpeg detail :
Metadata:
major_brand : isml
minor_version : 1
compatible_brands: piffiso2
creation_time : 2013-10-03 14:10:41
Duration: 15:21:13.16, start: 0.000000, bitrate: 41 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64
kb/s (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : Audio
Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s, 29.9
7 tbr, 10000k tbn, 20000k tbc (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : Video
Stream #0:2(und): Data: none (dfxp / 0x70786664), 32 kb/s (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : TextI used the following ffmpeg command to transmux :
ffmpeg -y -ss 00:00:10 -i Encoder1.ismv -vcodec libx264 -ar 44100 -t 40 -preset slow -qp 0
Encoder.mp4I got output as :
ffmpeg version N-56010-g54d628a Copyright (c) 2000-2013 the FFmpeg developers
built on Sep 4 2013 00:44:27 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
enable-libxvid --enable-zlib
libavutil 52. 43.100 / 52. 43.100
libavcodec 55. 31.100 / 55. 31.100
libavformat 55. 16.100 / 55. 16.100
libavdevice 55. 3.100 / 55. 3.100
libavfilter 3. 83.102 / 3. 83.102
libswscale 2. 5.100 / 2. 5.100
libswresample 0. 17.103 / 0. 17.103
libpostproc 52. 3.100 / 52. 3.100
[aac @ 040f1ba0] TYPE_FIL: Input buffer exhausted before END element found
[h264 @ 00353120] AVC: nal size -729776398
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -570515285
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -1477874754
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -712314563
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -23151524
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -592499201
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size 225768173
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size 698187359
[h264 @ 00353120] AVC: nal size 635127544
[h264 @ 00353120] no frame!
[h264 @ 00353120] AVC: nal size -1242688339
[h264 @ 00353120] AVC: nal size 269543071
[h264 @ 00353120] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0035e840] decoding for stream 1 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0035e840] Could not find codec parameters for stream
1 (Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s): unspecified pixel form
at Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\inetpub\media\archives\DEFAULT WEB S
ITE\PushToPUblishPoint\Eagan_12034_Soccer_3-10-2013_14_10_19-isml\2013-10-03-14-
10-35-436\Segment001\Encoder1.ismv':
Metadata:
major_brand : isml
minor_version : 1
compatible_brands: piffiso2
creation_time : 2013-10-03 14:10:41
Duration: 15:21:13.16, start: 0.000000, bitrate: 41 kb/s
Stream #0:0(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64
kb/s (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : Audio
Stream #0:1(und): Video: h264 (avc1 / 0x31637661), 1280x720, 3217 kb/s, 29.9
7 tbr, 10000k tbn, 20000k tbc (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : Video
Stream #0:2(und): Data: none (dfxp / 0x70786664), 32 kb/s (default)
Metadata:
creation_time : 2013-10-03 14:10:41
handler_name : Text
[buffer @ 04679480] Unable to parse option value "-1" as pixel format
Last message repeated 1 times
[buffer @ 04679480] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:1 @ 040f7380] Error applying options to the filter.
Error opening filters!Please suggest the solution for Windows OS