
Recherche avancée
Médias (16)
-
#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 (96)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (5237)
-
FFMPEG RTSP stream to multiple output, one mp4 and also restream
16 août 2022, par csontyI would like to seek your help with FFMPEG and how to use it properly on Windows and Linux. I have to get the camera RTSP stream and record it into 1 minutes segments and also stream at the same time.
I did try to stream it to rtsp, but it didn't work at all [f=RTSP]rtsp ://ipaddress:554/mystream , it stuck and did nothing.


I did also try to add the -use_wallclock_as_timestamps 1 but it didn't do anything. I also tried to add the -flags +global_header, but not sure, how to add it into this script.


I did try it on both Linux and Windows with the following commands (not sure how to create a bash script from it)


Linux :

./usr/bin/ffmpeg -i 'rtsp://username:password@192.168.68.99:554/Streaming/Channels/101/' -c copy -f tee -map 0:v '[f=segment:strftime=1:segment_time=60]wwcam99-%Y-%m-%d_%H-%M-%S.mp4|[f=mpegts]udp://10.10.3.251:5555'


Windows :

ffmpeg -i "rtsp://username:password@192.168.68.99:554/Streaming/Channels/101/" -c copy -f tee -map 0:v "[f=segment:strftime=1:segment_time=60]wwcam99-%%Y-%%m-%%d_%%H-%%M-%%S.mp4|[f=mpegts]udp://10.10.3.199:5555"


It records the files and the stream can be viewed on the localhost (not sure why I cannot view from other machines even if the firewall is off, but it might be a network issue)


This is the output with mostly error messages that I couldn't fix :




[rtsp @ 0x563f2688cf80] max delay reached. need to consume packet
[rtsp @ 0x563f2688cf80] RTP : missed 216 packets
[h264 @ 0x563f26890c40] left block unavailable for requested intra4x4 mode -1
[h264 @ 0x563f26890c40] error while decoding MB 0 12, bytestream 144004
[h264 @ 0x563f26890c40] concealing 13993 DC, 13993 AC, 13993 MV errors in I frame
Input #0, rtsp, from 'rtsp ://username:password@192.168.68.99:554/Streaming/Channels/101/' :
Metadata :
title : Media Presentation
Duration : N/A, start : 0.983333, bitrate : N/A
Stream #0:0 : Video : h264 (Main), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], 6 fps, 20 tbr, 90k tbn, 12 tbc
[segment @ 0x563f268ced00] Opening 'wwcam99-2022-08-16_17-28-20.mp4' for writing
Output #0, tee, to '[f=segment:strftime=1:segment_time=60]wwcam09-%Y-%m-%d_%H-%M-%S.mp4|[f=mpegts]udp ://10.10.3.251:5555' :
Metadata :
title : Media Presentation
encoder : Lavf58.29.100
Stream #0:0 : Video : h264 (Main), yuvj420p(pc, bt709, progressive), 2688x1520 [SAR 1:1 DAR 168:95], q=2-31, 6 fps, 20 tbr, 6 tbn, 6 tbc
Stream mapping :
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 0, current : -5 ; changing to 1. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 1, current : -4 ; changing to 2. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 2, current : -3 ; changing to 3. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 3, current : -2 ; changing to 4. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 4, current : -1 ; changing to 5. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 5, current : 0 ; changing to 6. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 6, current : 1 ; changing to 7. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 7, current : 2 ; changing to 8. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 8, current : 3 ; changing to 9. This may result in incorrect timestamps in the output file.
[tee @ 0x563f268cbc00] Non-monotonous DTS in output stream 0:0 ; previous : 9, current : 4 ; changing to 10. This may result in incorrect timestamps in the output file.




Any help would be highly appreciated


-
How to decode two Dolby E audio streams simultaneously with ffmpeg ?
11 août 2022, par DavidI'm trying to decode 2 Dolby-E audio streams simultaneously.


ffmpeg -non_pcm_mode copy -i C:\vlc-record.ts -map 0:3 -map 0:4 -c:a pcm_s24le -f s24le - | ffplay -


Using
-map 0:3
it works for one at a time but when I add the second one-map 0:4
it only process the first one and there is just one stream on my dolby_e output pipe.

Is there a way to create a two streams multicanal non-pcm output from 2 Dolbys PCM streams ?


I tried to find a solution with named pipe but it seems like windows command line doesn't accept this. I also tried to merge the PCM streams but then it says
Invalid data found when processing input
.

I can't make it with 2 pass because I'll be using it with udp live video streams.


ffmpeg version 2022-03-07-git-e645a1ddb9-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
 built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 22.100 / 57. 22.100
 libavcodec 59. 22.100 / 59. 22.100
 libavformat 59. 17.103 / 59. 17.103
 libavdevice 59. 5.100 / 59. 5.100
 libavfilter 8. 27.100 / 8. 27.100
 libswscale 6. 5.100 / 6. 5.100
 libswresample 4. 4.100 / 4. 4.100
 libpostproc 56. 4.100 / 56. 4.100
ffplay version 2022-03-07-git-e645a1ddb9-full_build-www.gyan.dev Copyright (c) 2003-2022 the FFmpeg developers
 built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
 libavutil 57. 22.100 / 57. 22.100
 libavcodec 59. 22.100 / 59. 22.100
 libavformat 59. 17.103 / 59. 17.103
 libavdevice 59. 5.100 / 59. 5.100
 libavfilter 8. 27.100 / 8. 27.100
 libswscale 6. 5.100 / 6. 5.100
 libswresample 4. 4.100 / 4. 4.100
 libpostproc 56. 4.100 / 56. 4.100

Input #0, mpegts, from 'C:\vlc-record.ts':
 Duration: 00:00:15.76, start: 42530.445511, bitrate: 31505 kb/s
 Program 1
 Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn
 Stream #0:1: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s
 Stream #0:2: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 256 kb/s
 Stream #0:3: Audio: s302m (BSSD / 0x44535342), stereo, s32 (20 bit), 2304 kb/s
 Stream #0:4: Audio: s302m (BSSD / 0x44535342), stereo, s32 (20 bit), 2304 kb/s
Stream mapping:
 Stream #0:3 -> #0:0 (s302m (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
Output #0, s24le, to 'pipe:':
 Metadata:
 encoder : Lavf59.17.103
 Stream #0:0: Audio: pcm_s24le, 48000 Hz, stereo, s32 (20 bit), 2304 kb/s
 Metadata:
 encoder : Lavc59.22.100 pcm_s24le
[dolby_e @ 0000026b16da0640] Stream has 2 programs (configuration 0), channels will be output in native order.
Input #0, s337m, from 'pipe:':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Audio: dolby_e, 44800 Hz, 7.1, fltp
[dolby_e @ 0000026b16d7ca80] Stream has 2 programs (configuration 0), channels will be output in native order.
 1.25 M-A: 0.000 fd= 0 aq= 292KB vq= 0KB sq= 0B f=0/0
av_interleaved_write_frame(): Broken pipe
Error writing trailer of pipe:: Broken pipe
size= 1451kB time=00:00:05.20 bitrate=2286.3kbits/s speed=3.07x
video:0kB audio:1462kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Error closing file pipe:: Broken pipe
Conversion failed!




-
avformat : refactor ff_stream_encode_params_copy() to stream_params_copy()
6 août 2022, par Pierre-Anthony Lemieuxavformat : refactor ff_stream_encode_params_copy() to stream_params_copy()
Addresses http://ffmpeg.org/pipermail/ffmpeg-devel/2022-August/299726.html
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>