[FFmpeg-user] UDP Packet size option
damian at artnmedia.pl
Mon Oct 13 09:56:10 CEST 2014
Hey, verify packets size with Wireshark.
You can also add -flush_packets 0, to be sure that all packets will have
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org]
On Behalf Of Sajjad Moshen
Sent: Sunday, October 12, 2014 4:35 AM
To: ffmpeg-user at ffmpeg.org
Subject: [FFmpeg-user] UDP Packet size option
I've been trying to get my decoder to read my UDP feed but for some odd
reason it doesn't like when I add the ?pkt_size=1316 option to my unicast
>From reading around I am aware that I can recompile ffmpeg with a custom MTU
setting to ensure I can get the desired packet size, however my question is
if there is another way to insert the MTU override setting in the CLI
without placing it right at the end of the stream?
ffmpeg -re -i rtmp://x -vcodec mpeg2video -r 25 -flags cgop+ilme
-sc_threshold 1000000000 -b:v 2M -minrate:v 2M -maxrate:v 2M -bufsize:v 0.2M
-muxrate 2.5M -acodec mp2 -ac 2 -b:a 224k -f mpegts udp://
Thanks in advance.
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user