
Recherche avancée
Autres articles (56)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (6786)
-
What the "No opaque field provided" mean in ffmpeg ?
15 mai 2016, par 纯洁的坏蛋I use the code to covert a image and wav to a mp4 :
ffmpeg -loop 1 -i img.jpg -i audio.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4
But I got some errors :
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: built on May 9 2016 16:36:21 with gcc 4.9 20150123 (prerelease)
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/Users/tian/Documents/adt/android-ndk-r9c/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/arm-linux-androideabi- --sysroot=/Users/tian/Documents/adt/android-ndk-r9c/platforms/android-16/arch-arm --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie' --extra-ldflags='-L../x264 -fPIE -pie' --enable-version3 --enable-gpl --disable-doc --enable-yasm --disable-decoders --enable-decoder=mjpeg --enable-decoder=aac --enable-decoder=h264 --disable-encoders --enable-encoder=libx264 --enable-encoder=aac --enable-encoder=h264 --enable-muxers --disable-demuxers --enable-demuxer=image2 --enable-demuxer=wav --disable-parsers --disable-protocols --enable-protocol=file --disable-filters --disable-avresample --disable-libfreetype --disable-indevs --disable-indev=lavfi --disable-outdevs --enable- libavutil 51. 54.100 / 51. 54.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libavcodec 54. 23.100 / 54. 23.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libavformat 54. 6.100 / 54. 6.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libavdevice 54. 0.100 / 54. 0.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libavfilter 2. 77.100 / 2. 77.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libswscale 2. 1.100 / 2. 1.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libswresample 0. 15.100 / 0. 15.100
05-09 17:00:23.473 26907-27514/com.tian.example E/xx: libpostproc 52. 0.100 / 52. 0.100
05-09 17:00:23.553 26907-27514/com.tian.example E/xx: [image2 @ 0xb6042100] max_analyze_duration 5000000 reached at 5000000
05-09 17:00:23.553 26907-27514/com.tian.example E/xx: Input #0, image2, from '/storage/emulated/0/Android/data/com.tian.example/files/tian/frame.jpg':
05-09 17:00:23.553 26907-27514/com.tian.example E/xx: Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
05-09 17:00:23.553 26907-27514/com.tian.example E/xx: Stream #0:0: Video: mjpeg, yuvj420p, 320x240 [SAR 72:72 DAR 4:3], 25 fps, 25 tbr, 25 tbn, 25 tbc
05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Guessed Channel Layout for Input Stream #1.0 : mono
05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Input #1, wav, from '/storage/emulated/0/Android/data/com.tian.example/files/tian/example/回声_2016_05_07_22_23_20.wav':
05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Duration: 00:00:02.65, bitrate: 705 kb/s
05-09 17:00:23.573 26907-27514/com.tian.example E/xx: Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, mono, 705 kb/s
05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [buffer @ 0xb6052070] w:320 h:240 pixfmt:yuvj420p tb:1/25 sar:72/72 sws_param:flags=2
05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [buffersink @ 0xb60520a0] No opaque field provided
05-09 17:00:23.593 26907-27514/com.tian.example E/xx: [abuffer @ 0xb6052100] Invalid sample format (null).
05-09 17:00:23.593 26907-27514/com.tian.example E/xx: Error opening filters!I am a new for ffmpeg.
-
Mpeg Dash code having compilation issues and want to know what to do after the code is built and how to play the .mpd file generated
11 avril 2013, par niuuuuI'm trying to build the DashEncoder code which I downloaded from github
https://github.com/slederer/DASHEncoder
. Well, I followed all the instructions given in the how to compile dash file. installed Gpac n X264 and compiled both successfully. Then did make of Dashencoder and ran it as ./Dashencoder. But I found some issues in it. Got this log :==========DASH ENCODER===============
Unknown option in resourcefile : sql-pw :
current encoder x264
YES
x264 encoding @ 300 kbps: Pass 1
x264: x264 --profile baseline --preset slow --verbose --fps 24 --vbv-maxrate 300 --vbv-bufsize 600 --scenecut 0 --keyint 48 --output /opt/lampp/htdocs/tests_updates/sintel_trailer_2k_480p24_300kbit.h264 /home/niu/sintel_trailer_2k_480p24.y4m >out.txt 2>&1
mkdir: cannot create directory `/opt/lampp/htdocs/tests_updates/sintel_300kbit': File exists
cp: omitting directory `/opt/lampp/htdocs/tests_updates/'
copy audio: cp /opt/lampp/htdocs/tests_updates/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/MP4Box multiplexing Video: /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264
mp4box: MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264 /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
AVC-H264 import - frame size 854 x 480 at 24.000 FPS
AVC Import results: 1253 samples - Slices: 27 I 1226 P 0 B - 1 SEI - 27 IDR
Saving to /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4: 0.500 secs Interleaving
MP4Box multiplexing Audio:/opt/lampp/htdocs/tests_updates/sintel_300kbit/
mp4box: MP4Box -add /opt/lampp/htdocs/tests_updates/sintel_300kbit/ /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
Unknown input file type
Unknown input file type
Error importing /opt/lampp/htdocs/tests_updates/sintel_300kbit/: Bad Parameter
MP4Box Cleaning ...
mp4box: MP4Box -no-sys /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
Saving /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4: 0.500 secs Interleaving
MP4Box segmentation: /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.h264
mp4box: MP4Box -frag 2000 -dash 2000 -rap -segment-name /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
DASH-ing file: 2.00s segments 2.00s fragments single sidx per segment
Spliting segments at GOP boundaries
[DASH] Generating MPD at time 2013-03-16T16:40:03Z
DASHing file /opt/lampp/htdocs/tests_updates/sintel_300kbit/sintel_trailer_2k_480p24_300kbit.mp4
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Error: Unable to open MPD file!AbortedWhy is this error at the end ?
and also one folder got created in my /opt/lampp/htdocs/tests_updates/sintel_300kbit.
which has two types of files :
27 files of .m4s extension
1 file -sintelinit.mp4
1 file- sintel_trailer_2k_480p24_300kbit.mp4 , which when played in vlc player played the video bt no audio ! &1 file- sintel_trailer_2k_480p24_300kbit.h264 which cannot be opened.
No .mpd file was created.
Also I want to know aft creating that .mpd file how will i be able to test it on my android client say media player.
I am damn confused with all this happening. Please help.
-
Revision 180cd5faa5 : General code cleanup. Removing redundant code, lower case variable names, bette
27 mars 2013, par Dmitry KovalevChanged Paths : Modify /vp9/common/vp9_entropymv.c Modify /vp9/common/vp9_extend.c Modify /vp9/common/vp9_extend.h Modify /vp9/common/vp9_postproc.c Modify /vp9/common/vp9_postproc.h Modify /vp9/decoder/vp9_dboolhuff.h Modify /vp9/decoder/vp9_onyxd_if.c (...)