
Recherche avancée
Autres articles (59)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (3438)
-
ffmpeg png overlay to mp4 color is not correct [closed]
14 août 2023, par PGTI'm trying to overlay some subs on an .mp4 file using the following command :


ffmpeg -y -i count5.mp4 -i subs1.png -i subs2.png \
-filter_complex "[0][1]overlay=enable=between(t\,1\,2):x=0:y=0[out]; \
[out][2]overlay=enable=between(t\,3.5\,4.6):x=0:y=0[out]" \
-map [out] -map 0:a? new.mp4



It works, but the subtitle colors are not correct :
Here is the overlay :




Here is how it looks on the .mp4 output :




Looks like it turned a little pink or orange. Maybe the better question is how do I maintain the correct video quality ? I have very limited knowledge of video formats and ffmpeg so not sure where to start debugging or the right keywords to use.


Finder tells me the png is color profile
sRGB IEC61966-2.1
and the video isHD (1-1-1)


-
What are supported ffmpeg rtp_mpegts Muxer options ? (mpegts Muxer options are ignored)
7 mars 2020, par drake7I created a UDP stream with
-f mpegts
and some options like-mpegts_transport_stream_id
.I received the stream with "StreamXpert - Real-time stream analyzer" that shows all options are in the output. See my ffmpeg parameters and the StreamXpert at the end.
The same Muxer options seem to be ignored with
-f rtp_mpegts
.I have tried to use
-f mpegts
and pipe it to-f rtp_mpegts
like so :ffmpeg -i ... -f mpegts pipe: | ffmpeg pipe: -c copy -f rtp_mpegts "rtp://239.1.1.9:1234?pkt_size=1316"
The options are still ignored.
This ticket "support options for MPEGTS muxer when using RTP_MPEGTS" also notices the ignored option. Furthermore in this comment, "thovo" gives an analysis and suggests a solution.
Obviously the problem still exists. Anybody found a workaround for this ?
My additional question : I have not questioned if my project really needs rtp in the first place. Maybe my coworker didn’t know better and requested rtp when udp would be sufficient as well.
The aim was to receive the RTP stream with a TV using DVB via IP. This was successful an a Panasonic TV.
The SAT>IP Specification on page 10 requires rtp for Media Transport :
The SAT>IP protocol makes use of :
- UPnP for Addressing, Discovery and Description,
- RTSP or HTTP for Control,
- RTP or HTTP for Media Transport.
Is udp out of the equation ?
ffmpeg : (all options are in the output with
-f mpegts
)(HEX to decimal :
0x005A
=90
,0x005B
=91
0x005C
=92
,0x005D
=93
,0x005E
=94
)ffmpeg -f lavfi -i testsrc \
-r 25 \
-c:v libx264 \
-pix_fmt yuv420p \
-profile:v main -level 3.1 \
-preset veryfast \
-vf scale=1280:720,setdar=dar=16/9 \
-an \
-bsf:v h264_mp4toannexb \
-flush_packets 0 \
-b:v 4M \
-muxrate 8M \
-pcr_period 20 \
-pat_period 0.10 \
-sdt_period 0.25 \
-metadata:s:a:0 language=nya \
-mpegts_flags +pat_pmt_at_frames \
-mpegts_transport_stream_id 0x005A \
-mpegts_original_network_id 0x005B \
-mpegts_service_id 0x005C \
-mpegts_pmt_start_pid 0x005D \
-mpegts_start_pid 0x005E \
-mpegts_service_type advanced_codec_digital_hdtv \
-metadata service_provider='WI' \
-metadata service_name='W' \
-mpegts_flags system_b -flush_packets 0 \
-f mpegts "udp://239.1.1.10:1234?pkt_size=1316"StreamXpert Output :
-mpegts_transport_stream_id
=Transport Stream ID
(yellow text highlight)-mpegts_original_network_id
=Original Network ID
,onw
(green text highlight)-mpegts_service_id
=Program
,service
(pink text highlight)-mpegts_pmt_start_pid
=PMT PID
,Table PID
(turquoise text highlight)-mpegts_start_pid
=PID
,PCR PID
(red text highlight)-mpegts_service_type
=service type
(blue text)service_name
=Service name
(orange text)service_provider
=Service provider
(pink text) -
is it legal/free to use ffmpeg to decode wma/mms stream in a commercial ios app ? [on hold]
12 mars 2014, par Greg314I've been looking for hours but can't find a simple answer to this question : is it legal/free to use ffmpeg to decode wma/mms stream in a commercial ios app ?
the ffmpeg website clearly states there are legal issues http://www.ffmpeg.org/legal.html
some people say issues relate to AAC and H264 Licensing questions
I just need to know if I can use ffmpeg freely to read wma (mms) stream in an ios app, or if I need to pay royalties to Microsoft for that (quite expensive : http://wmlicense.smdisp.net/filePU/WM%20Components%20Final%20Product%20Agreement%20-%20SAMPLE%20%20(10-05-2012).pdf)
thanks for your help !
regards