[Libav-user] Transcoding MPES-TS to MPES-TS and some packet drops

Alexander Drozdov adrozdoff at gmail.com
Tue Feb 18 00:33:23 CET 2014


Hi,

We try to transcode MPEG-TS(mpeg2video/mp2 audio) stream to
MPEG-TS(h264/aac) and found that some packets drops from output stream,
like:
0x0010 NIT
0x0012 EIT
0x0013 RST
0x0014 TDT/TOT

Is it possible to replicate it at output stream? If source code
modification is needed, any recomendations is velcomed also.

Main purpose: show program schedule.

Next command line is used:
ffmpeg -i input.ts -strict experimental -dts_delta_threshold 1000 -map 0:0
-map 0:1 -c:v h264 -x264opts force-cfr -filter:v yadif -vprofile baseline
-level 3.0 -preset veryfast -tune film -g 25 -bufsize 2048k -b:v 1024k
-maxrate 1500k -r 25 -bsf:v h264_mp4toannexb -c:a aac -b:a 128K -ar 44100
-ac 2 -async 1 -isync -af aresample=async=1000 -threads 2 -flags
-global_header -f mpegts out.ts


-- 
WBR, Alexander Drozdov
http://htrd.su
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140218/b287cff3/attachment.html>


More information about the Libav-user mailing list