Recherche avancée

Médias (91)

Autres articles (60)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10782)

  • How to copy audio stream using FFMpeg API ( not a command line tool )

    12 août 2013, par Jindong Jung

    I'm developing some Video Editing Apps on Android.

    the objective of the app is "Editing Videos on Android".

    and...

    I'm just completed making video file using some images.
    but.. I can't attach audio into the video.

    my method is same as follows.

    1.VideoStream, audio stream creation using AVFormatContext

    2.Movie encoding in video stream was successful

    3.Encode codec open in audio stream was successful

    4.Set sample format to AV_SAMPLE_FMT_FLTP

    5.Sample rate and channel was set same as source audio

    6.Choose appropriate Decoder and read packet

    7.Convert packets using swr_converter, setting same as sample format

    8.Encode converted data

    9.memory deallocation

    10.END !


    Problem is here :

    Video of finally created video file was normally played. but the Audio wasn't.

    It heared like weird. It have many noises and plays slowly.

    I've googled with many keywords but they only say about "FFmpeg command line usage".

    I wanna make with FFMpeg API. not a Command line tool.

    Please help.

  • JSMpeg not able to get stream from RTSP

    20 octobre 2023, par Q.Rey

    i'm trying to get a RTSP stream inside a webpage, but with no success actually.

    



    For this I followed exactly the tutorial of JSMpeg : https://github.com/phoboslab/jsmpeg

    



    With a custom FFMPEG command :

    



    ffmpeg -i "rtsp://myurl/media.smp" \
 -vcodec h264 -f mpegts -codec:v mpeg1video -s 1290x980 -b:v 8000k \
 -r 25 -max_muxing_queue_size 9999 http://localhost:8081/supersecret


    



    My websocket well receive my connection on it.

    



    But my canvas is still a white square :
enter image description here

    



    The weird thing is when I change the websocket url with a false one, in my code, the canvas turn to black.

    



    So I guess that it turn WHITE when it receive something.

    



    Thansk for help

    


  • hsv ffmpeg video recorder in android

    13 mai 2015, par Marcel Adel

    i have a problem i used to record video using FFmpegFrameRecorder in android javacv but now i want to record hsv video format not rgb i used this function to convert from rgb to hsv :

    private opencv_core.IplImage hsv(opencv_core.IplImage orgImg) {
                       // 8-bit, 3- color =(RGB)
                       opencv_core.IplImage imgHSV = opencv_core.cvCreateImage(opencv_core.cvGetSize(orgImg), orgImg.depth(), orgImg.nChannels());
                       //Log.e(TAG,"hsvThreshold - Image size" + cvGetSize(orgImg));
                       opencv_imgproc.cvCvtColor(orgImg, imgHSV,opencv_imgproc.CV_BGR2HSV);

                       return imgHSV;
                   }

    what i need is the video codec and pixel format for recoding hsv videos
    what is used befor in rgb is :

    recorder = new FFmpegFrameRecorder(savedVideoPath,  minsize, minsize);
               recorder.setVideoCodec(avcodec.AV_CODEC_ID_MPEG4);
               recorder.setFormat("mp4");
               recorder.setPixelFormat(avutil.AV_PIX_FMT_YUV420P);
               recorder.setFrameRate(grabber.getFrameRate());
               recorder.setVideoBitrate(24 * minsize * minsize);
               recorder.start();

    becouse when i tried this with hsv images it gives me weird video colors.