Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (97)

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (7645)

  • libswscale/x86/hscale_fast_bilinear_simd.c : There’s no need to save BX if it’s in...

    13 mai 2015, par Nick Lewycky
    libswscale/x86/hscale_fast_bilinear_simd.c : There’s no need to save BX if it’s in the clobber list.
    

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/x86/hscale_fast_bilinear_simd.c
  • Read and Save rtsp stream using FFMPEG using python with less memory size

    25 août 2022, par Vishak Raj

    I am trying to read a rtsp stream and save in a file, for that I am using the ffmpeg in python

    &#xA;

    import ffmpeg&#xA;&#xA;stream = ffmpeg.input(rtsp_link, t=10)&#xA;print(stream)&#xA;&#xA;file = stream.output("test.mp4")&#xA;testfile = file.run()#capture_stdout=True, capture_stderr=True&#xA;

    &#xA;

    but this save the video file in high space, for 10 second video, the file occupies around 3 Mb, how to reduce the file size

    &#xA;

    thanks

    &#xA;

  • How can I make ffmpeg output proper SDP data for a data stream

    8 juillet 2021, par Shalom Crown

    I have a program based on the FFMPEG libraries, to add KLV data to a video stream. When I try to sent the output to an RTSP server (rtsp-simple-server), I get a 400 response.

    &#xA;

    The apparent reason is that the SDP data for the KLV stream is missing the rtpmap.

    &#xA;

    I would like to add the missing data either by setting the proper parameters in the contexts, or by specifying the data explicitly.

    &#xA;

    This is the ANNOUNCE captured with Wireshark

    &#xA;

    ANNOUNCE rtsp://0.0.0.0:8554/test RTSP/1.0&#xA;Content-Type: application/sdp&#xA;CSeq: 2&#xA;User-Agent: Lavf58.29.100&#xA;Content-Length: 270&#xA;&#xA;v=0&#xA;o=- 0 0 IN IP4 127.0.0.1&#xA;s=No Name&#xA;c=IN IP4 127.0.0.1&#xA;t=0 0&#xA;a=tool:libavformat 58.29.100&#xA;m=video 0 RTP/AVP 96&#xA;b=AS:10000&#xA;a=rtpmap:96 H264/90000&#xA;a=fmtp:96 packetization-mode=1&#xA;a=control:streamid=0&#xA;m=application 0 RTP/AVP 97&#xA;b=AS:90&#xA;a=control:streamid=1&#xA;

    &#xA;

    Code fragment for initializing the data stream :

    &#xA;

    AVStream* data_track = avformat_new_stream(muxer, nullptr);&#xA;&#xA;if (data_track == nullptr) {&#xA;    LOG_ERROR &lt;&lt; "failed to open data output stream";&#xA;    return nullptr;&#xA;}&#xA;&#xA;muxer->oformat->video_codec = AV_CODEC_ID_H264;&#xA;&#xA;AVCodec *klvEncoder = avcodec_find_encoder(AV_CODEC_ID_SMPTE_KLV);&#xA;&#xA;if (klvEncoder == nullptr) {&#xA;    klvEncoder = avcodec_find_encoder(AV_CODEC_ID_BIN_DATA);&#xA;}&#xA;&#xA;if (klvEncoder == nullptr) {&#xA;    klvEncoder = avcodec_find_encoder(AV_CODEC_ID_TEXT);&#xA;}&#xA;&#xA;if (klvEncoder != nullptr) {&#xA;    klvEncoderContext = avcodec_alloc_context3(encoder);&#xA;&#xA;    avcodec_parameters_from_context(data_track->codecpar, encoderContext);&#xA;} else {&#xA;    avcodec_parameters_copy(data_track->codecpar, pVideoStream->codecpar);&#xA;}&#xA;&#xA;data_track->codecpar->codec_tag =  KLV_ID_TAG;&#xA;data_track->codecpar->codec_type = AVMEDIA_TYPE_DATA;&#xA;data_track->codecpar->codec_id = AV_CODEC_ID_SMPTE_KLV;&#xA;data_track->codecpar->bit_rate = 90000;&#xA;data_track->codecpar->format =  AV_SAMPLE_FMT_U8;&#xA;data_track->stream_identifier = KLV_ID_TAG;&#xA;data_track->id = 0x101;&#xA;data_track->time_base = video_track->time_base;&#xA;data_track->avg_frame_rate = video_track->time_base;&#xA;

    &#xA;