On Sat, Oct 10, 2015 at 17:15:41 +0800, Steven Liu wrote: > 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?
> you can try this command line > ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c copy -f flv output.flv > ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -c:v copy -f mp4 output.mp4 > ffmpeg -i rtmp://xxx.xxx.xxx.xxx/live/stream -vcodec copy -f mpegts output.ts None of those command lines fulfills the original poster's wish to transcode. Moritz _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
