> I use the following ffmpeg command, but fali to copy private data. How can I > copy the private stream directly into flv file? > > > ffmpeg -i input.ts -map 0:2 -c copy -bsf:a aac_adtstoasc -copy_unknown -f > data -f flv output.flv >
> Input #0, mpegts, from 'input.ts': > Duration: 00:00:13.28, start: 0.700000, bitrate: 2219 kb/s > Program 1 > Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), > yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 > tbr, 90k tbn, 50 tbc > Stream #0:1[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, > stereo, fltp, 122 kb/s > No Program > Stream #0:2[0x1fff]: Unknown: none > [flv @ 0x53bd4c0] Codec type '(null)' for stream 0 is not compatible with FLV > Could not write header for output file #0 (incorrect codec parameters ?): > Invalid argument > Stream mapping: > Stream #0:2 -> #0:0 (copy) > Last message repeated 1 times > Does this work if you try to do a copy to another ts file? Is your private data elementary stream is included in the PAT of the TS header? _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".