[FFmpeg-user] Transcoded stream video freezing

Loadlinx limiteddi at gmail.com
Sun Jan 12 02:31:42 CET 2014

I am transcoding mpeg2ts/mpga into H264/AAC through nginx and video freezes
every 10 seconds for 2-3 seconds. CPU is only at 20% so it doesn't look
like it is hardware resource issue. Same source I was able to transcode on
old Pentium 4 on the old system but that was through ffmpeg. This one is
2x4 core 2.6MHZ CPUs

Here is the command line
/ffmpeg -re -i -vcodec libx264 -b:v 800k -b:a 32k
-s 352x240 -acodec libfdk_aac -ar 44100 -ac 1 -f flv rtmp://

Any ideas how I can remove the freezing?

Info on source:

Stream 0
Type: Video
Codec: MPEG-1/2 Video (mpgv)
Resolution: 720x480
Frame rate: 29.970029
Decoded format: Planar 4:2:0 YUV

Stream 1
Type: Audio
Codec: MPEG Audio layer 1/2/3 (mpga)
Channels: Stereo
Sample rate: 48000 Hz
Bitrate: 128 kb/s

Stream 2
Type: Audio
Original ID: 130
Codec: A52 Audio (aka AC3) (a52 )

More information about the ffmpeg-user mailing list