Using ffmpeg to demux an h264 stream from a .flv video always gives me a stream which I cannot remux into a .mp4 container (using either MP4Box from package *gpac), or ffmpeg). Here is the demuxing command which produces the invalid stream..  (Unknown format)   ffmpeg -i (h264-aac).flv  # get stream info  # Stream #0.0: Video: h264, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 259 kb/s, 29.97 tbr, 1k tbn, 59.94 tbcffmpeg -y -map 0.0 -vcodec copy -an -i (h264-aac).flv \                                         (h264-aac).flv.h264 I've also tried it  with: -f h264, but get the same error.  The above command works when run against a video in a .mp4 container, so maybe this is something specific to flv(?).The closest I've come to isolating the h264 video stream is with the following command; but it wraps the stream in an flv container which has lost its aspect ratio....  ffmpeg -y -map 0.0 -vcodec copy -an -i (h264-aac).flv \                                         (h264-aac).flv.NEW.flv Is there some way to grab this video stream?  PS.  I've treid with several different input .flv vids, ...same error.
Is there a way to demux a h264 video stream from an flv (h264, aac)?
video;ffmpeg