
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (89)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (10172)
-
Compile ffmpeg with librtmp
22 avril 2013, par HighFlyingFantasyWhen compiling ffmpeg for OSX, I can simply use the :
./configure --enable-librtmp --enable-gpl
command and get a build that can I/O with an rtmp stream.
If I attempt to compile for iOS using :
./configure \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-mmx \
--enable-gpl \
--enable-shared \
--enable-librtmp \
--enable-avresample \
--enable-cross-compile \
--enable-pic \
--sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs /iPhoneOS6.1.sdk" \
--target-os=darwin \
--cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2" \
--extra-cflags="-arch armv7s -mfpu=neon -miphoneos-version-min=6.1" \
--extra-ldflags="-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.1" \
--arch=arm \
--cpu=cortex-a9 \
--prefix=compiled/armv7sit errors out saying
ERROR: librtmp cannot be found
. Specifically :/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -miphoneos-version-min=6.1 --sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -Wl,-dynamic,-search_paths_first -I/usr/local/include -L/usr/local/lib -o /var/folders/4m/8hcrycqx777_ksz6d32nrn_m0000gp/T//ffconf.b2zp97z8 /var/folders/4m/8hcrycqx777_ksz6d32nrn_m0000gp/T//ffconf.VhdlpSe1.o -lrtmp -lz -lssl -lcrypto -lm -lbz2 -lz
ld: warning: ld: warning: ignoring file /usr/local/lib/librtmp.dylib, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which is not the architecture being linked (armv7s): /usr/local/lib/librtmp.dylibignoring file /usr/local/lib/libz.a, file was built for archive which is not the architecture being linked (armv7s): /usr/local/lib/libz.a
Undefined symbols for architecture armv7s:
"_RTMP_Socket", referenced from:
_check_RTMP_Socket in ffconf.VhdlpSe1.o
(maybe you meant: _check_RTMP_Socket)
ld: symbol(s) not found for architecture armv7s
collect2: ld returned 1 exit status
ERROR: librtmp not foundI have already compiled
openssl
for ios usingios-openssl
found on github andlibrtmp
throughrtmpdump
-
Transcoding Live Audio Stream
24 avril 2019, par AnjedI need to implement a scalable service (using C++|Go) to transcode incoming audio stream (via gRPC) to outgoing Linear16 (PCM) stream (via TCP)
It seems that this could be done with ffmpeg and libav but I’m not sure how to do it, because output should be a stream rather than a file.
Furthermore, the service will be exposed to over 1K requests per second therefore I need a solution for CPU-intensive multi-threaded environment.
Incoming stream may be one of these :
FLAC
AMR
MP2/3
OPUS
SPEEX
mu-law -
Cut video command producing only audio
12 février 2018, par SandeepI am using
ffmpeg
in Android app and my command code looks like :final String[] command=new String[]{"-i",inputFileName , "-ss",
String.valueOf(duration) , "-codec","copy", "-t",String.valueOf(start) , outputFileName};The logcat contains following ffmpeg output which shows video as
0kB
in last line. Where should I look for fixing this because the final output file is a mp4 file but the video content is missing and only audio is present for the trimmed duration :02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg ffmpeg version n3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg built with gcc 4.9.x (GCC) 20150123 (prerelease)
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg configuration: --target-os=linux --cross-prefix=/root/bravobit/ffmpeg-android/toolchain-android/bin/i686-linux-android- --arch=x86 --cpu=i686 --enable-runtime-cpudetect --sysroot=/root/bravobit/ffmpeg-android/toolchain-android/sysroot --disable-asm --enable-pic --enable-libx264 --enable-libfreetype --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libopus --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-linux-perf --disable-doc --disable-shared --enable-static --enable-runtime-cpudetect --enable-nonfree --enable-network --enable-avresample --enable-avformat --enable-avcodec --enable-indev=lavfi --enable-hwaccels --enable-ffmpeg --enable-zlib --enable-gpl --enable-small --disable-asm --pkg-config=/root/bravobit/ffmpeg-android/ffmpeg-pkg-config --prefix=/root/bravobit/ffmpeg-android/build/x86 --extra-cflags='-I/root/bravobit/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -march=i686' --extra-ldflags='-L/root/bravobit/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-cxxflags= --extra-libs='-lpng -lx264 -lm -logg'
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavutil 55. 78.100 / 55. 78.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavcodec 57.107.100 / 57.107.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavformat 57. 83.100 / 57. 83.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavdevice 57. 10.100 / 57. 10.100
02-12 17:22:43.837 25335-25335/service D/FFmpeg: Started command : ffmpeg libavfilter 6.107.100 / 6.107.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libavresample 3. 7. 0 / 3. 7. 0
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswscale 4. 8.100 / 4. 8.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libswresample 2. 9.100 / 2. 9.100
02-12 17:22:43.838 25335-25335/service D/FFmpeg: Started command : ffmpeg libpostproc 54. 7.100 / 54. 7.100
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/DCIM/SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf53.24.2
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Output #0, mp4, to '/storage/emulated/0/VideoTriming/20180212_172243SampleVideo_1280x720_1mb.mp4':
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg major_brand : isom
02-12 17:22:43.902 25335-25335/service D/FFmpeg: Started command : ffmpeg minor_version : 512
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg compatible_brands: isomiso2avc1mp41
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg encoder : Lavf57.83.100
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : VideoHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Metadata:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg creation_time : 1970-01-01T00:00:00.000000Z
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg handler_name : SoundHandler
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream mapping:
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:0 -> #0:0 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Stream #0:1 -> #0:1 (copy)
02-12 17:22:43.903 25335-25335/service D/FFmpeg: Started command : ffmpeg Press [q] to stop, [?] for help
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg frame= 0 fps=0.0 q=-1.0 Lsize= 46kB time=00:00:00.98 bitrate= 387.1kbits/s speed= 115x
02-12 17:22:43.910 25335-25335/service D/FFmpeg: Started command : ffmpeg video:0kB audio:46kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.145508%My input file is the first 1MB mp4 sample video downloaded from following website :