Sorry for re-posting the patch twice. To send to the mailing list I had
to change the settings of my local postfix and made a mistake.
Anyway, just for convenience providing the list of changes since the
previous revision of the patch:
< on fly. This commit add possibility to use it.
---
> on fly. This commit adds capability to use it.
32c15
< ffmpeg -listen 1 -i rtmp://0.0.0.0:1935/live/myStream -c:v
hevc_mediacodec -bitrate_ctrl_socket /run/bitrate.sock -b:v 8M -f rtsp
rtsp://127.0.0.1:1935/live/reEncoded
---
> ffmpeg -f flv -i rtmp://0.0.0.0:1935/live/myStream -c:v
hevc_mediacodec -bitrate_ctrl_socket /run/bitrate.sock -b:v 8M -f flv
rtmp://127.0.0.1:1935/live/reEncoded
34c17
< An example of changing the bitrate to 1000 BPS:
---
> An example of changing the bitrate to 1000 Kbps:
36c19
< printf '%016X' 1000 | xxd -r -p | socat -u STDIN
UNIX:/run/bitrate.sock
---
> printf '%016X' 1000000 | xxd -r -p | socat -u STDIN
UNIX:/run/bitrate.sock
66c49
< index 96c886666a..fa288b2acc 100644
---
> index 96c886666a..fe0e291cad 100644
93c76
< + const FFAMediaFormat* format_ctx)
---
> + const FFAMediaFormat *format_ctx)
131,132c114,115
< +static int mediacodec_ndk_setParameters(FFAMediaCodec* ctx,
< + const FFAMediaFormat* format_ctx)
---
> +static int mediacodec_ndk_setParameters(FFAMediaCodec *ctx,
> + const FFAMediaFormat *format_ctx)
Please let me know if I should've amended the patch differently. I'm a
spoiled GitHub person, so I'm open to guidance/feedback :)
Best regards, Dmitrii.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".