[FFmpeg-user] ffmpeg on low power hardware

John Saturday stozher at gmail.com
Thu Feb 23 04:35:43 CET 2012


Sorry but your rtsp stream (video and audio) is a very badly or
scrambled like with a Macrovision. Only work two step encoding:

ffmpeg -vsync 2 -async 1 -i "rtsp://.../stream.mp4" -f matroska -c:v
rawvideo -r:v 25 -c:a pcm_s16le stream.mkv

ffmpeg -vsync 0 -async 1 -i stream.mkv -f mp4 -c:v libx264 -b:v 1040k
-r:v 25 -c:a libfaac -b:a 128k output.mp4

See your stream errors:

ffmpeg -vsync 2 -async 1 -i "rtsp://.../stream.mp4" -f mp4 -c:v
libx264 -an -y /dev/null

concealing 239 DC, 239 AC, 239 MV errorskB time=00:00:04.32 bitrate=
0.0kbits/s
[h264 @ 0x28aa460] concealing 299 DC, 299 AC, 299 MV errors
concealing 559 DC, 559 AC, 559 MV errorskB time=00:00:06.84 bitrate=
0.0kbits/s
concealing 513 DC, 513 AC, 513 MV errorskB time=00:00:07.44 bitrate=
0.0kbits/s
concealing 723 DC, 723 AC, 723 MV errorskB time=00:00:07.68 bitrate=
0.0kbits/s
concealing 247 DC, 247 AC, 247 MV errorskB time=00:00:08.00 bitrate=
0.0kbits/s
[h264 @ 0x28ef200] concealing 623 DC, 623 AC, 623 MV errors
concealing 389 DC, 389 AC, 389 MV errorskB time=00:00:08.28 bitrate=
0.0kbits/s
[h264 @ 0x28ef200] concealing 493 DC, 493 AC, 493 MV errors
concealing 630 DC, 630 AC, 630 MV errorskB time=00:00:08.60 bitrate=
0.0kbits/s
...

No pain, no gain... That's all.


More information about the ffmpeg-user mailing list