Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (87)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (4019)

  • 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.

    


  • 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.