VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Nov 2019
    Location
    germany
    Search PM

    i want to know the fileposition and their formats of
    film time-length with frames
    width,height of the pic
    of mpg2,mp4,avi,mov

    is there a type to identify mp4,mpg2,avi,mov?
    Quote Quote  
  2. Member NiGHT-WiNG's Avatar
    Join Date
    May 2015
    Location
    Some sort of cave with bats flying around
    Search PM
    just use MediaInfo as it can give you all that info which you are asking for.
    Quote Quote  
  3. Member
    Join Date
    Nov 2019
    Location
    germany
    Search PM
    but i want to know the fileposition
    Quote Quote  
  4. Member NiGHT-WiNG's Avatar
    Join Date
    May 2015
    Location
    Some sort of cave with bats flying around
    Search PM
    Do you mean the whole filesize ? if so then mediainfo tells you that as well.
    Quote Quote  
  5. Member
    Join Date
    Nov 2019
    Location
    germany
    Search PM
    the position in the mp4-file of the width of the pic
    Quote Quote  
  6. batch file:
    Code:
    ffprobe -print_format json -show_frames %1 > %1.txt 2>&1
    Sample output:
    Code:
    {
        "frames": [
            {
                "media_type": "video",
                "stream_index": 0,
                "key_frame": 1,
                "pkt_dts": 160160,
                "pkt_dts_time": "0.133467",
                "best_effort_timestamp": 160160,
                "best_effort_timestamp_time": "0.133467",
                "pkt_duration": 60060,
                "pkt_duration_time": "0.050050",
                "pkt_pos": "0",
                "pkt_size": "101664",
                "width": 720,
                "height": 480,
                "pix_fmt": "yuv420p",
                "sample_aspect_ratio": "8:9",
                "pict_type": "I",
                "coded_picture_number": 0,
                "display_picture_number": 0,
                "interlaced_frame": 0,
                "top_field_first": 0,
                "repeat_pict": 1,
                "side_data_list": [
                    {
                        "side_data_type": "GOP timecode",
                        "timecode": "01:07:45:11"
                    }
                ]
            },
            {
                "media_type": "video",
                "stream_index": 0,
                "key_frame": 0,
                "pkt_pts": 220220,
                "pkt_pts_time": "0.183517",
                "pkt_dts": 220220,
                "pkt_dts_time": "0.183517",
                "best_effort_timestamp": 220220,
                "best_effort_timestamp_time": "0.183517",
                "pkt_duration": 40040,
                "pkt_duration_time": "0.033367",
                "pkt_pos": "178621",
                "pkt_size": "20555",
                "width": 720,
                "height": 480,
                "pix_fmt": "yuv420p",
                "sample_aspect_ratio": "8:9",
                "pict_type": "B",
                "coded_picture_number": 2,
                "display_picture_number": 0,
                "interlaced_frame": 0,
                "top_field_first": 1,
                "repeat_pict": 0
            },
    Quote Quote  



Similar Threads