2015-10-08 3:55 GMT+08:00 Reuben Martin <[email protected]>:

> Is there any way to transcode an h264 stream, but retain the frame type and
> GOP structure of the origional? Preferably in real time with a live stream
> without haveing to dump the frame data to a file or some other type or
> pre-pass analysis.
>

you can try this command line
ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c copy -f flv output.flv

or

ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c:v copy -f mp4 output.mp4
or

ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -vcodec copy -f mpegts
output.ts
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to