Recherche avancée

Médias (91)

Autres articles (111)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP 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 (10397)

  • gstreamer android error : engine.GetInterface(IODeviceCapabilities) failed(0x0000000c)

    19 juin 2015, par omerjerk

    I’m trying to stream mpegts file on an Android device. This is the file.

    I’ve setup everything as done in the tutorial 5 of gstreamer android.
    But I’m getting the following error -

    06-18 23:56:49.023  27051-27132/kuchbhilabs.chestream D/GStreamer+tutorial-4﹕ 0:00:03.720735780 0xac093980 src/main/jni/main.c:104:set_ui_message Setting message to: Buffering 66%
    06-18 23:56:49.023  27051-27132/kuchbhilabs.chestream D/GStreamerPlayer﹕ Buffering 66%
    06-18 23:56:49.551  27051-27350/kuchbhilabs.chestream W/GStreamer+mpegtsbase﹕ 0:00:04.248340259 0xaec6d6f0 mpegtsbase.c:1379:query_upstream_latency:<tsdemux0> Failed to query upstream latency
    06-18 23:56:49.555  27051-27350/kuchbhilabs.chestream W/GStreamer+mpegtsbase﹕ 0:00:04.252435571 0xaec6d6f0 mpegtsbase.c:531:mpegts_base_program_add_stream Stream already present !
    06-18 23:56:49.762  27051-27351/kuchbhilabs.chestream W/libOpenSLES﹕ Leaving Object::GetInterface (SL_RESULT_FEATURE_UNSUPPORTED)
    06-18 23:56:49.762  27051-27351/kuchbhilabs.chestream E/GStreamer+opensles_sink﹕ 0:00:04.459898644 0xaec6e400 openslessink.c:152:_opensles_query_capabilities:&lt;gstopenslessink@0xac3d8408&gt; engine.GetInterface(IODeviceCapabilities) failed(0x0000000c)
    06-18 23:56:49.763  27051-27351/kuchbhilabs.chestream W/libOpenSLES﹕ Leaving OutputMix::GetDestinationOutputDeviceIDs (SL_RESULT_BUFFER_INSUFFICIENT)
    06-18 23:56:49.810  27051-27351/kuchbhilabs.chestream E/GStreamer+ffmpeg﹕ 0:00:04.507782029 0xaec6e400 :0: channel element 0.0 is not allocated
    06-18 23:56:49.810  27051-27351/kuchbhilabs.chestream W/GStreamer+ffmpeg﹕ 0:00:04.507919477 0xaec6e400 gstffmpegdec.c:2231:gst_ffmpegdec_audio_frame: error: Decoding of AAC stream by FFMPEG failed.
    06-18 23:56:49.811  27051-27351/kuchbhilabs.chestream W/GStreamer+ffmpeg﹕ 0:00:04.508238122 0xaec6e400 gstffmpegdec.c:2315:gst_ffmpegdec_frame: ffdec_aac: decoding error (len: -1, have_data: 0)
    06-18 23:56:49.811  27051-27132/kuchbhilabs.chestream D/GStreamer+tutorial-4﹕ 0:00:04.508278070 0xac093980 src/main/jni/main.c:104:set_ui_message Setting message to: Error received from element ffdec_aac0: Could not decode stream.
    06-18 23:56:49.811  27051-27132/kuchbhilabs.chestream D/GStreamerPlayer﹕ Error received from element ffdec_aac0: Could not decode stream.
    06-18 23:56:49.878  27051-27352/kuchbhilabs.chestream W/GStreamer+ffmpeg﹕ 0:00:04.575771665 0xaec6e460 gstffmpegdec.c:2315:gst_ffmpegdec_frame: ffdec_h264: decoding error (len: -1, have_data: 0)
    </tsdemux0>

    This is my Android.mk file :

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    LOCAL_MODULE    := chestream
    LOCAL_SRC_FILES := main.c
    LOCAL_SHARED_LIBRARIES := gstreamer_android
    LOCAL_LDLIBS := -llog -landroid
    include $(BUILD_SHARED_LIBRARY)

    ifndef GSTREAMER_SDK_ROOT
    ifndef GSTREAMER_SDK_ROOT_ANDROID
    $(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
    endif
    GSTREAMER_SDK_ROOT        := $(GSTREAMER_SDK_ROOT_ANDROID)
    endif
    GSTREAMER_NDK_BUILD_PATH  := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
    include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
    GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)\
    mpeg2dec mpegdemux2 mpegtsdemux mpegtsmux ffmpeg
    GSTREAMER_EXTRA_DEPS      := gstreamer-interfaces-0.10 gstreamer-video-0.10
    include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk

    The error is probably that gstreamer is not able to decode AAC file.
    Any help would be appreciated.

  • ffmpeg - Audio not playing on iOS with transcoded video

    23 juin 2015, par Dev

    I am using Laravel 4.2.

    I am working on a project that provides video services. To transcode video (to play on all devices) I’ve used git-hub package php ffmpeg.

    By transcoding video, I found it is NOT working with iPhone 5s. I searched for solution and found some changes in parameters passed to the library.

    Finally, I come up with the command below that the library uses to transcode the video.

    ffmpeg -y -i video.mp4 -async 1 -metadata:s:v:0 start_time=0 -s 560x320
       -vcodec libx264 -strict experimental -pix_fmt yuv420p -profile:v baseline
       -acodec aac -profile:a aac_low -b:v 466k -refs 6 -coder 1 -sc_threshold 40
       -flags +loop -me_range 16 -subq 7 -i_qfactor 0.71 -qcomp 0.6 -qdiff 4
       -trellis 1 -b:a 256k -ac 2 transcode_video.mp4

    The video is playing well but the audio is NOT working on iOS. Hence the video is playing without audio. I am using HTML 5 player to play the video and auto play option is off.

    Any suggestions ?

  • iOS Libavcodec - Trim and convert a video

    14 juillet 2015, par AnujAroshA

    In my iOS project, I am trying to take an .mp4 video file, cut out a small clip in the middle of the file, and convert the output to .mov file. I am using libavcodec to do this.

    I built the FFmpeg libraries for iOS using this script and added to my project.

    The code I am using to trim and convert the video file is this.

    The issues with final output of the file are :

    1. When I copy the output from the iPhone to my mac, the video meta data for duration and video dimensions are blank. If I do the same for the original, I get the video length and dimensions correctly. I must not be creating the video meta data on the new video correctly.

    2. The frame rate on the outputted video appears to be wrong. I expect to see e.g. 250 frames over 10 seconds (25fps), but instead I see 250 frames over 4 seconds, then only the last frame for the remaining 6 seconds.

    3. The code should seek to 100s in the video before starting trimming. Instead, the code appears to crop the video starting at the beginning.