
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (62)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 -
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 (9939)
-
Immidiately display first and latest frame of h264 stream which may sometimes pause
22 septembre 2016, par jorpSteps to reproduce :
1.Connect android device to linux PC via USB.
2.Run command on pc :
adb shell screenrecord --output-format=h264 - | ffplay -analyzeduration 1 -
3.Screenrecord(an Android system tool) will start to capture Android screen, encode by MediaCodec, generate h264 stream, send stream data to ffplay via pipe.
4.PC will pop up ffplay window, and start display Android screen graphs
If adb command runs when Android screen graph keeps static (no pixel color changes), ffplay window won’t pop up, until I touch somewhere to make Android graph changes.
Question 1 : how to make ffplay to immidiately display the first frame of video when Android screen keeps static and adb commmand runs ?
I’m not talking about "latency", if Android graph keeps changing, the graphic latency is within 2 second. It’s fast enough.
when Android graph is static, run command without ffplay :
adb shell screenrecord --output-format=h264 -
screenrecord will output H264 stream data immidiately then pause.(See picture below).
stream data comes firstDoes the data contain all information of first frame graph ?
If so, how to make ffplay to display it immidiately ?
Question 2 : how to make ffplay to immidiately display the latest frame of video when Android screen suddenly become static ?
When Android screen start casting and Android graph suddenly become static, H264 data stream transfer will pause, while PC graph is different with Android graph.
For example, I make a popup menu on Android disappear, there has been a fadeoff animation, PC graph pauses and display a translucent popup menu.(See picture below)
latest graph on pc
The first and latest frames of stream doesn’t display in ffplay immidiately, they are "missing".
when Android screen go on changing, the "missing" frames displays.
So it seems like the latest frames are always in buffer.I’ve tried adding these params to ffplay :
-noinfbuf
-fflags nobuffer
-max_delay 0
-sync ext
-preset ultrafast
-tune zerolatency
They cannot solve the problemsModifing Android ROM or screenrecord source, making a pixel color changes every frame, may solve the problems(I guess), but it would enlarge data stream, it’s the last choise.
Is there any solution by adding params of ffplay, or by modifing screenrecord or ffplay source code ?PS : mplayer also has the same problem :
mplayer -demuxer h264es -
-
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
6 juillet 2016, par olegaFound a lot of helpful answers. But could not find for my problem.
I am trying to convert .mp4 to .webm. I tried with parameters, without them (like below), but always got same result :================
Converting (dseoFRQrJehleLDHPdcB.mp4) started - Tue - Jul 05, 2016 @ 06:29 PM
/usr/local/bin/ffmpeg -i public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4 public_html/uploads/dseoFRQrJehleLDHPdcB.webm
ffmpeg version N-80913-gd915b6e Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16)
configuration : —enable-libvpx —enable-libvorbis
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 47.100 / 6. 47.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
’/home/supergirl/public_html/uploads/avi/dseoFRQrJehleLDHPdcB.mp4’ :Metadata :
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf53.24.2Duration : 00:00:05.31, start : 0.000000, bitrate : 1589 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler[libvpx @ 0x21fd880] v1.2.0
[libvpx @ 0x21fd880] Failed to initialize encoder : ABI version mismatch
Output #0, webm, to ’/home/supergirl/public_html/uploads/dseoFRQrJehleLDHPdcB.webm’ :
Metadata :
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf53.24.2
Stream #0:0(und): Unknown: none, SAR 1:1 DAR 0:0 (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : VideoHandler
encoder : Lavc57.48.101 libvpx
Stream #0:1(und): Unknown: none (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
encoder : Lavc57.48.101 libvorbisStream mapping :
Stream #0:0 -> #0:0 (h264 (native) -> vp8 (libvpx))
Stream #0:1 -> #0:1 (aac (native) -> vorbis (libvorbis))
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
================
Any suggestions, please ?
-
FFMPEG - Concatenate 2 MP4 Files, one has video and audio and the other has only audio
5 août 2016, par AviI am trying to merge 2 mp4 files using FFMPEG. One of these files has both video and audio (
track1.mp4
), while the other one has only audio (track2.mp4
). The names of these files are listed in a text file called'filesToMerge.txt'
in the following manner :file 'track1.mp4'
file 'track2.mp4'I then execute the following ffmpeg command to merge them.
ffmpeg -f concat -i filesToMerge.txt -c copy output.mp4
However, the concatenated file that is generated consists of only the first file that is listed in
filesToMerge.txt
. That is, iftrack1.mp4
(which has both video and audio) is the first file in the list, then only that file makes up output.mp4 (the concatenated file produced) and vice versa.I would like for both files to be in
output.mp4
. I am using Ubuntu 14.04 (if that helps). How can I solve this problem ?When I run this command
ffmpeg -i track1.mp4 -i track2.mp4 output.mp4
I get the followingffmpeg version N-76944-g15206ff Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libdcadec --enable-libfreetype --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvo-aacenc --enable-libvidstab
libavutil 55. 9.100 / 55. 9.100
libavcodec 57. 16.101 / 57. 16.101
libavformat 57. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 17.100 / 6. 17.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'track1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:00:10.76, start: 0.023220, bitrate: 351 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 800x400 [SAR 400:533 DAR 800:533], 181 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 194 kb/s (default)
Metadata:
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'track2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
creation_time : 1970-01-01 00:00:00
encoder : Lavf52.32.0
Duration: 00:00:32.21, start: 0.000000, bitrate: 46 kb/s
Stream #1:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 43 kb/s (default)
Metadata:
creation_time : 1970-01-01 00:00:00
handler_name : SoundHandler
[libx264 @ 0x3950ce0] using SAR=400/533
[libx264 @ 0x3950ce0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
[libx264 @ 0x3950ce0] profile High, level 3.0
[libx264 @ 0x3950ce0] 264 - core 142 r2491 24e4fed - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.19.100
Stream #0:0(und): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 800x400 [SAR 400:533 DAR 800:533], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.16.101 libx264
Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc57.16.101 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
frame= 270 fps= 99 q=28.0 Lsize= 382kB time=00:00:10.72 bitrate= 291.9kbits/s dup=1 drop=0
video:230kB audio:143kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 2.482656%
[libx264 @ 0x3950ce0] frame I:2 Avg QP:18.87 size:109452
[libx264 @ 0x3950ce0] frame P:68 Avg QP:15.09 size: 171
[libx264 @ 0x3950ce0] frame B:200 Avg QP:23.33 size: 23
[libx264 @ 0x3950ce0] consecutive B-frames: 1.1% 0.0% 1.1% 97.8%
[libx264 @ 0x3950ce0] mb I I16..4: 11.0% 39.6% 49.5%
[libx264 @ 0x3950ce0] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 5.9% 0.1% 0.0% 0.0% 0.0% skip:93.9%
[libx264 @ 0x3950ce0] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.3% 0.0% 0.0% direct: 0.0% skip:99.7% L0:21.8% L1:78.2% BI: 0.0%
[libx264 @ 0x3950ce0] 8x8 transform intra:39.7% inter:92.8%
[libx264 @ 0x3950ce0] coded y,uvDC,uvAC intra: 92.0% 95.0% 73.2% inter: 0.1% 1.4% 0.0%
[libx264 @ 0x3950ce0] i16 v,h,dc,p: 1% 30% 4% 66%
[libx264 @ 0x3950ce0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 6% 55% 16% 2% 4% 2% 8% 2% 6%
[libx264 @ 0x3950ce0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 17% 18% 13% 7% 9% 7% 12% 6% 11%
[libx264 @ 0x3950ce0] i8c dc,h,v,p: 44% 35% 10% 11%
[libx264 @ 0x3950ce0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x3950ce0] ref P L0: 98.1% 0.2% 1.1% 0.5%
[libx264 @ 0x3950ce0] ref B L0: 85.1% 13.2% 1.7%
[libx264 @ 0x3950ce0] ref B L1: 93.6% 6.4%
[libx264 @ 0x3950ce0] kb/s:174.10