
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (41)
-
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (6960)
-
How to build the Exoplayer ffmpeg extension with the GSM codec ?
4 mars 2020, par MadCoconutI wanted to use Exoplayer to play an audio file but when I tried I got this exception :
2019-12-13 10:08:14.827 28972-29388/com.XXX.XXX E/ExoPlayerImplInternal: Source error.
com.google.android.exoplayer2.ParserException: Expected block alignment: 0; got: 65
at com.google.android.exoplayer2.extractor.wav.WavHeaderReader.peek(WavHeaderReader.java:81)
at com.google.android.exoplayer2.extractor.wav.WavExtractor.sniff(WavExtractor.java:50)
at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractorHolder.selectExtractor(ProgressiveMediaPeriod.java:1061)
at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:952)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:394)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)The audio files I have to play are wav files (GSM_MS, 13kb/s)
I tried to build the the Exoplayer Ffmpeg extension following the tutorial :
https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpegI cloned the Exoplayer repository and I downloaded the Android NDK version r20b.
I modified the build script build_ffmpeg.sh to enable the libgsm :
COMMON_OPTIONS=“
…
—enable-libgsm
"I defined the required environment variables :
- FFMPEG_EXT_PATH=“/extensions/ffmpeg/src/main/jni”
- NDK_PATH="/Users/USER/Documents/Android/android-ndk-r20b/"
- HOST_PLATFORM(“darwin-x86_64”)
- ENABLED_DECODERS(all the decoders available https://exoplayer.dev/supported-formats.html#ffmpeg-extension)
Then I built the library using the provided command line :
cd "${FFMPEG_EXT_PATH}" && \
./build_ffmpeg.sh \
"${FFMPEG_EXT_PATH}" "${NDK_PATH}" "${HOST_PLATFORM}" "${ENABLED_DECODERS[@]}"But something goes wrong during the build process :
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 26 (delta 20), reused 0 (delta 0)
Unpacking objects: 100% (26/26), done.
From git://source.ffmpeg.org/ffmpeg
377a095dc3..bd83191271 master -> origin/master
Already up to date.
Already on 'release/4.2'
Your branch is up to date with 'origin/release/4.2'.
ERROR: libgsm not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
GEN libavutil/libavutil.version
GEN libswresample/libswresample.version
GEN libavresample/libavresample.version
GEN libavcodec/libavcodec.version
CC libavcodec/aac_ac3_parser.o
CC libavcodec/aacdec.o
CC libavcodec/aacps_float.o
CC libavcodec/aacpsdsp_float.o
CC libavcodec/aacsbr.o
CC libavcodec/aactab.o
CC libavcodec/ac3.o
CC libavcodec/ac3_parser.o
CC libavcodec/ac3dec_data.o
CC libavcodec/ac3dec_float.oHere is a part of the content of the config.log file located in the ffmpeg checked out library (/extensions/ffmpeg/src/main/jni/ffmpeg/ffbuild/config.log :
…
/Users/USER/Documents/Android/android-ndk-r20b/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android16-clang -march=i686 -Wl,--as-needed -Wl,-z,noexecstack -pie -fPIE -pie -o /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.o
/var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.o:test.c:function foo: error: undefined reference to 'cexp'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
check_lib libgsm gsm.h gsm_create -lgsm
check_func_headers gsm.h gsm_create -lgsm
test_ld cc -lgsm
test_cc
BEGIN /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.c
1 #include
2 #include
3 long check_gsm_create(void) { return (long) gsm_create; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_gsm_create) & 0xFFFF;
6 return ret; }
END /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.c
/Users/USER/Documents/Android/android-ndk-r20b/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android16-clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC -march=i686 -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -c -o /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.o /var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.c
/var/folders/9l/trkjpc091_79vk3krfpykbsh0000gn/T//ffconf.hv2yROG1/test.c:1:10: fatal error: 'gsm.h' file not found
…The gsm.h file is located there : /extensions/ffmpeg/src/main/jni/ffmpeg/libavcodec
I assume this path has been configured to be used by the build script.
Any help is much appreciated.
-
FFMPEG on PHP could not open file
15 juillet 2021, par albertCurrently, I'm running the latest FFMPEG (4.2.1) on MacOS Catalina.
I'm trying to join multiple image to become an mp4 video using FFMPEG executed with PHP exec()



here is my ffmpeg code



"/usr/local/bin/ffmpeg -filter_complex \"[0]reverse[r];[0][r]concat, loop=1:50, setpts=N/12/TB\" -r 25 -f image2 -i /Users/Dan/Desktop/RAW/0234_%02d.jpg -preset fast -crf 23 -profile:v baseline -movflags +faststart -pix_fmt yuv420p /Applications/XAMPP/htdocs/render/result/result.mp4 2>&1"




Here is the output of FFMPEG



Array (
 [0] => ffmpeg version 4.2.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2019 the FFmpeg developers
 [1] => built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
 [2] => configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
 [3] => libavutil 56. 31.100 / 56. 31.100
 [4] => libavcodec 58. 54.100 / 58. 54.100
 [5] => libavformat 58. 29.100 / 58. 29.100
 [6] => libavdevice 58. 8.100 / 58. 8.100
 [7] => libavfilter 7. 57.100 / 7. 57.100
 [8] => libswscale 5. 5.100 / 5. 5.100
 [9] => libswresample 3. 5.100 / 3. 5.100
 [10] => libpostproc 55. 5.100 / 55. 5.100
 [11] => [image2 @ 0x7fe4b1000400] Could not open file : /Users/Dan/Desktop/RAW/0234_01.jpg
 [12] => [image2 @ 0x7fe4b1000400] Could not find codec parameters for stream 0 (Video: mjpeg, none(bt470bg/unknown/unknown)):
 unspecified size
 [13] => Consider increasing the value for the 'analyzeduration' and 'probesize' options
 [14] => Input #0, image2, from '/Users/Dan/Desktop/RAW/0234_%02d.jpg':
 [15] => Duration: 00:00:00.20, start: 0.000000, bitrate: N/A
 [16] => Stream #0:0: Video: mjpeg, none(bt470bg/unknown/unknown), 25 tbr, 25 tbn, 25 tbc
 [17] => Stream mapping:
 [18] => Stream #0:0 (mjpeg) -> reverse
 [19] => Stream #0:0 (mjpeg) -> concat:in0:v0
 [20] => setpts -> Stream #0:0 (libx264)
 [21] => Press [q] to stop, [?] for help
 [22] => [image2 @ 0x7fe4b1000400] Could not open file : /Users/Dan/Desktop/RAW/0234_01.jpg
 [23] => /Users/Dan/Desktop/RAW/0234_%02d.jpg: Input/output error
 [24] => Cannot determine format of input stream 0:0 after EOF
 [25] => Error marking filters as finished
 [26] => Conversion failed!
 )




On the 11th row, ffmpeg could not open the file, although the file permission already read and write for everyone.
Is it something I missed for the ffmpeg code ?



Note : The ffmpeg code above can be run on terminal successfully


-
ffmpeg : capture rtsp stream continously without stoping
21 décembre 2019, par Santhosh YedidiI am trying to capture an rtsp stream
ffmpeg -rtsp_transport tcp -i "rtsp://...." -acodec copy -vcodec copy file.ts
But this will only record for few seconds and stop
ffmpeg version n4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 8.2.1 (GCC) 20181127
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
[rtsp @ 0x564a002b4e80] max delay reached. need to consume packet
[rtsp @ 0x564a002b4e80] RTP: missed 3 packets
[h264 @ 0x564a002b8a80] out of range intra chroma pred mode
[h264 @ 0x564a002b8a80] error while decoding MB 8 43
[h264 @ 0x564a002b8a80] concealing 1401 DC, 1401 AC, 1401 MV errors in I frame
Input #0, rtsp, from 'rtsp://...':
Metadata:
title : RTSP Session/2.0
Duration: N/A, start: 0.463333, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, 15 fps, 100 tbr, 90k tbn, 30 tbc
Output #0, mpegts, to 'file.ts':
Metadata:
title : RTSP Session/2.0
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 1280x960, q=2-31, 15 fps, 100 tbr, 90k tbn, 90k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 380 fps= 16 q=-1.0 Lsize= 6962kB time=00:00:24.86 bitrate=2293.5kbits/s speed=1.06x
video:6416kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.512586%How to keep the recording continous