
Recherche avancée
Autres articles (85)
-
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (16563)
-
Pass camera input to ffmpeg
30 mai 2017, par Sachin SononeI am trying to develop an delphi app which will show a preview of the camera in the delphi form and then send the frames of video as images to the ffmpeg in the stdin of ffmpeg. ffmpeg then broadcast the video to wowza server over rtmp. but fmpeg gives an error ’pipe:0 Bad file descriptor’
FFMPEG command:
ffmpeg -f image2pipe -i pipe:0 -c:v libx264 -y -report -f flv wowza_urlI followed this https://msdn.microsoft.com/en-us/library/ms682499(VS.85).aspx article to build the parent app which will open ffmpeg as a child and use FFmpeg’s stdin to pass input
// Create a pipe for the child process's STDOUT.
Createpipe(STDOut_ReadPipe, STDOut_WritePipe, @Security,0);
// Ensure the read handle to the pipe for STDOUT is not inherited.
SetHandleInformation(STDOut_ReadPipe,HANDLE_FLAG_INHERIT,0);
// Create a pipe for the child process's STDIN.
if ( CreatePipe(STDIn_ReadPipe , STDIn_WritePipe, @Security, 0) = true) then
// Ensure the write handle to the pipe for STDIN is not inherited.
SetHandleInformation(STDIn_WritePipe, HANDLE_FLAG_INHERIT, 0) ;This the code to start ffmpeg process
FillChar(StartupInfo,Sizeof(StartupInfo),0);
StartupInfo.cb := Sizeof(StartupInfo);
StartupInfo.dwFlags := STARTF_USESTDHANDLES;
StartupInfo.wShowWindow := 1;
S := args;
UniqueString(S);
StartupInfo.hStdError := STDOut_WritePipe;
StartupInfo.hStdOutput := STDOut_WritePipe;
StartupInfo.hStdInput := STDIn_ReadPipe;but as soon as program start ffmpeg exits with the error.
This is the full console log of the ffmpeg
ffmpeg started on 2017-05-30 at 18:45:36
Report written to "ffmpeg-20170530-184536.log"
Command line:
"ffmpeg.exe" -f image2pipe -i pipe:0 -report -movflags +faststart -tune
zerolatency -an -pix_fmt yuv420p -preset ultrafast -vcodec libx264 -b:v 250k
-y -f flv test.flv
ffmpeg version N-85750-ga75ef15 Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid
--enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-
avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-
libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-
libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --
enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --
enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 61.100 / 55. 61.100
libavcodec 57. 93.100 / 57. 93.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 88.100 / 6. 88.100
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Splitting the commandline.
Reading option '-f' ... matched as option 'f' (force format) with
argument 'image2pipe'.
Reading option '-i' ... matched as input url with argument 'pipe:0'.
Reading option '-report' ... matched as option 'report' (generate a
report) with argument '1'.
Reading option '-movflags' ... matched as AVOption 'movflags' with
argument '+faststart'.
Reading option '-tune' ... matched as AVOption 'tune' with argument
'zerolatency'.
Reading option '-an' ... matched as option 'an' (disable audio) with
argument '1'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel
format)
with argument 'yuv420p'.
Reading option '-preset' ... matched as AVOption 'preset' with argument
'ultrafast'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'libx264'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -
b:v)) with argument '250k'.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with
argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'flv'.
Reading option 'test.flv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url pipe:0.
Applying option f (force format) with argument image2pipe.
Successfully parsed a group of options.
Opening an input file: pipe:0.
[pipe @ 003bdea0] Setting default whitelist 'crypto'
[AVIOContext @ 03115e60] Statistics: 0 bytes read, 0 seeks
pipe:0: Bad file descriptor' -
FFMPEG and MSA1 Codec Issues when Converting WMV to MP4 Video
30 décembre 2023, par user136819I have a WMV video file (around 60 MB size, 01:23:00 length) and I'm running a Windows Server 2016 64-bit machine for testing.

