
Recherche avancée
Médias (5)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
-
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 (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
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 (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...)
Sur d’autres sites (10064)
-
Encoder (codec mp3) not found for output stream #0:0 , ffmpeg
14 juillet 2014, par AreKayi am running ffmpeg on mac os x.
while extracting audio file from a video i am getting an error as Encoder (codec mp3) not found for output stream #0:0this question was already asked but that was for ubuntu and i did try (using macports)
port install libavcodec-extras-53
but it showed an error as libavcodec-extras-53 was not found.this was what came in terminal.
Rajaths-MacBook-Pro:desktop RK$ ffmpeg -i 1.mp4 3.mp3<br />
ffmpeg version N-64663-ga65d6e1 Copyright (c) 2000-2014 the FFmpeg developers<br />
built on Jul 15 2014 02:20:47 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br />
configuration:<br />
libavutil 52. 92.100 / 52. 92.100<br />
libavcodec 55. 69.100 / 55. 69.100<br />
libavformat 55. 47.100 / 55. 47.100<br />
libavdevice 55. 13.102 / 55. 13.102<br />
libavfilter 4. 10.100 / 4. 10.100<br />
libswscale 2. 6.100 / 2. 6.100<br />
libswresample 0. 19.100 / 0. 19.100<br />
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':<br />
Metadata:<br />
major_brand : isom<br />
minor_version : 512<br />
compatible_brands: isomiso2mp41<br />
encoder : Lavf55.47.100
Duration: 00:00:39.05, start: 0.020227, bitrate: 408 kb/s<br />
Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 274 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)<br />
Metadata:<br />
handler_name : VideoHandler<br />
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default)<br />
Metadata:<br />
handler_name : SoundHandler<br />
Output #0, mp3, to '3.mp3':<br />
Metadata:<br />
major_brand : isom<br />
minor_version : 512<br />
compatible_brands: isomiso2mp41<br />
encoder : Lavf55.47.100<br />
Stream #0:0(und): Audio: mp3, 0 channels, 128 kb/s (default)<br />
Metadata:<br />
handler_name : SoundHandler<br />
Stream mapping:<br />
Stream #0:1 -> #0:0 (aac (native) -> ? (?))<br />
Encoder (codec mp3) not found for output stream #0:0any help would be appreciated.
-
Issue while opening a .mp4 file - CPU shoots up 100%
16 juillet 2014, par AnilJI am using IMediaWriter, to write out about 20 video frames into an independent .mp4 file and creating a new writer to write a new file. This is a logic (not so efficient one), I’ve used to chunk the web-cam feed into chunks. I am able to successfully able to create multiple .mp4 video files and when opened then in a VLC player, they can be played back.
However, when I try to open one of the chunked file into a new IContainer object (see below code snippet), my program :
- Gets stuck at the container.open() call ( see * below), and the CPU
utilization shoots above 100%. - Sometimes it throws an error "moov atom not found", and hence can not open the file.
In both the cases, my program does not work.
<code snippet="snippet">
String file = BASE_PATH + File.separator + "output" + File.separator + "output.mp4"; // This is one of the chunk.
IContainer container = IContainer.make();
FileChannel channel = null;
try {
@SuppressWarnings("resource")
RandomAccessFile inFile = new RandomAccessFile(chunkFile, "r");
channel = inFile.getChannel();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
// Open up the container
*** int retval = container.open(channel, IContainer.Type.READ, null);
if (retval < 0) {
// This little trick converts the non friendly integer return value into
// a slightly more friendly object to get a human-readable error name
IError error = IError.make(retval);
throw new IllegalArgumentException("could not open file: " + mInputFileChannel + "; Error: " + error.getDescription());
}
<code snippet="snippet">Subsequently, I ran the AtomicParsley tool to dump the file content, and it prints following. I am not aware of video file internals and seeking help to know the issue here and potential solution.
Atom ftyp @ 0 of size: 28, ends @ 28
Atom free @ 28 of size: 8, ends @ 36
Atom mdat @ 36 of size: 45175, ends @ 45211
Atom moov @ 45211 of size: 1052, ends @ 46263
Atom mvhd @ 45219 of size: 108, ends @ 45327
Atom trak @ 45327 of size: 839, ends @ 46166
Atom tkhd @ 45335 of size: 92, ends @ 45427
Atom edts @ 45427 of size: 36, ends @ 45463
Atom elst @ 45435 of size: 28, ends @ 45463
Atom mdia @ 45463 of size: 703, ends @ 46166
Atom mdhd @ 45471 of size: 32, ends @ 45503
Atom hdlr @ 45503 of size: 45, ends @ 45548
Atom minf @ 45548 of size: 618, ends @ 46166
Atom vmhd @ 45556 of size: 20, ends @ 45576
Atom dinf @ 45576 of size: 36, ends @ 45612
Atom dref @ 45584 of size: 28, ends @ 45612
Atom url @ 45600 of size: 12, ends @ 45612
Atom stbl @ 45612 of size: 554, ends @ 46166
Atom stsd @ 45620 of size: 198, ends @ 45818
Atom mp4v @ 45636 of size: 182, ends @ 45818
Atom esds @ 45722 of size: 96, ends @ 45818
Atom stts @ 45818 of size: 176, ends @ 45994
Atom stss @ 45994 of size: 24, ends @ 46018
Atom stsc @ 46018 of size: 28, ends @ 46046
Atom stsz @ 46046 of size: 100, ends @ 46146
Atom stco @ 46146 of size: 20, ends @ 46166
Atom udta @ 46166 of size: 97, ends @ 46263
Atom meta @ 46174 of size: 89, ends @ 46263
Atom hdlr @ 46186 of size: 33, ends @ 46219
Atom ilst @ 46219 of size: 44, ends @ 46263
Atom ©too @ 46227 of size: 36, ends @ 46263
Atom data @ 46235 of size: 28, ends @ 46263
------------------------------------------------------
Total size: 46263 bytes; 31 atoms total. AtomicParsley from svn built on Jul 15 2014 (utf8)
Media data: 45175 bytes; 1088 bytes all other atoms (2.352% atom overhead).
Total free atom space: 8 bytes; 0.017% waste.
------------------------------------------------------I am not sure if there is anything wrong with the file itself. Can you please help me understand this ?
- Gets stuck at the container.open() call ( see * below), and the CPU
-
merge audio stream with video
16 juillet 2014, par Ranjith KRI have a video file with a video and audio stream on it (6.flv)
I need to merge an audio with with the video file that is already having an audio.
But I am getting an error "Could not write header for output file #0 (incorrect codec parameters ?) : Invalid argument"# ffmpeg -i 6.flv
Stream #0:0: Video: flv1, yuv420p, 426x240, 279 kb/s, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3, 22050 Hz, stereo, s16p, 65 kb/s[/color]
And an audio mp3 file(2.mp3).
# ffmpeg -i 2.mp3
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
And i need to mix (add) this mp3 file to the video file. So inshort the new video file should have two audio streams from video and mp3. I am trying to do this with the below command
# ffmpeg -i 6.flv -i 2.mp3 -map 0:0 -map 0:1 -map 1:0 -codec copy -shortest output_video.flv
But I am getting the following error , Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument . Any idea how to fix this?
Please find the complete command output. I am trying to run this on a centos machine.
]# ffmpeg -i 6.flv -i 2.mp3 -map 0:0 -map 0:1 -map 1:0 -codec copy -shortest output_video.flv
ffmpeg version N-64525-g7cb8f7d Copyright (c) 2000-2014 the FFmpeg developers
built on Jul 8 2014 23:41:20 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
purl :
pmsg :
encoder : Lavf55.45.100
Stream #0:0: Video: flv1 ([2][0][0][0] / 0x0002), yuv420p, 426x240, q=2-31, 279 kb/s, 23.98 fps, 1k tbn, 1k tbc
Stream #0:1: Audio: mp3 ([2][0][0][0] / 0x0002), 22050 Hz, stereo, 65 kb/s
Stream #0:2: Audio: mp3 ([2][0][0][0] / 0x0002), 44100 Hz, stereo, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #1:0 -> #0:2 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument