VideoHelp Forum


Try DVD Fab Video Downloader and rip Netflix video! Or Try DVD Fab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. I know the frame number and the size of the VOB file in bytes.

    How can I find out the byte location of the frame ?

    ie frame 1984 starts at location 68036600 bytes

    cheers
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Yes, I know this is an almost 10 year old thread, but since I have searched for days before finding a good method to do just what is asked here, I thought I'd include it in case anyone else is looking. It works on most of the types I've tried it on so far.

    You will need the ffmpeg.exe file and run the following command which will produce a report which will show all the frame numbers and their actual file location(just behind the necessary 08 tag):

    ffmpeg-20130314 -report -i "section1.flv" -vf showinfo -t 10 showinfo.flv
    creates a Key frame position report for 10 seconds
    OR
    ffmpeg-20130314 -report -i "section1.flv" -vf showinfo showinfo.flv
    creates report for whole video

    The report will look similar to below but with a lot more information. The highlighted areas show the type file (iskey=1 means key frame) and the byte position of the start of the frame:

    Stream mapping:
    Stream #0:0 -> #0:0 (vp6f -> flv)
    Stream #0:1 -> #0:1 (mp3 -> libmp3lame)
    Press [q] to stop, [?] for help
    [Parsed_showinfo_0 @ 038b2f40] n:0 pts:0 pts_time:0 pos:4925 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:1 type:I checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:1 pts:66 pts_time:0.066 pos:40170 fmt:yuv420p sar:0/1 s:800x600 i:Piskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:2 pts:133 pts_time:0.133 pos:40958 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:3 pts:200 pts_time:0.2 pos:41513 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:4 pts:266 pts_time:0.266 pos:42293 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:5 pts:333 pts_time:0.333 pos:42848 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:6 pts:400 pts_time:0.4 pos:43628 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:7 pts:466 pts_time:0.466 pos:44183 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:8 pts:533 pts_time:0.533 pos:44963 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    [Parsed_showinfo_0 @ 038b2f40] n:9 pts:600 pts_time:0.6 pos:45518 fmt:yuv420p sar:0/1 s:800x600 i:P iskey:0 type:P checksum:C5EB656E plane_checksum:[728C048D FA1883B7 8BEFDD1B]
    Quote Quote  



Similar Threads