The ffmpeg
is sensitive to the order of the arguments, therefore if you want to specify any kind of source modifier parameters (e.g. -headers
, -cookies
, -referer
) you have to write it before the -i <SROURCE>
!
The current integration has an extra_arguments
parameter that is suitable for configuring the transcoding but unfortunately, it can’t use to change anything on the source side.
Examples
Not working
ffmpeg \
-i 'http://www.idokep.hu/idokepradar/public_radar_terkep.mp4' \
-referer 'http://www.idokep.hu/' \
'out.mp4'
Working
ffmpeg \
-referer 'http://www.idokep.hu/' \
-i 'http://www.idokep.hu/idokepradar/public_radar_terkep.mp4' \
'out.mp4'