
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (63)
-
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 (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 ) (...)
Sur d’autres sites (4341)
-
avdevice/decklink_dec : do not copy video data
22 avril 2018, par Marton Balint -
FFMPEG wrapping live h264 to mp4 container delay
3 août 2021, par Emil BorconiSorry if this has been asked but I couldn't find the answer.


I'm trying to wrap a live raw h264 stream to a fragmented MP4 container. This is working as expected, with one issue, I have a 5-10 seconds delay between the input and output. Basically the output start after 5-10 seconds of the first input received.


This is my command :


ffmpeg -r 30 -f h264 -i tcp://127.0.0.1:1234 -c:v copy -an -f mp4 -movflags separate_moof+empty_moov+default_base_moof -tune zerolatency -tcp_nodelay true -frag_duration 33000 -max_muxing_queue_size 1 tcp://127.0.0.1:1235



I have played with fflags, with analyzeduration and with everything I could find in the documentation but no joy.


The input stream is receiving NALU units and I can see that it receives a significant amount of units before it actually starts outputting. Once it starts it works perfect, but the output video is always 5-10 seconds behind the input one.


After a bunch of NALU units received I see ffmpeg outputting the following :


2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: Input #0, h264, from 'tcp://127.0.0.1:8105':
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: Duration: 
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: N/A
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: , bitrate: 
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: N/A
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: Stream #0:0
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: : Video: h264, yuv420p(tv, smpte170m/bt470bg/smpte170m, progressive), 1280x720
2021-08-02 23:46:22.071 24626-11173/app.example.com I/ffmpeg-kit: , 
2021-08-02 23:46:22.072 24626-11173/app.example.com I/ffmpeg-kit: 30 fps, 
2021-08-02 23:46:22.072 24626-11173/app.example.com I/ffmpeg-kit: 30 tbr, 
2021-08-02 23:46:22.072 24626-11173/app.example.com I/ffmpeg-kit: 1200k tbn, 
2021-08-02 23:46:22.072 24626-11173/app.example.com I/ffmpeg-kit: 60 tbc
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: Output #0, mp4, to 'tcp://127.0.0.1:8104':
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: Metadata:
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: encoder : 
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: Lavf58.67.100
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: Stream #0:0
2021-08-02 23:46:22.079 24626-11173/app.example.com I/ffmpeg-kit: : Video: h264 (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m, progressive), 1280x720, q=2-31
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: , 
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: 30 fps, 
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: 30 tbr, 
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: 15360 tbn, 
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: 30 tbc
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: Stream mapping:
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: Stream #0:0 -> #0:0
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: (copy)
2021-08-02 23:46:22.080 24626-11173/app.example.com I/ffmpeg-kit: Press [q] to stop, [?] for help



That is an Android wrapper, but same thing happen if I run the command on my laptop from the command line.


What am I'm missing, I need this to be real-time / instant muxing...


Thanks for the help.


-
Unable to find a suitable output format for 'ffmpeg' for joining mp4 audio with mp4 audio
10 juin 2022, par dre_84w934I want to add audio from a mp4 file to a video form a mp4 file with FFmpeg. I am using this command
ffmpeg -i video.mp4 -i audio.mp4 -c:v copy -c:a aac output.mp4
. However FFmpeg is throwingUnable to find a suitable output format for 'ffmpeg'
. I've added the log below for more information. How can I fix this ? Is this because both and audio files are in mp4 format ?

Here's the error log :


