
Recherche avancée
Médias (3)
-
Valkaama DVD Cover Outside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Valkaama DVD Cover Inside
4 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
Autres articles (106)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (12864)
-
Play H.264 camera streams using OpenCV
26 octobre 2018, par peter benceHow to play
H.264
camera streams usingOpenCV
? I was searching for a while but i didn’t find an answer. I thinkOpenCV
can encode and decodeh.264
videos since it usesffmpeg
and it is the documentation of the classVideoWriter
ensures that as shown in this example :#include <iostream> // for standard I/O
#include <string> // for strings
#include <opencv2></opencv2>core/core.hpp> // Basic OpenCV structures (cv::Mat)
#include <opencv2></opencv2>highgui/highgui.hpp> // Video write
using namespace std;
using namespace cv;
int main()
{
VideoWriter outputVideo; // For writing the video
int width = ...; // Declare width here
int height = ...; // Declare height here
Size S = Size(width, height); // Declare Size structure
// Open up the video for writing
const string filename = ...; // Declare name of file here
// Declare FourCC code
int fourcc = CV_FOURCC('H','2','6','4');
// Declare FPS here
int fps = ...;
outputVideo.open(filename, fourcc, fps, S);
// Put your processing code here
// ...
// Logic to write frames here... see below for more details
// ...
return 0;
}
</string></iostream>So can
OpenCV
encode-decodeh.264
stream as well ? if yes, please let me know how. thanks !! -
Cannot play compressed video
23 mai 2017, par RaresI am trying to compress a video from gallery.
Steps :1)I open gallery.
2)Pick a video and get it’s path
3)Create new path for the output video
4)Compress the video using FFmpeg( the video is saved automatically)
Can you tell me why I can’t open the compressed video in my phone ? For example I run the code below and when I go in my phone to open the created file I get an error :
Cannot play video. Unsupported file type.
Here is an example : http://imgur.com/a/ePHzqI am compressing videos with size between 50-300MB.
String filePath = getRealPathFromURI(getApplicationContext(), data.getData());
///get the name of file without extension
StringBuilder stringBuilder = new StringBuilder(filePath);
int start = filePath.lastIndexOf('.');
stringBuilder.delete(start, filePath.length());
//--------------
//get file extension(e.g mp4)
File file = new File(filePath);
String contentType = getFileType(file.getAbsolutePath());
//--------------
//create compressed file path=initial file path+ _compressed+(random nr.)+ extension .mp4
Random random = new Random();
int fileNr = random.nextInt(999);
String compressedFilePath = stringBuilder.toString() + "_compressed" + fileNr +"."+ contentType;
//compress file from gallery and save it with the above name
String[] command = {"-y", "-i", filePath, "-s", "640x480", "-r", "25", "-vcodec",
"mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", compressedFilePath};
executeFFmpegBinary(command); -
OpenCV CUDA VideoReader RTSP video play UNSUPPORTED Format Issue
17 octobre 2018, par oktykrkI am trying to play an rtsp stream with OpenCV 3.4 built with CUDA 9.1 in C++. I have enabled FFMPEG flag while building OpenCV, however getting OpenCV error like :
OpenCV Error: Unsupported format or combination of formats (Unsupported video source) in cv::cudacodec::detail::FFmpegVideoSource::FFmpegVideoSource, file C:\opencv-3.4.0\modules\cudacodec\src\ffmpeg_video_source.cpp, line 110
here is the code :
const cv::String fname = "rtsp://admin:admin@192.168.2.46/media/video1";
cv::namedWindow("GPU", cv::WINDOW_NORMAL);
cv::cuda::GpuMat d_frame;
cv::Ptr d_reader = cv::cudacodec::createVideoReader(fname);
for (;;)
{
if (!d_reader->nextFrame(d_frame))
break;
cv::Mat frame;
d_frame.download(frame);
cv::imshow("GPU", frame);
if (cv::waitKey(3) > 0)
break;
}I can play the video with the same source with CPU but getting this error with
cudacodec
interfacecreateVideoReader
function.Getting the error below when debug.
Can anybody help with this. Thank you all.