
Recherche avancée
Médias (91)
-
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
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (41)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7755)
-
"Could not demultiplex stream" in loading Video recorded by Opencv's VideoWriter
21 novembre 2020, par batumanMy program is



int main(){
 cout << "Start the process" << endl;
 cv::VideoCapture vcap("rtsp://root:pass@192.168.0.90/axis-media/media.amp?camera=1");
 cout << "Camera connection done!" << endl;
 cv::Mat image, small;
 //Output video
 cv::Size S = cv::Size((int) vcap.get(CV_CAP_PROP_FRAME_WIDTH), (int) vcap.get(CV_CAP_PROP_FRAME_HEIGHT));
 int ex = static_cast<int>(vcap.get(CV_CAP_PROP_FOURCC));
 int fps = vcap.get(CV_CAP_PROP_FPS);
 cout << "fps " << fps << " ex " << ex << endl;
 cv::VideoWriter outputVideo;
 outputVideo.open("TEST.avi", ex/*CV_FOURCC('X', '2', '6', '4')*/, vcap.get(CV_CAP_PROP_FPS), S, true);
 if(!outputVideo.isOpened()){
 cout << "Could not open the output video for write" << endl;
 return -1;
 }

 for(;;){
 if(!vcap.read(image)){
 std::cout << "No frame" << std::endl;
 cv::waitKey(0);
 }

 cv::resize(image, small, image.size()/2, 0, 0 , cv::INTER_LINEAR);
 cv::imshow("Display", small);
 cv::waitKey(1);
 outputVideo.write(small);
 if(getkey() == '\n')
 break;
 }
 cout << "Camera release" << endl;
 outputVideo.release();
 vcap.release();
 image.release();
 small.release();
 return 0;
}
</int>



int ex = static_cast<int>(vcap.get(CV_CAP_PROP_FOURCC));</int>
ex is 0 here.


I can record the TEST.avi, but can't be read by cv::VideoCapture vcap("TEST.avi") ; or VLC player or Videos in Ubuntu.
The error is
"Could not demultiplex stream"
.


If I changed to



outputVideo.open("TEST.avi", CV_FOURCC('X', '2', '6', '4'), vcap.get(CV_CAP_PROP_FPS), S, true);
outputVideo.open("TEST.avi", CV_FOURCC('P','I','M','1'), vcap.get(CV_CAP_PROP_FPS), S, true);
outputVideo.open("TEST.avi", CV_FOURCC('M', 'P', '4', '2'), vcap.get(CV_CAP_PROP_FPS), S, true);
etc.




all have same problem.



If I set



outputVideo.open("TEST.avi", CV_FOURCC('i', 'Y', 'U', 'V'), vcap.get(CV_CAP_PROP_FPS), S, true);




I have error as
Opencv: FFMPEG iYUV is not supported with codec id 14



For



outputVideo.open("TEST.avi", CV_FOURCC('M', 'J', 'P', 'G'), vcap.get(CV_CAP_PROP_FPS), S, true);


OpenCV Error: Assertion failed (img.cols == width && img.rows == height && chann
els == 3) in write, file /home/Softwares/opencv/opencv/modules/videoio/src/
cap_mjpeg_encoder.cpp, line 829
terminate called after throwing an instance of 'cv::Exception'
 what(): /home/Softwares/opencv/opencv/modules/videoio/src/cap_mjpeg_enco
der.cpp:829: error: (-215) img.cols == width && img.rows == height && channels =
= 3 in function write




What could be wrong ? Is that my FFMPEG has problem ?


-
audio/mp4 ; codecs="mp4a.40.2" not playing in Chrome and Firefox
19 octobre 2020, par Stefan FalkIt seems I want to convert audios, which I want to stream on my website, to
audio/mp4; codecs="mp4a.40.2"
.

Using
ffmpeg-cli-wrapper
, I am converting my uploaded audio files with this command here :

ffmpeg -i /tmp/input.any -acodec aac -b:a 256000 /tmp/output.aac



On the client I am creating a SourceBuffer like this :


this.sourceBuffer = this.mediaSource.addSourceBuffer('audio/mp4; codecs="mp4a.40.2"');



The errors are :


Chrome :


NotSupportedError: Failed to load because no supported source was found.



Firefox :


NotSupportedError: The media resource indicated by the src attribute or assigned media provider object was not suitable.



Here comes the fun part :


If I create the SourceBuffer using
audio/aac
as mime-type :

this.sourceBuffer = this.mediaSource.addSourceBuffer('audio/aac');



the audio gets played correctly on Chrome but Firefox says :


MediaSource.addSourceBuffer: Type not supported in MediaSource




Update


After changing the command to


ffmpeg -i /tmp/input.any -acodec aac -b:a 256000 /tmp/output.mp4
 ^^^ 



Chrome/Firefox do not give an error when using
audio/mp4; codecs="mp4a.40.2"
, but the audio is not being played.


See


- 

- https://stackoverflow.com/a/64432478/826983




-
When I run ffmpeg Im getting "output file #0 does not contain any stream" [duplicate]
29 novembre 2020, par 0 dayIm trying to feed live stream from ffmpeg to ffserver but Im getting this error


libavutil 55. 78.100 / 55. 78.100
 libavcodec 57.107.100 / 57.107.100
 libavformat 57. 83.100 / 57. 83.100
 libavdevice 57. 10.100 / 57. 10.100
 libavfilter 6.107.100 / 6.107.100
 libavresample 3. 7. 0 / 3. 7. 0
 libswscale 4. 8.100 / 4. 8.100
 libswresample 2. 9.100 / 2. 9.100
 libpostproc 54. 7.100 / 54. 7.100
Input #0, x11grab, from ':0.0':
 Duration: N/A, start: 1606657336.654899, bitrate: N/A
 Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1680x1050, 25 fps, 24.92 tbr, 1000k tbn, 1000k tbc
Output #0, alsa, to 'http://localhost:8090/feed.ffm':
Output file #0 does not contain any stream



here is my cli


ffmpeg -probesize 1000M -framerate 25 -video_size 1680x1050 -f x11grab -i :0.0 -f alsa -c:a aac -vf format=yuv420p http://localhost:8090/feed1.ffm



I'v looked at this and this but it did not helped


How can I fix


Output file #0 does not contain any stream


EDIT :


ffmpeg -probesize 1000M -framerate 25 -video_size 1680x1050 -f x11grab -i :0.0 -f alsa -i default -c:a aac -vf format=yuv420p http://localhost:8090/feed1.ffm
ffmpeg version 3.4.8-0ubuntu0.2 Copyright (c) 2000-2020 the FFmpeg developers

Input #0, x11grab, from ':0.0':
 Duration: N/A, start: 1606679309.355016, bitrate: N/A
 Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1680x1050, 25 fps, 24.92 tbr, 1000k tbn, 1000k tbc
Guessed Channel Layout for Input Stream #1.0 : stereo
Input #1, alsa, from 'default':
 Duration: N/A, start: 1606679310.190079, bitrate: 1536 kb/s
 Stream #1:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream mapping:
 Stream #1:0 -> #0:0 (pcm_s16le (native) -> mp2 (native))
 Stream #0:0 -> #0:1 (rawvideo (native) -> mpeg1video (native))
 Stream #0:0 -> #0:2 (rawvideo (native) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[x11grab @ 0x561e2391da00] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
[mpeg1video @ 0x561e23968400] bitrate tolerance 21333 too small for bitrate 64000, overriding
[mpeg1video @ 0x561e23968400] MPEG-1/2 does not support 3/1 fps
Error initializing output stream 0:1 -- Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height
[alsa @ 0x561e23926c40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Conversion failed!