
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14984)
-
How to copy audio stream using FFMpeg API ( not a command line tool )
12 août 2013, par Jindong JungI'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.Reyi'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 :




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