I have an H.264 file which, if I read sequentially without using
seek_av_frame, is fine and all frames are decoded OK.

 

However, if I attempt to seek into the middle of the file and then read
sequential frames, the library raises all sorts of errors (see below - a
mixture of debug output from Libav and my own application)

 

Can anyone tell me what is going on here. There's obviously nothing too
wrong with the file since it can be read from head to tail OK.

 

I am using ffmpeg-0.5.

I tried downloading the latest snapshot release but keep getting
undefined symbol sws_scaler when I try and configure/compile it.

 

!SEEKING BACKWARDS for 984 timestamp 4579469878
 [h264 @ 0x5ed000]non-existing SPS 32 referenced in buffering period
[h264 @ 0x5ed000]non-existing PPS referenced
[h264 @ 0x5ed000]number of reference frames exceeds max (probably
corrupt input), discarding one
    Last message repeated 5 times
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[995] (seek 999), buffer z0, packet pts 4579506073 dts
4579506073, fn 78, key 0, fps 29.970030
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[996] (seek 999), buffer z0, packet pts 4579509078 dts
4579509078, fn 79, key 0, fps 29.970030
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[997] (seek 999), buffer z0, packet pts 4579512080 dts
4579512080, fn 80, key 0, fps 29.970030
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[998] (seek 999), buffer z0, packet pts 4579515083 dts
4579515083, fn 81, key 0, fps 29.970030
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[999] (seek 999), buffer z0, packet pts 4579518087 dts
4579518087, fn 82, key 0, fps 29.970030
[h264 @ 0x5ed000]non-existing PPS referenced
[mpegts @ 0x5dab90]invalid dts/pts combination
!Decoded[1000] (seek 999), buffer z0, packet pts 4579521088 dts
4579521088, fn 83, key 0, fps 29.970030
!Decoded[1001] (seek 999), buffer z0, packet pts 4579524091 dts
4579524091, fn 84, key 0, fps 29.970030
!!!Key frame 1002 (from z 984, to z 999)
!!!Got first key 1002 AFTER first frame requested 984
!Decoded[1002] (seek 999), buffer z0, packet pts 4579527095 dts
4579527095, fn 85, key 1, fps 29.970030
!Decoded[1003] (seek 999), buffer z1, packet pts 4579530097 dts
4579530097, fn 86, key 0, fps 29.970030
!Decoded[1004] (seek 999), buffer z2, packet pts 4579533100 dts
4579533100, fn 87, key 0, fps 29.970030
!Decoded[1005] (seek 999), buffer z3, packet pts 4579536104 dts
4579536104, fn 88, key 0, fps 29.970030
!Decoded[1006] (seek 999), buffer z4, packet pts 4579539106 dts
4579539106, fn 89, key 0, fps 29.970030
!Decoded[1007] (seek 999), buffer z5, packet pts 4579542109 dts
4579542109, fn 90, key 0, fps 29.970030
!Decoded[1008] (seek 999), buffer z6, packet pts 4579545113 dts
4579545113, fn 91, key 0, fps 29.970030
!Decoded[1009] (seek 999), buffer z7, packet pts 4579548119 dts
4579548119, fn 92, key 0, fps 29.970030
!Decoded[1010] (seek 999), buffer z8, packet pts 4579551121 dts
4579551121, fn 93, key 0, fps 29.970030
!Decoded[1011] (seek 999), buffer z9, packet pts 4579554124 dts
4579554124, fn 94, key 0, fps 29.970030
!Decoded[1012] (seek 999), buffer z10, packet pts 4579557128 dts
4579557128, fn 95, key 0, fps 29.970030
!Decoded[1013] (seek 999), buffer z11, packet pts 4579560130 dts
4579560130, fn 96, key 0, fps 29.970030
!Decoded[1014] (seek 999), buffer z12, packet pts 4579563133 dts
4579563133, fn 97, key 0, fps 29.970030
!Decoded[1015] (seek 999), buffer z13, packet pts 4579566137 dts
4579566137, fn 98, key 0, fps 29.970030
!Decoded[1016] (seek 999), buffer z14, packet pts 4579569143 dts
4579569143, fn 99, key 0, fps 29.970030
!!!Key frame 1017 (from z 984, to z 999)
!Decoded[1017] (seek 999), buffer z15, packet pts 4579572143 dts
4579572143, fn 100, key 1, fps 29.970030
!Loaded 15 frames into buff[1] (1002 to 1016) spare [0] (0 to 14)
 

 

Gary Smart 
Goodrich ISR Systems
Malvern Hills Science Park
Geraldine Road
Malvern, Worcestershire
WR14 3SZ, UK
Tel: 01684 585342
Fax: 01684 585367
Email: [email protected] <mailto:[email protected]> 
Web: www.Goodrich.com <http://www.goodrich.com/>  

P Please consider the environment before printing this email. 

NOTICE: This e-mail transmission (and/or the attachments accompanying
it) may contain confidential or proprietary information belonging to
Goodrich Corporation. The information is only for the use of the
intended recipient. If you are not the intended recipient you are hereby
notified that any disclosure, copying, distribution or the taking of any
action in reliance on the contents of this information is strictly
prohibited. Any unauthorized interception of this transmission is
illegal under the law. If you have received this transmission in error,
please promptly notify the sender by reply e-mail, and then destroy all
copies of the transmission

 

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to