Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (59)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (7563)

  • getting black screen while trying to record dockerized lxde using ffmpeg

    16 mars 2023, par Itzik.B

    I have created a docker image that has LXDE and TightVNCServer.

    


    # Pull base image.
FROM ubuntu

# Install LXDE and VNC server.
RUN apt-get update
RUN apt-get install -y xvfb
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y lxde-core lxterminal tightvncserver
RUN rm -rf /var/lib/apt/lists/*
RUN touch /root/.Xresources
RUN touch /root/.Xauthority
COPY xstartup /root/.vnc/xstartup
RUN chmod +x /root/.vnc/xstartup
#Install Node.js & npm

# Define working directory.
WORKDIR /data

COPY * /data

RUN apt-get install -y ffmpeg


    


    I am running this container using this command :

    


    docker run -it --rm -v /data:/data -p 5901:5901 -e USER=root ubuntudsktp  bash -c "vncserver :1 -geometry 1280x800 -depth 24 && tail -F /root/.vnc/*.log"

    


    I am logging into this container using VNC and running this command to record the whole screen :

    


    ffmpeg -f x11grab -i :1.0 output.webm

    


    After the recording was over, I opened the video and I could see that the video is completely blank(black screen).

    


    I know there is a "screen" that I need to tell ffmpeg to record but its works only on -i :1.0.

    


    I have also tried to run it using :

    


    DISPLAY=:1 ffmpeg -f x11grab -i :1.0 output.webm
And the results are the same.

    


    What I am missing here ?

    


  • How to concat videos from a file list while adding black fade transitions in ffmpeg

    6 avril 2022, par connor449

    I have a piece of code that concats videos from a file list. It works perfectly.

    


    ffmpeg -f concat -safe 0 -i file_list.txt -c copy mergedVideo.avi


    


    However, I want to add a black fade transition between each video. I found this code snippet that apparently does this, but it requires you to input each file by hand.

    


    ffmpeg -i in.mp4 -i main.mp4 -i out.mp4 -filter_complex \
  "[0:v]fade=type=out:duration=2:start_time=28,setpts=PTS-STARTPTS[v0]; \
   [1:v]fade=type=in:duration=2,fade=type=out:duration=2:start_time=28,setpts=PTS-STARTPTS[v1]; \
   [2:v]fade=type=in:duration=2,setpts=PTS-STARTPTS[v2]; \
   [v0][0:a][v1][1:a][v2][2:a]concat=n=3:v=1:a=1[v][a]" \
  -map "[v]" -map "[a]" output.mp4


    


    I want to be able to read all the video files from a txt file as I have hundreds of videos. How do I combine these two snippets, or is there a better way to accomplish the concat with fade transitions ?

    


  • Got black screen when recording screen by x11grab device

    5 août 2019, par shawmzhu

    I’m trying to record video from a firefox run by xvfb-run but it always output nothing in the video file except black screen.

    Here’s what I did :

    start a firefox, open google.com :

    $ xvfb-run firefox https://google.com

    Then it will use the default display server number 99. I can see the display information by command xdpyinfo -display :99.

    A screenshot works very well by command :

    $ xwd -root -silent -display :99.0 | xwdtopnm |pnmtojpeg > screen.jpg

    Start using ffmpeg to record a video :

    $ ffmpeg -f x11grab -i :99.0 out.mpg

    When I play the video file out.mpg, there’s black screen all the time.

    Is there any parameter I missed ?