I use following command to stream an online video link
ffmpeg -i "source link" -c copy -t 20 output.mkv
It worked well on my win10 PC, then a few days ago, I tried this on a new PC with Ubuntu installed,it returned following error
Error parsing AAC extradata, unable to determine samplerate
If I omit "-c copy" in the command, it worked on Ubuntu, but the output video is re-encoded which is not my requirement.
Does anybody know how to make Ubuntu do the same as win10?