
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (48)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (9553)
-
vp9/x86 : 4x4 iadst SIMD (ssse3) variants.
20 janvier 2014, par Ronald S. Bultjevp9/x86 : 4x4 iadst SIMD (ssse3) variants.
Cycle measurements for intra itxfm_4x4_add on ped1080p.webm :
idct_idct : 66 -> 67 cycles (noise measurement)
idct_iadst : 199 -> 79 cycles
iadst_idct : 165 -> 70 cycles
iadst_iadst : 183 -> 82 cycles -
Video Conferencing in HTML5 : WebRTC via Web Sockets
1er janvier 2014, par silviaA bit over a week ago I gave a presentation at Web Directions Code 2012 in Melbourne. Maxine and John asked me to speak about something related to HTML5 video, so I went for the new shiny : WebRTC – real-time communication in the browser.
I only had 20 min, so I had to make it tight. I wanted to show off video conferencing without special plugins in Google Chrome in just a few lines of code, as is the promise of WebRTC. To a large extent, I achieved this. But I made some interesting discoveries along the way. Demos are in the slide deck.
UPDATE : Opera 12 has been released with WebRTC support.
Housekeeping : if you want to replicate what I have done, you need to install a Google Chrome Web Browser 19+. Then make sure you go to chrome ://flags and activate the MediaStream and PeerConnection experiment(s). Restart your browser and now you can experiment with this feature. Big warning up-front : it’s not production-ready, since there are still changes happening to the spec and there is no compatible implementation by another browser yet.
Here is a brief summary of the steps involved to set up video conferencing in your browser :
- Set up a video element each for the local and the remote video stream.
- Grab the local camera and stream it to the first video element.
- (*) Establish a connection to another person running the same Web page.
- Send the local camera stream on that peer connection.
- Accept the remote camera stream into the second video element.
Now, the most difficult part of all of this – believe it or not – is the signalling part that is required to build the peer connection (marked with (*)). Initially I wanted to run completely without a server and just enter the remote’s IP address to establish the connection. This is, however, not a functionality that the PeerConnection object provides [might this be something to add to the spec ?].
So, you need a server known to both parties that can provide for the handshake to set up the connection. All the examples that I have seen, such as https://apprtc.appspot.com/, use a channel management server on Google’s appengine. I wanted it all working with HTML5 technology, so I decided to use a Web Socket server instead.
I implemented my Web Socket server using node.js (code of websocket server). The video conferencing demo is in the slide deck in an iframe – you can also use the stand-alone html page. Works like a treat.
While it is still using Google’s STUN server to get through NAT, the messaging for setting up the connection is running completely through the Web Socket server. The messages that get exchanged are plain SDP message packets with a session ID. There are OFFER, ANSWER, and OK packets exchanged for each streaming direction. You can see some of it in the below image :
I’m not running a public WebSocket server, so you won’t be able to see this part of the presentation working. But the local loopback video should work.
At the conference, it all went without a hitch (while the wireless played along). I believe you have to host the WebSocket server on the same machine as the Web page, otherwise it won’t work for security reasons.
A whole new world of opportunities lies out there when we get the ability to set up video conferencing on every Web page – scary and exciting at the same time !
-
FFmpeg android images to movie - error while opening encoder [duplicate]
12 juin 2018, par trinadh thatakulaThis question already has an answer here :
I have been working on android-ffmpeg to convert images into videos and I have found the code I was looking(links below) and I have tried to execute this command
val cmd5 = arrayOf("-analyzeduration", "1M", "-probesize", "1M", "-y", "-framerate", "1/3.79", "-i", Utils.outputPath + "image%d.jpg", "-i", audio!!.path, "-c:v", "libx264", "-tune", "stillimage", "-c:a", "aac", "-strict", "experimental", "-b:a", "192k", "-pix_fmt", "yuv420p", "-shortest", outputLocation.path)
and I got error saying
Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
can any1 please help me
I have taken code from here -> KotlinFFmpeg and the code snippet is from here -> MovieMaker.kt, please give me a solution, thanks in advance
here are the logs
2018-06-12 18:22:24.000 25364-25664/photo.video.maker D/FFmpeg: Running publishing updates method
2018-06-12 18:22:24.096 25364-25364/photo.video.maker W/System.err: java.io.IOException: ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: built with gcc 4.8 (GCC)
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libavutil 55. 17.103 / 55. 17.103
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libavcodec 57. 24.102 / 57. 24.102
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libavformat 57. 25.100 / 57. 25.100
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libavdevice 57. 0.101 / 57. 0.101
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libavfilter 6. 31.100 / 6. 31.100
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libswscale 4. 0.100 / 4. 0.100
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libswresample 2. 0.101 / 2. 0.101
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: libpostproc 54. 0.100 / 54. 0.100
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mjpeg @ 0xf193d000] Changing bps to 8
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Input #0, image2, from '/storage/emulated/0/Photo Video Maker/image%d.jpg':
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Duration: 00:02:35.39, start: 0.000000, bitrate: N/A
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 1440x1919 [SAR 1:1 DAR 1440:1919], 0.26 tbr, 0.26 tbn, 0.26 tbc
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mp3 @ 0xf192d600] Skipping 0 bytes of junk at 61264.
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [mjpeg @ 0xf193dc00] Changing bps to 8
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Input #1, mp3, from '/data/user/0/photo.video.maker/files/audio2.mp3':
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Metadata:
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: album_artist : Various Artists
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: AccurateRipDiscID: 018-002fb7fe-0279b2d7-47111512-2
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: AccurateRipResult: AccurateRip: Accurate (confidence 10) [0A38F342]
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: title : Morning
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: encoded_by : dBpoweramp Release 14.4
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: publisher : EMI Classics
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: composer : Edvard Grieg
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: TMED : CD (Lossless)
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: genre : Classical
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: compilation : 1
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: album : The Most Relaxing Classical Album in the World...Ever!
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: track : 2/18
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: disc : 1/2
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: artist : Edvard Grieg
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Encoder : Lame 3.99.5
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: UPC : 024356665027
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: date : 1999
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Duration: 00:04:18.04, start: 0.025056, bitrate: 321 kb/s
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Stream #1:0: Audio: mp3, 44100 Hz, stereo, s16p, 320 kb/s
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Metadata:
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: encoder : LAME3.99r
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Stream #1:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 747x750 [SAR 1:1 DAR 249:250], 90k tbr, 90k tbn, 90k tbc
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Metadata:
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: comment : Cover (front)
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [swscaler @ 0xf1125000] deprecated pixel format used, make sure you did set range correctly
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: [libx264 @ 0xf193ec00] height not divisible by 2 (1440x1919)
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Output #0, mp4, to '/storage/emulated/0/Photo Video Maker/video/movie_1528807939616.mp4':
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Stream #0:0: Video: h264, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 0.26 fps
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Metadata:
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: encoder : Lavc57.24.102 libx264
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Stream #0:1: Audio: aac, 0 channels, 128 kb/s
2018-06-12 18:22:24.097 25364-25364/photo.video.maker W/System.err: Metadata:
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: encoder : Lavc57.24.102 aac
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Stream mapping:
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Stream #1:0 -> #0:1 (mp3 (native) -> aac (native))
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at photo.video.maker.tools.video.MovieMaker$convert$1.onFailure(MovieMaker.kt:78)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.onPostExecute(FFmpegExecuteAsyncTask.java:70)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.onPostExecute(FFmpegExecuteAsyncTask.java:10)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.os.AsyncTask.finish(AsyncTask.java:695)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.os.AsyncTask.-wrap1(Unknown Source:0)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:712)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.os.Looper.loop(Looper.java:164)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6494)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
2018-06-12 18:22:24.098 25364-25364/photo.video.maker W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)