<p>Place the <code>-c copy</code> before <code>-c:v libx264</code>. See <a href="https://superuser.com/a/1219824">https://superuser.com/a/1219824</a></p>

CC BY-SA 4.0
2019-01-24T14:36:09.900Z
2019-01-24T14:36:09.900Z
Gyan
<p>I'm aiming to reduce the bit rate of a video contained in a transport stream.
The command (ffmpe.exe) is as follows :</p>

<pre><code>ffmpeg -i "udp://127.0.0.1:40101" -map 0:v -c:v libx264 -b:v 256k -maxrate 256k -bufsize 256k -map 0:d -c copy -f mpegts "udp://127.0.0.1:10101"
</code></pre>

<p>The result is a tranport stream with the same bit rate.
What I'm doing wrong?
Thank you.
sb</p>

<ffmpeg>
ffmpeg : how to reduce bit rate of transport stream
J M
# ffmpeg : how to reduce bit rate of transport stream

(Asked by: username_0 on 2019-01-24)

I'm aiming to reduce the bit rate of a video contained in a transport stream.
The command (ffmpe.exe) is as follows :
ffmpeg -i "udp://127.0.0.1:40101" -map 0:v -c:v libx264 -b:v 256k -maxrate 256k -bufsize 256k -map 0:d -c copy -f mpegts "udp://127.0.0.1:10101"

The result is a tranport stream with the same bit rate.
What I'm doing wrong?
Thank you.
sb

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2019-01-24. Score: 0

Place the `-c copy` before `-c:v libx264`. See <https://superuser.com/a/1219824>


---

