Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I stop my ffmpeg re-stream from crashing? I'm running the following command in a .BAT file:

ffmpeg -i "RTMP://IPADDRESS:1935/LIVE/STREAMNAME.STREAM pageUrl=http://URL.COM swfurl= live=1" -isync  -vcodec copy -b:v 400k -acodec copy -b:a 128000 -ar 32000 -f flv "rtmp://IP:1935/LIVE/CHANNELNAME"
goto loop

Is there anything wrong with this line of code other than than the links I put for demonstration purposes?

It keeps crashing – something about DTS codec. Maybe I should use something other than "copy" for audio codecs?

share|improve this question
It does not make sense to try to copy a stream and setting its sample and bit rate. Can you leave out the -acodec copy? What is the full error log? Please always include this. – slhck Jul 12 '13 at 13:34
Hi If I leave out acodec copy it throws an error. – James Barnes Jul 12 '13 at 18:36
What error would that be? Again, please show the error log – we cannot guess what the problem is without seeing ffmpeg's full, uncut console log. – slhck Jul 12 '13 at 18:39
Can we text chat on skype or something? Thanks – James Barnes Jul 12 '13 at 18:51
I don't have persistent Internet connection at the moment, sorry. Also, for the benefit of future visitors it'd be better to try and solve the issue here – there are some other FFmpeg experts who might have an idea what's going on! – slhck Jul 12 '13 at 19:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.