How to convert .h264 videos to .asf format.
Converting H.264 Encoded Video Files directly to Advanced Systems Format Files (.h264 to .asf conversion) should be possible and quite straightforward.
Use one of several video editing programs or (online) conversion tools, such as the MediaCoder or FFmpeg, which allow users to import H264 videos and re-save them in ASF format.
Video converting software