I've seen many posts like this around the net and I've yet to see syntax to do this.
Please post an example of ffmpeg syntax to do this.
Thanks.
Agreed.
Through trial and error, I found a few combinations that certainly appear to re-wrap the file without re-encoding. But, I'm positive I could do better if I knew what I was doing. I haven't had any success with h.264 (x264).
This example re-wraps 1080/60i to MPEG4, preserving the AC3 audio (MediaInfo reports the output as progressive, but the framerate is 29.97 - 59.94?):
ffmpeg -i E:\Media\Pictures\2009\000000.m2ts -vcodec mpeg4 -sameq -deinterlace -acodec copy E:\Media\Pictures\2009\000000.mp4
The key to re-wrapping vs. re-encoding appears to be the 'sameq' switch. The 'copy' switch preserves the original stream as-is.