Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (36)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (5836)

  • avformat/dump : Print stream start offsets for input streams

    23 février 2019, par softworkz
    avformat/dump : Print stream start offsets for input streams
    

    Seeing the offset of video and audio streams to each other is often
    a useful metric in diagnosing and understanding issues with playback
    or transcoding.
    This commit adds those offsets to the stream info print.

    Signed-off-by : softworkz <softworkz@hotmail.com>

    • [DH] libavformat/dump.c
  • Start Android Java VM from native C code NDK (ffmpeg mediacodec use)

    19 avril 2021, par eusoubrasileiro

    I managed to cross-compile ffmpeg using the NDK for armv8a api 27 with MediaCodec hardware acceleration support.

    &#xA;

    Using root after setting permissions, folders and setting properly LD_LIBRARY_PATH etc. I can run it without problems on a terminal session (ssh). Only if I don't try to use the -hwaccel option.

    &#xA;

    If try to run something using -hwaccel, like :

    &#xA;

    ffmpeg -rtsp_transport tcp -an -hwaccel mediacodec -c:v hevc_mediacodec -i rtsp://user:pass@192.168.0.100:554/onvif1 -f null - -benchmark&#xA;

    &#xA;

    I get the error bellow about No Java virtual machine.

    &#xA;

    ...&#xA;Input #0, rtsp, from &#x27;rtsp://user:pass@192.168.0.100:554/onvif1&#x27;:&#xA;  Metadata:&#xA;    title           : H.265 Video, RtspServer_0.0.0.2&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: hevc (Main), yuv420p(tv, bt470bg), 1920x1080 [SAR 1:1 DAR 16:9], 10 fps, 10 tbr, 90k tbn, 10 tbc&#xA;    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s&#xA;[amediaformat @ 0x7e2ea27300] No Java virtual machine has been registered&#xA;[hevc_mediacodec @ 0x7e2eb44f00] Failed to create media format&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (hevc (hevc_mediacodec) -> wrapped_avframe (native))&#xA;Error while opening decoder for input stream #0:0 : Generic error in an external library&#xA;

    &#xA;

    Would it be possible to start (create or launch ?) the Dalvik Java VM directly from the C code ? I don't even know if those are correct terms. Make it visible for ffmpeg ?

    &#xA;

    Any information that will help a Android Newbie get on his feet will be greatly appreciated. If that is possible I would write a little patch on the ffmpeg code.

    &#xA;

    I really would not like to package this in an app only to be able to test around with this.

    &#xA;

  • ffmpeg : How to keep audio synced when doing many (100) cuts with filter select='between(t,start,stop)+between...'

    4 février 2021, par Louis

    I am cutting out silent parts of a 45 minute video (a lecture).&#xA;To do this, I use a filter to select, say one hundred, non-silent parts (I already know their start and end times).

    &#xA;

    ffmpeg -i in.mp4&#xA;-vf "select=&#x27;between(t,start_1,stop_1)&#x2B;...&#x2B;between(t,start_100,stop_100)&#x27;, setpts=N/FRAME_RATE/TB"&#xA;-af "aselect=&#x27;between(t,start_1,stop_1)&#x2B;...&#x2B;between(t,start_100,stop_100)&#x27;, asetpts=N/SR/TB"&#xA;-c:a aac -c:v libx264 out.mp4&#xA;

    &#xA;

    It works, but at the end of the video the images are delayed relative to the audio.&#xA;After reading this answer I also added

    &#xA;

    -shortest -avoid_negative_ts make_zero -fflags &#x2B;genpts&#xA;

    &#xA;

    at the end of the command. It didn't help.

    &#xA;

    As audio and video are concatenated independently I'm not surprised that tiny time errors due to finite frame rate add up.

    &#xA;

    Is there a solution that doesn't involve saving every non-silent part as a file ?

    &#xA;