Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (66)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (6466)

  • Insert Video Clip in another Video using ffmpeg

    22 avril 2014, par ZafarYousafi

    I want to insert a video clip in another video at specified position (after n seconds). I am thinking to slice the main video first and then concatenate the pieces again. But this solution is not looking promising to me as what if I have to insert the video clips at multiple locations in the main video ? Is there any better way of doing this in ffmpeg ?
    thanks

  • FFMPEG convert RTSP to RTMP overlay pipeline

    5 juillet 2021, par Helpme-villain

    I have ffmpeg command that I want to convert RTSP to RTMP broadcast.
Before the broadcast, I want to overlay the frame with an image.

    


    So, here is my pipeline :

    


      

    1. read stream from RTSP
    2. 


    3. overlay an image
    4. 


    5. broadcast RTMP (Youtube)
    6. 


    


    I tried some command, but I met the error message :

    


      

    • Here is my command
    • 


    


    The reason why I used anullsrc is because the RTMP server must input an audio stream, but my video stream has no audio

    


    ffmpeg -i image.jpg -i /server> -filter_complex "[1:v][0:v]overlay"  -f lavfi -i anullsrc -rtsp_transport udp -t 12:00:00 -pix_fmt + -tune zerolatency -sstrict expreimental -f flv / server>


    


      

    • Error Message
    • 


    


    [rtsp @ 0000021890521700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
The filters 'graph 0 input from stream 0:0' and 'Parsed_overlay_0' do not have a common format and automatic conversion is disabled.
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


    


      

    • all the message
    • 


    


    Input #0, image2, from 'image.jpg':
  Duration: 00:00:00.04, start: 0.000000, bitrate: 1763 kb/s
  Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 225x225 [SAR 1:1 DAR 1:1], 25 fps, 25 tbr, 25 tbn
Input #1, rtsp, from 'rtsp://~~~~~~~~~~~~~~~':
  Metadata:
    title           : RTMP Server 
    comment         : RTMP Server Session Description : standard
  Duration: N/A, start: 0.034000, bitrate: N/A
  Stream #1:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080, 30 tbr, 90k tbn
Input #2, lavfi, from 'anullsrc':
  Duration: N/A, start: 0.000000, bitrate: 705 kb/s
  Stream #2:0: Audio: pcm_u8, 44100 Hz, stereo, u8, 705 kb/s
Codec AVOption tune (The metric that the encoder tunes for. Automatically chosen by the encoder by default) specified for output file #0 (rtmp://a.rtmp.youtube.com/live2/~~~~~~~~~~~~~~~) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.
Stream mapping:
  Stream #0:0 (mjpeg) -> overlay:overlay (graph 0)
  Stream #1:0 (h264) -> overlay:main (graph 0)
  overlay (graph 0) -> Stream #0:0 (flv)
  Stream #2:0 -> #0:1 (pcm_u8 (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
[rtsp @ 0000021890521700] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
The filters 'graph 0 input from stream 0:0' and 'Parsed_overlay_0' do not have a common format and automatic conversion is disabled.
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!


    


    Thanks.

    


  • ffmpeg have unmet dependencies (Ubuntu20) [closed]

    10 août 2024, par mojiang

    when installing ffmpeg with ubuntu20(fosal), it have conflict dependencies :

    


    # sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ffmpeg : Depends: libavdevice58 (= 7:4.2.7-0ubuntu0.1) but it is not going to be installed
          Depends: libavfilter7 (= 7:4.2.7-0ubuntu0.1)
          Depends: libavformat58 (= 7:4.2.7-0ubuntu0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


    


    I solved it by install the reason of conflit library with a specific version, may be someone will need the solution.

    


    step 1. fix-broken

    


    sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done


    


    step2. find the reason of unmet dependencies :

    


    # sudo apt install libavdevice58=7:4.2.7-0ubuntu0.1 libavfilter7=7:4.2.7-0ubuntu0.1 libavformat58=7:4.2.7-0ubuntu0.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavformat58 : Depends: libchromaprint1 (>= 1.3.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


    


    Here the problem is from libchromaprint1

    


    step3. find candidate versions of libchromaprint1(conflict reason)

    


    # apt-cache policy libchromaprint1
libchromaprint1:
  Installed: (none)
  Candidate: 1.5.1-1~20.04.sav0
  Version table:
     1.5.1-1~20.04.sav0 500
        500 http://ppa.launchpad.net/savoury1/multimedia/ubuntu focal/main amd64 Packages
     1.4.3-3build1 500
        500 http://mirrors.cloud.aliyuncs.com/ubuntu focal/universe amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages


    


    step4. install the old version of libchromaprint1 to solve the conflicts

    


    # sudo apt install libchromaprint1=1.4.3-3build1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libchromaprint1
0 upgraded, 1 newly installed, 0 to remove and 223 not upgraded.
Need to get 37.6 kB of archives.


    


    step5. reinstall ffmpeg

    


    # sudo apt install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done


    


    Done. the reason of conflict is that the latest version of libraries have conflict, by install old version of the conflicted ones to solve it.