
Recherche avancée
Autres articles (94)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Publier sur MédiaSpip
13 juin 2013Puis-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 (6397)
-
ffmpeg : convert audio-only flv to swf
5 octobre 2011, par Michael Brewer-DavisMy Flex application records audio-only FLV files using red5—I'd like to convert these to SWF files so I can embed them in other SWF files. (I could also convert to MP3 and then embed them into SWFs myself, but I'd prefer a one step solution.)
Anyone have experience doing this ?
What I've tried :
The following naive ffmpeg command fails :
> ffmpeg -i 3139747641.flv -vn movie.swf
FFmpeg version SVN-r21751-snapshot, Copyright (c) 2000-2010 Fabrice Bellard, et al.
built on Feb 11 2010 09:15:42 with gcc 4.2.1 (SUSE Linux)
configuration: --enable-gpl --enable-nonfree
libavutil 50. 9. 0 / 50. 9. 0
libavcodec 52.53. 0 / 52.53. 0
libavformat 52.52. 0 / 52.52. 0
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.10. 0 / 0.10. 0
[flv @ 0x8a5e3a0]Could not find codec parameters (Video: 0x0000)
[flv @ 0x8a5e3a0]Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from '3139747641.flv':
Metadata:
audiocodecid : -1
duration : 0
videocodecid : -1
canSeekToEnd : true
Duration: 00:00:14.88, start: 0.000000, bitrate: N/A
Stream #0.0: Video: 0x0000, 1k tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: nellymoser, 8000 Hz, mono, s16
Output #0, swf, to 'movie.swf':
Stream #0.0: Audio: 0x0000, 8000 Hz, mono, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Encoder (codec id 86017) not found for output stream #0.0I've tried adding a dummy video, but this also failed :
> ffmpeg -i dummy.mov -i 3139747641.flv movie.swf
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'dummy.mov':
Metadata:
major_brand : qt
minor_version : 512
compatible_brands: qt
encoder : Lavf52.52.0
encoder-eng : Lavf52.52.0
Duration: 00:00:00.10, start: 0.000000, bitrate: 62 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 10x10 [PAR 1:1 DAR 1:1], 1 kb/s, 10 fps, 10 tbr, 10 tbn, 10 tbc
[flv @ 0x8a67fa0]Could not find codec parameters (Video: 0x0000)
[flv @ 0x8a67fa0]Estimating duration from bitrate, this may be inaccurate
Input #1, flv, from '3139747641.flv':
Metadata:
audiocodecid : -1
duration : 0
videocodecid : -1
canSeekToEnd : true
Duration: 00:00:14.88, start: 0.000000, bitrate: N/A
Stream #1.0: Video: 0x0000, 1k tbr, 1k tbn, 1k tbc
Stream #1.1: Audio: nellymoser, 8000 Hz, mono, s16
picture size invalid (0x0)
Cannot allocate temp picture, check pix fmt -
FFMpeg API Write AVPackets to new H264 file without Decoding / Transcoding
15 septembre 2011, par mhathcockUsing the FFMpeg API in Windows 7 64bit with MSVC++ 2010 :
Using video files in MP4 container, with Video in H264 and Audio in AAC.
I can successfullly read packets, decode them, encode them, and write them back to a video file using the normal av_read_frame, avcodec_decode_video, etc.
What i want to do is read a packet, and write it to the output file immediately, without encoding or decoding. Essentially, to be able to take packets from different video files (that are all identical size, bitrate, fps, etc) and write them into 1 video file.
I set the packet PTS and DTS to the number of written packets.
Libx264 does not complain during this process, but the output video file contains no data (headers only ?) and is less than 50kB, and claims a duration of 0.
Code :
while( readVal > -1 )
{
readVal = av_read_frame( pFormat, &pkt );
if ( pkt.stream_index == vidIdx )
{
pkt.pts = packets;
pkt.dts = packets;
pkt.stream_index = pVideoStream->index;
av_write_frame( pFmtOut, &pkt );
printf("Processing packet %i\n", packets );
++packets;
}
} -
ffmpeg reencoding of flv files from MAC
22 septembre 2011, par Nick MitinI've recorded a video from a webcam on mac and now i'm trying to reencode it, but ffmpeg does not recognize audio stream :
FFmpeg version git-120610e, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 21 2010 15:56:57 with gcc 4.4.1 configuration : —enable-gpl —enable-version3 —enable-nonfree —enable-postproc —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libtheora —enable-libvorbis —enable-libmp3lame —enable-libx264 libavutil 50.27. 0 / 50.27. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec 52.89. 0 / 52.89. 0 libavformat 52.78. 5 / 52.78. 5 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.39. 0 / 1.39. 0 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [flv @ 0x1e79470] Estimating duration from bitrate, this may be inaccurate Input #0, flv, from '10125174c09241f6536ccbe503ebbc00.flv' : Duration : 00:00:22.68, start : 0.000000, bitrate : N/A Stream #0.0 : Video : flv, yuv420p, 640x480, 1k tbr, 1k tbn, 1k tbc Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 0 channels
Is it possible to make ffmpeg to support audio stream form flv recorded on MAC ?