
Recherche avancée
Médias (29)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (112)
-
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 (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (17226)
-
using node-fluent-ffmpeg to transcode with ffmpeg on windows not working
25 juillet 2015, par jansmolders86I’m trying to use the module node-fluent-ffmpeg (https://github.com/schaermu/node-fluent-ffmpeg) to transcode and stream a videofile. Since I’m on a Windows machine, I first downloaded FFMpeg from the official site (http://ffmpeg.zeranoe.com/builds/). Then I extracted the files in the folder C :/FFmpeg and added the path to the system path (to the bin folder to be precise). I checked if FFmpeg worked by typing in the command prompt : ffmpeg -version. And it gave a successful response.
After that I went ahead and copied/altered the following code from the module (https://github.com/schaermu/node-fluent-ffmpeg/blob/master/examples/express-stream.js) :
app.get('/video/:filename', function(req, res) {
res.contentType('avi');
console.log('Setting up stream')
var stream = 'c:/temp/' + req.params.filename
var proc = new ffmpeg({ source: configfileResults.moviepath + req.params.filename, nolog: true, timeout: 120, })
.usingPreset('divx')
.withAspect('4:3')
.withSize('640x480')
.writeToStream(res, function(retcode, error){
if (!error){
console.log('file has been converted succesfully',retcode);
}else{
console.log('file conversion error',error);
}
});
});I’ve properly setup the client with flowplayer and tried to get it running but
nothing happens. I checked the console and it said :file conversion error timeout
After that I increased the timeout but somehow, It only starts when I reload the page. But of course immediately stops because of the page reload. Do I need to make a separate node server just for the transcoding of files ? Or is there some sort of event I need to trigger ?
I’m probably missing something simple but I can’t seem to get it to work.
Hopefully someone can point out what I’ve missed.Thanks
-
ffmpeg conversion from Flac to Ogg produces corrupted files
8 avril 2021, par experimentali transcoded flac files to ogg using this command


ffmpeg -i input.flac -c:a libvorbis -b:a 500k output.ogg



yes i use 500k to keep the highest quality possible, some of the files are ok, but some of them can not be played - Unsupported format or corrupted file says the foobar - also my icecast streamer cant read it. So there is something wrong with the files.


I believed it was due to the high bitrate so I tried


ffmpeg -i input.flac -c:a libvorbis -b:a 320k output.ogg



the same happened, some files were ok, some were not playable.
so I tried again with default using this command


ffmpeg -i input.flac -c:a libvorbis output.ogg



same thing. some files were ok, some were corrupted and not playable.


i have no clue why.


both flac and ogg are in the same family, what happened during the transcoding that it became a corrupted file ?


the spectral analysis does not show anything wrong - here it the ogg https://prnt.sc/115zdjl, here is the original flac https://prnt.sc/115zegw


i am really interested what is going on and how to make it work ?


can anyone explain ?


here is complete log


C:\Users\lukas.kotatko>ffmpeg -i "\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years.flac" -c:a libvorbis -b:a 500k "\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years [500k test].ogg"
ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.1 (GCC) 20200726
 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-libgsm --disable-w32threads --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. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
Input #0, flac, from '\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years.flac':
 Metadata:
 GENRE : Tribal / Ambient
 ORGANIZATION : Waveform Records
 ISRC : 01101-2
 COMMENT : US reissue featuring the six original tracks plus two taken from the Invocation album.
 MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
 ORIGINALDATE : 1993
 ORIGINALYEAR : 1993
 RELEASETYPE : album
 MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
 ALBUM : One Thousand Years
 BARCODE : 789060110125
 MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 album_artist : Tuu
 ALBUMARTISTSORT : Tuu
 ASIN : B00005B9TT
 SCRIPT : Latn
 RELEASESTATUS : official
 LABEL : Waveform Records
 CATALOGNUMBER : 01101-2
 RELEASECOUNTRY : US
 DATE : 2001-05-08
 TOTALDISCS : 1
 disc : 1
 TOTALTRACKS : 8
 MEDIA : CD
 MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
 TITLE : One Thousand Years
 MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ARTIST : Tuu
 ARTISTSORT : Tuu
 ARTISTS : Tuu
 MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
 track : 2
 TRACKTOTAL : 8
 DISCTOTAL : 1
 Duration: 00:08:03.67, start: 0.000000, bitrate: 792 kb/s
 Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 600x600 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc (attached pic)
 Metadata:
 comment : Cover (front)
Stream mapping:
 Stream #0:1 -> #0:0 (mjpeg (native) -> theora (libtheora))
 Stream #0:0 -> #0:1 (flac (native) -> vorbis (libvorbis))
Press [q] to stop, [?] for help
[swscaler @ 0000015307581a00] deprecated pixel format used, make sure you did set range correctly
[ogg @ 00000153073f1680] Frame rate very high for a muxer not efficiently supporting it.
Please consider specifying a lower framerate, a different muxer or -vsync 2
Output #0, ogg, to '\\192.168.0.128\lukas\online radio resources\Atma FM playlists\channel 1\flac lossless\Tuu\One Thousand Years\02 One Thousand Years [500k test].ogg':
 Metadata:
 GENRE : Tribal / Ambient
 ORGANIZATION : Waveform Records
 ISRC : 01101-2
 COMMENT : US reissue featuring the six original tracks plus two taken from the Invocation album.
 MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
 ORIGINALDATE : 1993
 ORIGINALYEAR : 1993
 RELEASETYPE : album
 MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
 ALBUM : One Thousand Years
 BARCODE : 789060110125
 MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 album_artist : Tuu
 ALBUMARTISTSORT : Tuu
 ASIN : B00005B9TT
 SCRIPT : Latn
 RELEASESTATUS : official
 LABEL : Waveform Records
 CATALOGNUMBER : 01101-2
 RELEASECOUNTRY : US
 DATE : 2001-05-08
 TOTALDISCS : 1
 disc : 1
 TOTALTRACKS : 8
 MEDIA : CD
 MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
 TITLE : One Thousand Years
 MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ARTIST : Tuu
 ARTISTSORT : Tuu
 ARTISTS : Tuu
 MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
 track : 2
 TRACKTOTAL : 8
 DISCTOTAL : 1
 encoder : Lavf58.45.100
 Stream #0:0: Video: theora (libtheora), yuv420p(progressive), 600x600 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k fps, 90k tbn, 90k tbc (attached pic)
 Metadata:
 DESCRIPTION : Cover (front)
 encoder : Lavc58.91.100 libtheora
 GENRE : Tribal / Ambient
 ORGANIZATION : Waveform Records
 ISRC : 01101-2
 MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
 ORIGINALDATE : 1993
 ORIGINALYEAR : 1993
 RELEASETYPE : album
 MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
 ALBUM : One Thousand Years
 BARCODE : 789060110125
 MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ALBUMARTIST : Tuu
 ALBUMARTISTSORT : Tuu
 ASIN : B00005B9TT
 SCRIPT : Latn
 RELEASESTATUS : official
 LABEL : Waveform Records
 CATALOGNUMBER : 01101-2
 RELEASECOUNTRY : US
 DATE : 2001-05-08
 TOTALDISCS : 1
 DISCNUMBER : 1
 TOTALTRACKS : 8
 MEDIA : CD
 MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
 TITLE : One Thousand Years
 MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ARTIST : Tuu
 ARTISTSORT : Tuu
 ARTISTS : Tuu
 MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
 TRACKNUMBER : 2
 TRACKTOTAL : 8
 DISCTOTAL : 1
 Stream #0:1: Audio: vorbis (libvorbis), 44100 Hz, stereo, fltp (16 bit), 500 kb/s
 Metadata:
 encoder : Lavc58.91.100 libvorbis
 GENRE : Tribal / Ambient
 ORGANIZATION : Waveform Records
 ISRC : 01101-2
 DESCRIPTION : US reissue featuring the six original tracks plus two taken from the Invocation album.
 MUSICBRAINZ_RELEASEGROUPID: 737d0518-3dc2-36b3-9419-282c0ade0e50
 ORIGINALDATE : 1993
 ORIGINALYEAR : 1993
 RELEASETYPE : album
 MUSICBRAINZ_ALBUMID: f6339129-f662-43a1-93df-2f20540f73cc
 ALBUM : One Thousand Years
 BARCODE : 789060110125
 MUSICBRAINZ_ALBUMARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ALBUMARTIST : Tuu
 ALBUMARTISTSORT : Tuu
 ASIN : B00005B9TT
 SCRIPT : Latn
 RELEASESTATUS : official
 LABEL : Waveform Records
 CATALOGNUMBER : 01101-2
 RELEASECOUNTRY : US
 DATE : 2001-05-08
 TOTALDISCS : 1
 DISCNUMBER : 1
 TOTALTRACKS : 8
 MEDIA : CD
 MUSICBRAINZ_TRACKID: aef9824d-e4a6-4ae6-aebe-50a83dd14f71
 TITLE : One Thousand Years
 MUSICBRAINZ_ARTISTID: e05a42e7-60a3-4d2d-983c-51dc4eb67cad
 ARTIST : Tuu
 ARTISTSORT : Tuu
 ARTISTS : Tuu
 MUSICBRAINZ_RELEASETRACKID: 621c9da6-a85d-3f8b-b485-5e6f74a60cd0
 TRACKNUMBER : 2
 TRACKTOTAL : 8
 DISCTOTAL : 1
frame= 1 fps=0.1 q=-0.0 Lsize= 25860kB time=00:08:03.66 bitrate= 438.0kbits/s speed=44.6x
video:8kB audio:25721kB subtitle:0kB other streams:0kB global headers:7kB muxing overhead: 0.511663%



-
Set RTSP/UDP buffer size in FFmpeg/LibAV
9 décembre 2016, par chuckleplantNote : I’m aware ffmpeg and libav are different libraries. This is a problem common to both.
Disclaimer : Duplicate of SO question marked as answered but actually didn’t give a proper solution.
Insufficient UDP buffer size causes broken streams for several high resolution video streams. In LibAV/FFMPEG it’s possible to set the udp buffer size for udp urls (udp ://...) by appending some options (buffer_size) to it.
However, for RTSP urls this is not supported.
These are the only solutions I’ve found :
- Rebuilding ffmpeg/libav changing the UDP_MAX_PKT_SIZE in the udp.c source file.
- Using a nasty hack to find and modify the required value, by casting some private structs.
- Using a different decoding library (proposed solution to aforementioned related SO question).
None of these is actually a solution. From what I found it should be possible to use the API’s
AVOptions
to find and set this value. Or else, the AVDictionary.It’s very difficult to find how to set these throughout the documentation of either libav or ffmpeg.
Update :
The following patches have been submited to Libav tackling this topic, thanks to Libav developer @lu_zero :
Which should offer a hint on how to implement those, still these are not yet available through the official stable API.