2021-11-15 23:52:20.698658+0200 app[666:70371] [javascript] libavutil 56. 55.100 / 56. 55.100
2021-11-15 23:52:20.698892+0200 app[666:70371] [javascript] libavcodec 58. 96.100 / 58. 96.100
2021-11-15 23:52:20.699091+0200 app[666:70371] [javascript] libavformat 58. 48.100 / 58. 48.100
2021-11-15 23:52:20.699299+0200 app[666:70371] [javascript] libavdevice 58. 11.101 / 58. 11.101
2021-11-15 23:52:20.699501+0200 app[666:70371] [javascript] libavfilter 7. 87.100 / 7. 87.100
2021-11-15 23:52:20.705405+0200 app[666:70371] [javascript] libswscale 5. 8.100 / 5. 8.100
2021-11-15 23:52:20.705768+0200 app[666:70371] [javascript] libswresample 3. 8.100 / 3. 8.100
2021-11-15 23:52:20.716141+0200 app[666:70371] [javascript] Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/Documents/video.mp4':
2021-11-15 23:52:20.716431+0200 app[666:70371] [javascript] Metadata:
2021-11-15 23:52:20.716646+0200 app[666:70371] [javascript] major_brand :
2021-11-15 23:52:20.716849+0200 app[666:70371] [javascript] isom
2021-11-15 23:52:20.717051+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.717248+0200 app[666:70371] [javascript] minor_version :
2021-11-15 23:52:20.717443+0200 app[666:70371] [javascript] 512
2021-11-15 23:52:20.717637+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.717827+0200 app[666:70371] [javascript] compatible_brands:
2021-11-15 23:52:20.718035+0200 app[666:70371] [javascript] isomiso2avc1mp41
2021-11-15 23:52:20.718232+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.718460+0200 app[666:70371] [javascript] encoder :
2021-11-15 23:52:20.718659+0200 app[666:70371] [javascript] Lavf58.48.100
2021-11-15 23:52:20.718866+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.719064+0200 app[666:70371] [javascript] Duration:
2021-11-15 23:52:20.719276+0200 app[666:70371] [javascript] 00:00:28.67
2021-11-15 23:52:20.719480+0200 app[666:70371] [javascript] , start:
2021-11-15 23:52:20.719682+0200 app[666:70371] [javascript] 0.000000
2021-11-15 23:52:20.719872+0200 app[666:70371] [javascript] , bitrate:
2021-11-15 23:52:20.720425+0200 app[666:70371] [javascript] 6170 kb/s
2021-11-15 23:52:20.720860+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.721073+0200 app[666:70371] [javascript] Stream #0:0
2021-11-15 23:52:20.721385+0200 app[666:70371] [javascript] (und)
2021-11-15 23:52:20.721623+0200 app[666:70371] [javascript] : Video: h264 (avc1 / 0x31637661), yuv420p(tv), 720x1280, 6166 kb/s
2021-11-15 23:52:20.721831+0200 app[666:70371] [javascript] ,
2021-11-15 23:52:20.722030+0200 app[666:70371] [javascript] 30 fps,
2021-11-15 23:52:20.722229+0200 app[666:70371] [javascript] 30 tbr,
2021-11-15 23:52:20.722426+0200 app[666:70371] [javascript] 19200 tbn,
2021-11-15 23:52:20.722622+0200 app[666:70371] [javascript] 38400 tbc
2021-11-15 23:52:20.722818+0200 app[666:70371] [javascript] (default)
2021-11-15 23:52:20.723013+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.723223+0200 app[666:70371] [javascript] Metadata:
2021-11-15 23:52:20.723424+0200 app[666:70371] [javascript] handler_name :
2021-11-15 23:52:20.723624+0200 app[666:70371] [javascript] Core Media Video
2021-11-15 23:52:20.723820+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.724032+0200 app[666:70371] [javascript] Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/var/mobile/Containers/Data/Application/Documents/audio.mp4':
2021-11-15 23:52:20.724232+0200 app[666:70371] [javascript] Metadata:
2021-11-15 23:52:20.724430+0200 app[666:70371] [javascript] major_brand :
2021-11-15 23:52:20.724627+0200 app[666:70371] [javascript] isom
2021-11-15 23:52:20.724822+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.725025+0200 app[666:70371] [javascript] minor_version :
2021-11-15 23:52:20.725227+0200 app[666:70371] [javascript] 512
2021-11-15 23:52:20.725426+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.725624+0200 app[666:70371] [javascript] compatible_brands:
2021-11-15 23:52:20.725820+0200 app[666:70371] [javascript] isomiso2mp41
2021-11-15 23:52:20.726026+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.726230+0200 app[666:70371] [javascript] encoder :
2021-11-15 23:52:20.726427+0200 app[666:70371] [javascript] Lavf58.48.100
2021-11-15 23:52:20.726624+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.726827+0200 app[666:70371] [javascript] Duration:
2021-11-15 23:52:20.727025+0200 app[666:70371] [javascript] 00:00:28.65
2021-11-15 23:52:20.727230+0200 app[666:70371] [javascript] , start:
2021-11-15 23:52:20.727428+0200 app[666:70371] [javascript] 0.000000
2021-11-15 23:52:20.727627+0200 app[666:70371] [javascript] , bitrate:
2021-11-15 23:52:20.727829+0200 app[666:70371] [javascript] 93 kb/s
2021-11-15 23:52:20.728025+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.728220+0200 app[666:70371] [javascript] Stream #1:0
2021-11-15 23:52:20.728414+0200 app[666:70371] [javascript] (eng)
2021-11-15 23:52:20.728733+0200 app[666:70371] [javascript] : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 91 kb/s
2021-11-15 23:52:20.728941+0200 app[666:70371] [javascript] (default)
2021-11-15 23:52:20.729134+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.729339+0200 app[666:70371] [javascript] Metadata:
2021-11-15 23:52:20.729593+0200 app[666:70371] [javascript] handler_name :
2021-11-15 23:52:20.729799+0200 app[666:70371] [javascript] SoundHandler
2021-11-15 23:52:20.729992+0200 app[666:70371] [javascript] 
2021-11-15 23:52:20.730261+0200 app[666:70371] [javascript] FFmpeg process exited with rc=1.
2021-11-15 23:52:20.731495+0200 app[666:70371] [javascript] Unable to find a suitable output format for 'ffmpeg'
2021-11-15 23:52:20.731715+0200 app[666:70371] [javascript] ffmpeg: Invalid argument