Hi,
I spent a long hours searching for the answer to the question how to swap the video and audio streams in output mp4 container. Currently using this command
vlc -vvv input.mp4 --sout='#transcode{vcodec=h264,venc=x264{profile=baseline,level=3.0,nocabac,nobframes,ref=1},deinterlace,vb=1560,scale=1,aspect=4:3,padd=true,vfilter=canvas{width=1024,height=768},acodec=mp4a,ab=128,channels=2,samplerate=44100}:file{dst="output.mp4"}'
I always get such a result that Audio stream is a stream 0 and Video stream is stream 1. In source file Video is stream 0 and Audio is stream 1. Is there a possibility to have the output file with the same stream order?
Kind regards,
ToM