Ops Sorry first packet frame form mpeg2 is wrong here the correct one :) [PACKET] codec_type=video stream_index=0 pts=45000 pts_time=0.500000 dts=41246 dts_time=0.458289 duration=3753 duration_time=0.041700 size=14838 pos=30 flags=K [/PACKET]
--- Pada Ming, 15/4/12, Yulius Candra <[email protected]> menulis: Dari: Yulius Candra <[email protected]> Judul: Re: [Libav-user] PTS And DTS get Kepada: " libavformat libavutil libavdevice and libavfilter.This list is about using libavcodec" <[email protected]> Tanggal: Minggu, 15 April, 2012, 10:02 PM Well, here the result of first frame form ffprobe Mpeg 2 [PACKET] codec_type=audio stream_index=1 pts=45000 pts_time=0.500000 dts=45000 dts_time=0.500000 duration=2351 duration_time=0.026122 size=417 pos=2048 flags=K [/PACKET] And first frame of mpeg 4 [PACKET] codec_type=video stream_index=0 pts=0 pts_time=0.000000 dts=0 dts_time=0.000000 duration=1 duration_time=0.041667 size=3321 pos=44 flags=K [/PACKET] Best Regards, Yulius. --- Pada Ming, 15/4/12, Nicolas George <[email protected]> menulis: Dari: Nicolas George <[email protected]> Judul: Re: [Libav-user] PTS And DTS get Kepada: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <[email protected]> Tanggal: Minggu, 15 April, 2012, 9:26 PM Le septidi 27 germinal, an CCXX, Yulius Candra a écrit : > Hello,, When i try build a player video for mpeg 1,2,4..there something > that make me wonder, when i try sync a frame with timing then i get pts > and dts but first frame in mpeg 1,2 i get value pts and pts too large then > if i multiply with timebase i will get big delay. but that case not happen > in mpeg 4 . is there any explanation? or any calculaction for timing in > mpeg 1,2? Can you tell where the file comes from exactly? Also can you show the output of ffmpeg, the command-line tool, when it tries to read that file? You may also want to try ffprobe -show_packets. Regards, -- Nicolas George -----Berikut adalah Lampiran dalam Pesan----- _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user -----Berikut adalah Lampiran dalam Pesan----- _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
