Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (99)

  • 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 (12042)

  • Clion is configured with FFMPEG under MAC. Missing LC_ID_DYLIB load command file

    1er juin 2022, par QingGisHan
    cmake_minimum_required(VERSION 3.21)
project(DemoExample)

set(CMAKE_CXX_STANDARD 14)

include_directories(/Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/include)
link_directories(/Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/lib)

add_executable(DemoExample main.cpp)


target_link_libraries(
        DemoExample
        swscale swresample avcodec avutil avdevice avfilter avformat
)


    


    ====================[ Build | DemoExample | Debug ]=============================
/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/windy/devlop/code/CLionProjects/DemoExample/cmake-build-debug --target DemoExample
[1/1] Linking CXX executable DemoExample
FAILED: DemoExample 
: && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -mmacosx-version-min=10.15 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  CMakeFiles/DemoExample.dir/main.cpp.o -o DemoExample -L/Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/lib -Wl,-rpath,/Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/lib  -lswscale  -lswresample  -lavcodec  -lavutil  -lavdevice  -lavfilter  -lavformat && :
ld: dylib /Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/lib/libswscale.dylib missing LC_ID_DYLIB load command file '/Users/windy/devlop/ffmpeg/mac_ffmpeg_lib/lib/libswscale.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.


    


  • file concat mp4's using ffmpeg does not concat

    3 juillet 2019, par bozzmob

    I have 3 mp4’s in my input text file(a.txt).

    Contents of a.txt-

    file '/Users/path-to-file/1.mp4'
    file '/Users/path-to-file/2.mp4'
    file '/Users/path-to-file/3.mp4'

    The command I am executing (Referring to Docs and StackOverflow) -

    ffmpeg -safe 0  -f concat -i a.txt -c copy output.mp4

    The output.mp4 is created. When I play the video output.mp4, I see the video & audio of 1.mp4 playing. But, after it completes, I just hear the audio of 2.mp4 and 3.mp4. The video is stuck on the last frame of 1.mp4 during that time.

    Please can you tell me as to what I am missing ?


    Update :
    The video plays only in quick-view of quicktime player. The video crashes VLC when I try to open in VLC. I think this suggests the encoding is not right or something else is wrong in the above steps.

  • FFMPEG decode from RTP dump file into mp3 file

    5 février 2021, par pingvincible

    I'm trying to save RTP stream into mp3 file. I use this command :

    


    ffmpeg -loglevel debug -protocol_whitelist file -f rtp -i microphone.rtpdump -f mp3 microphone.mp3


    


    I get this result :

    


    user@pc:~/$ ffmpeg-amrnb -loglevel debug -protocol_whitelist file -f rtp -i microphone.rtpdump -f mp3 microphone.mp3
ffmpeg version N-100958-g4f3d8cb554 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04)
  configuration: --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-nonfree --enable-version3
  libavutil      56. 64.100 / 56. 64.100
  libavcodec     58.120.100 / 58.120.100
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7.102.100 /  7.102.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-protocol_whitelist' ... matched as AVOption 'protocol_whitelist' with argument 'file'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-i' ... matched as input url with argument 'microphone.rtpdump'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mp3'.
Reading option 'microphone.mp3' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url microphone.rtpdump.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an input file: microphone.rtpdump.
[rtp @ 0x556947200580] Unable to receive RTP payload type 97 without an SDP file describing it
microphone.rtpdump: Invalid data found when processing input


    


    It looks like that microphone.rtpdump file format is correct as ffmpeg can find RTP payload type 97. The problem is that I don't understand how to use SDP file in this situation.

    


    I have an SDP file for this payload type which I use, when I send data over network. It looks like this :

    


    v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.65.101
m=audio 1234 RTP/AVP 97
b=AS:12
a=rtpmap:97 AMR/8000/1
a=fmtp:97 octet-align=1


    


    And now I want to decode RTP stream from file, not by receiving it from network.

    


    How to adapt my SDP file to read RTP stream from file ?

    


    UPDATE : My rtpdump file is not a real rtpdump file format. It is just payloads from UDP packets written into file without any additional headers.