
Recherche avancée
Médias (3)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (62)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, 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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
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 (...)
Sur d’autres sites (9153)
-
Is there a way to create a single HLS output from more than one RTMP inputs in listen mode ?
25 novembre 2020, par Gabriele TassoniI'm trying to create a single HLS output using, as inputs, different RTMP playpaths or different RTMP streams, i.e. :


- 

- rtmp ://ip:1935/app/key0
- rtmp ://ip:1935/app/key1
- rtmp ://ip:1935/app/key2








The resulting HLS output should have video track from key0, and three audio tracks from key0, key1 and key2.


I used FFMPEG, but I'm open to different open source software for the server/converter part.


What I tried so far :


NO RTMP approach


I get in input anything thrown to a TCP port, the mp4 stream sent already has multiple audio tracks, this works well and the HLS output is correctly created, cons : it's not compatible with RTMP standard, many commercial software, like vMix, just live streams to RTMP, so I cannot use this approach.


ffmpeg -y -hwaccel auto \
 -i tcp://0.0.0.0:${port}?listen \
 -map 0:0 \
 -map 0:a \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename ${dir}/${name}/1080p_%03d.ts ${dir}/${name}/1080p.m3u8



NGINX RTMP Module


I used in NGINX RTMP an application which execs an ffmpeg command, cons : it doesn't work, it sits there forever, like it's waiting for something.


ffmpeg -y -hwaccel auto \
 -i "rtmp://localhost:1935/mainav/$key" \
 -i "rtmp://localhost:1935/mainav/$name:lang:$lang" \
 -map 0:v:0 -map 0:a:0 -metadata:s:a:0 "language=$default" \
 -map "1:a:0" -metadata:s:a:1 "language=$lang" \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename "${dir}/${name}/1080p_%03d.ts" "${dir}/${name}/1080p.m3u8"




FFMPEG Listener


Quite similar to the NGINX version, but without NGINX, going raw on bare ffmpeg server capabilities. Cons : it doesn't work, just throws an I/O Error as soon as the client connects.


ffmpeg -y -hwaccel auto \
 -listen 1 -i "rtmp://0.0.0.0:1935/mainav/$key" \
 -listen 1 -i "rtmp://0.0.0.0:1935/mainav/$name:lang:$lang" \
 -map 0:v:0 -map 0:a:0 -metadata:s:a:0 "language=$default" \
 -map "1:a:0" -metadata:s:a:1 "language=$lang" \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename "${dir}/${name}/1080p_%03d.ts" "${dir}/${name}/1080p.m3u8"



Client used for tests


I used an ffmpeg which reads a file from my disk and sends to different RTMP playpaths :


ffmpeg -y -hwaccel auto -re \
 -i /home/me/Videos/xm.mkv \
 -map 0:v:0 \
 -map 0:a:0 \
 -f flv rtmp://localhost:1935/mainav/thebiglive:default:ita \
 -map 0:a:1 \
 -f flv rtmp://localhost:1935/mainav/thebiglive:lang:eng



I feel a bit clueless now. The only working solution is not a standard one taken into account the common live encoders found in the market. Anyone has a pointer for which direction I can take ?


Thanks


-
build ffmpeg with my static lib "undefined reference to" [duplicate]
7 septembre 2020, par Vassagoexec


nvcc xtest.cu -c
ar rcs libxtest.a xtest.o



get libxtest.a


dir :
/root/work/xtest.cu
/root/work/include/xtest.h
/root/work/lib/libxtest.a


Then I copy
root/work/include/xtest.h
root/work/lib/libxtest.a
to/root/work/FFmpeg/libavfiler
direction
And add my fuc :int test()
(which is in xtest.cu) to myfilter.c

next


./configure \
 --prefix="$HOME/ffmpeg_build" \
 --pkg-config-flags="--static" \
 --extra-cflags="-I/root/work/include" \
 --extra-ldflags="-L/root/work/lib" \
 --extra-libs="-lpthread -lm" \
 --bindir="$HOME/bin" \
 --enable-gpl \
 --enable-gnutls \
 --disable-libaom \
 --enable-libass \
 --disable-libfdk-aac \
 --disable-libfreetype \
 --disable-libmp3lame \
 --disable-libopus \
 --disable-libvorbis \
 --disable-libvpx \
 --enable-nonfree

make



error :


AR libavfilter/libavfilter.a
LD ffmpeg_g
libavfilter/libxtest.a(vf_colorcalc.o): In function `colorcale_filter_frame':
/root/work/FFmpeg/libavfilter/vf_colorcalc.c:166: undefined reference to `test'
collect2: error: ld returned 1 exit status
Makefile:114: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1




please teach me how to build static lib to FFmpeg


-
ffmpeg - error message "Invalid data found when processing input" when trying to convert a video file but video is playable
1er septembre 2020, par RotemI'm using ffmpeg version


ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
 built with Apple clang version 11.0.0 (clang-1100.0.33.8)
 configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.1_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-13.jdk/Contents/Home/include/darwin -fno-stack-check' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
 libavutil 56. 31.100 / 56. 31.100
 libavcodec 58. 54.100 / 58. 54.100
 libavformat 58. 29.100 / 58. 29.100
 libavdevice 58. 8.100 / 58. 8.100
 libavfilter 7. 57.100 / 7. 57.100
 libavresample 4. 0. 0 / 4. 0. 0
 libswscale 5. 5.100 / 5. 5.100
 libswresample 3. 5.100 / 3. 5.100
 libpostproc 55. 5.100 / 55. 5.100



When I try to process this video using this command


ffmpeg -i IMG_0029.mp4 -y newvideo2.mp4



I get this output


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a1f008200] could not find corresponding trex (id 1)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a1f008200] could not find corresponding track id 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a1f008200] trun track id unknown, no tfhd was found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8a1f008200] error reading header
IMG_0029.mp4: Invalid data found when processing input



I don't understand what is the problem as the video is playable.


Would appreciate any help.