As far as I know, this video file was recorded using Microsoft Live Meeting 2007 back in April 2010 and there is also an associated audio file (which I'm able to play).

I tried to play the video file on my machine using VLC player (latest update), however, I always see this weird MSA1 codec error :




So I tried to resolve this problem by downloading and installing the Combined-Community-Codec-Pack-64bit-2015-10-18, and using its MPC-HC 64-bit player to play the video...
I still couldn't get it to play ! Here are the logs shown by the MPC player :




WM ASF Reader::Raw Video 0

Media Type 0:
--------------------------
Video: MSA1 1440x900 5fps 164kbps

AM_MEDIA_TYPE: 
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {3141534D-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 1
lSampleSize: 0
cbFormat: 88

VIDEOINFOHEADER:
rcSource: (0,0)-(1440,900)
rcTarget: (0,0)-(1440,900)
dwBitRate: 164794
dwBitErrorRate: 0
AvgTimePerFrame: 2000000

BITMAPINFOHEADER:
biSize: 40
biWidth: 1440
biHeight: 900
biPlanes: 1
biBitCount: 16
biCompression: MSA1
biSizeImage: 66101
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0

pbFormat:
0000: 00 00 00 00 00 00 00 00 a0 05 00 00 84 03 00 00 ........ ...„...
0010: 00 00 00 00 00 00 00 00 a0 05 00 00 84 03 00 00 ........ ...„...
0020: ba 83 02 00 00 00 00 00 80 84 1e 00 00 00 00 00 ºƒ......€„......
0030: 28 00 00 00 a0 05 00 00 84 03 00 00 01 00 10 00 (... ...„.......
0040: 4d 53 41 31 35 02 01 00 00 00 00 00 00 00 00 00 MSA15...........
0050: 00 00 00 00 00 00 00 00 ........



Since that didn't work, I tried installing the Microsoft MPEG-4 V1/2/3 VKI Codec for ASF files and still couldn't get the players to play the video and saw the same errors as above !


As a final attempt, I tried to convert this video to MP4 format using FFMPEG (version from 2020). Even this failed. Here are the logs :


D:\ffmpeg-20200403-52523b6-win64-static\bin>ffmpeg.exe -i input-video.wmv -c:v copy -c:a aac -q:a 100 output.mp4
ffmpeg version git-2020-04-03-52523b6 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 9.3.1 (GCC) 20200328
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 42.102 / 56. 42.102
 libavcodec 58. 77.101 / 58. 77.101
 libavformat 58. 42.100 / 58. 42.100
 libavdevice 58. 9.103 / 58. 9.103
 libavfilter 7. 77.101 / 7. 77.101
 libswscale 5. 6.101 / 5. 6.101
 libswresample 3. 6.100 / 3. 6.100
 libpostproc 55. 6.100 / 55. 6.100
[msa1 @ 000002505bb847c0] Image dimensions should be a multiple of 16.
[asf @ 000002505bb4b600] Failed to open codec in avformat_find_stream_info
[msa1 @ 000002505bb847c0] Image dimensions should be a multiple of 16.
Input #0, asf, from 'input-video.wmv':
 Metadata:
 WMFSDKNeeded : 0.0.0.0000
 WMFSDKVersion : 10.00.00.4072
 IsVBR : 0
 Duration: 01:22:49.28, start: 0.000000, bitrate: 96 kb/s
 Stream #0:0(ger): Video: msa1 (MSA1 / 0x3141534D), none, 1440x900, 164 kb/s, 5 tbr, 1k tbn, 1k tbc
[mp4 @ 000002505bb4ce40] Could not find tag for codec msa1 in stream #0, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Last message repeated 1 times

D:\ffmpeg-20200403-52523b6-win64-static\bin>



I wish to know, is there any other way I can convert this video to a more modern format so that I can play it on a modern machine and modern video player ?

What other codecs am I missing here ? (if so, where can I get them ?)

FYI, as mentioned earlier at the top, I'm only able to play the associated audio file...

I'm fairly new to all this stuff, so any help is appreciated.


Thanks in advance ! :)


-
Can't obtain information with ffmpeg to Smooth Streaming Manifest file
4 mars 2015, par AlbertoI’m trying to get details for a stream of protocol Microsoft Smooth Streaming, with ffmpeg tools (ffprobe and ffplay) but when I run the next command :
ffprobe -i http://b31282.cdn.telefonica.com/31282/Manifest
I obtain this :
http://b31282.cdn.telefonica.com/31282/Manifest: Invalid data found when processing input
I assume that this Manifest file is correct and complies with standards of Smooth Streaming . This is a brief extract of Manifest file :
<smoothstreamingmedia majorversion="2" minorversion="0" duration="0" timescale="10000000" islive="TRUE" lookaheadfragmentcount="2" dvrwindowlength="6000000000" canseek="TRUE" canpause="TRUE">
<protection>
<protectionheader systemid="9a04f079-9840-4286-ab92-e65be0885f95">oioAAAIAAQCUAjwAV...</protectionheader>
</protection>
<streamindex type="audio" language="esp" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(audio_esp={start time})"></streamindex>
<streamindex type="video" language="" subtype="" chunks="0" timescale="10000000" url="QualityLevels({bitrate})/Fragments(video={start time})"></streamindex>
</smoothstreamingmedia>Is a Fedora 21 and ffmpeg version and configuration is :
ffmpeg version git-2015-02-27-d490b26
configuration: --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
libavutil 54. 19.100
libavcodec 56. 26.100
libavformat 56. 23.105
libavdevice 56. 4.100
libavfilter 5. 11.102
libswscale 3. 1.101
libswresample 1. 1.100
libpostproc 53. 3.100PD : I prefer use only ffmpeg tool
Thanks for all