[FFmpeg-user] problem of transcoding HD DVB-T program

Soundwin / Andy andy.cheng at soundwin.com
Tue Jun 10 03:48:59 CEST 2014

Hi guys, this is my first time to use the ffmpeg mailing list.

I modify the DVR_BUFFER_SIZE  of drivers/media/dvb/dvb-core/dmxdev.h to
10000*188*1024 (original is 10*188*1024) due to HD program issue.

So, I can use tzap and ffmpeg to stream the HD program now.

However, I use the command to stream program


/usr/bin/tzap -a 1 -c /home/andy/channels.conf -o - -r -p "D" |
/home/andy/ffmpeg -f mpegts -i pipe:0 -c:v libx264 -preset medium -crf 23
-bufsize 3000K -minrate 1200k -maxrate 1200k -pix_fmt yuv420p -g 50 -s
1024x768 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 -f mpegts
udp:// &


The command always make troubles, after a random time(within 60 minutes),
the transcoding process will be abnormal.

The ffmpeg doesn't stop, but it drops all frames, and no video output.

How can I fix the problem?

Thank a lot!!!


More information about the ffmpeg-user mailing list