VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Member
    Join Date
    Mar 2006
    Location
    Denmark
    Search Comp PM
    Hey folks

    I have a question you might be able to answer me..

    I have this mpg, its 25 fps, 20.000 seconds, 500 frames , this is the info i get from Mediainfo and Gspot.

    When i try to convert the video to jpg

    Code:
    ffmpeg -i myVideo.mpg -y frame%%03d.jpg
    Only 494 frames is outputted! why is that?


    Originally Posted by MediaInfo
    General
    Count : 259
    Count of stream of this kind : 1
    Kind of stream : General
    Kind of stream : General
    Stream identifier : 0
    Count of video streams : 1
    Count of audio streams : 1
    Video_Format_List : MPEG Video
    Video_Format_WithHint_List : MPEG Video
    Codecs Video : MPEG-2 Video
    Audio_Format_List : MPEG Audio
    Audio_Format_WithHint_List : MPEG Audio
    Audio codecs : MPEG-1 Audio layer 3
    Complete name : c:\xxx\xxx\xxx\myVideo.mpg
    Folder name : c:\xxx\xxx\xxx
    File name : myVideo.mpg
    File extension : mpg
    Format : MPEG-PS
    Format : MPEG-PS
    Codec : MPEG-PS
    Codec : MPEG-PS
    File size : 5197824
    File size : 4.96 MiB
    File size : 5 MiB
    File size : 5.0 MiB
    File size : 4.96 MiB
    File size : 4.957 MiB
    Duration : 20000
    Duration : 20s 0ms
    Duration : 20s 0ms
    Duration : 20s 0ms
    Duration : 00:00:20.000
    Overall bit rate : 2079129
    Overall bit rate : 2 079 Kbps
    Stream size : 212899
    Stream size : 208 KiB (4%)
    Stream size : 208 KiB
    Stream size : 208 KiB
    Stream size : 208 KiB
    Stream size : 207.9 KiB
    Stream size : 208 KiB (4%)
    Proportion of this stream : 0.04096
    File creation date : UTC 2009-12-23 19:53:04.468
    File creation date (local) : 2009-12-23 20:53:04.468
    File last modification date : UTC 2009-05-18 14:08:52.000
    File last modification date (loc : 2009-05-18 15:08:52.000

    Video
    Count : 148
    Count of stream of this kind : 1
    Kind of stream : Video
    Kind of stream : Video
    Stream identifier : 0
    ID : 224
    ID : 224 (0xE0)
    Format : MPEG Video
    Format version : Version 2
    Format profile : Main@Main
    Format settings, Matrix : Default
    Format settings, Matrix : Default
    Codec : MPEG-2V
    Codec : MPEG-2 Video
    Codec/Family : MPEG-V
    Codec profile : Main@Main
    Codec settings, Matrix : Default
    Duration : 20000
    Duration : 20s 0ms
    Duration : 20s 0ms
    Duration : 20s 0ms
    Duration : 00:00:20.000
    Bit rate mode : VBR
    Bit rate mode : Variable
    Bit rate : 1868588
    Bit rate : 1 869 Kbps
    Nominal bit rate : 2448000
    Nominal bit rate : 2 448 Kbps
    Width : 640
    Width : 640 pixels
    Height : 360
    Height : 360 pixels
    Pixel aspect ratio : 1.000
    Display aspect ratio : 1.778
    Display aspect ratio : 16:9
    Frame rate : 25.000
    Frame rate : 25.000 fps
    Frame count : 500
    Colorimetry : 4:2:0
    Scan type : Progressive
    Scan type : Progressive
    Interlacement : PPF
    Interlacement : Progressive
    Bits/(Pixel*Frame) : 0.324
    Delay : 240
    Delay : 240ms
    Delay : 240ms
    Delay : 240ms
    Delay : 00:00:00.240
    Delay_Original : 0
    Delay_Original_Settings : drop_frame_flag=0 / closed_gop=0 / broken_link=0
    Stream size : 4671469
    Stream size : 4.46 MiB (90%)
    Stream size : 4 MiB
    Stream size : 4.5 MiB
    Stream size : 4.46 MiB
    Stream size : 4.455 MiB
    Stream size : 4.46 MiB (90%)
    Proportion of this stream : 0.89874
    BufferSize : 229376

    Audio
    Count : 129
    Count of stream of this kind : 1
    Kind of stream : Audio
    Kind of stream : Audio
    Stream identifier : 0
    ID : 192
    ID : 192 (0xC0)
    Format : MPEG Audio
    Format version : Version 1
    Format profile : Layer 3
    Codec : MPA1L3
    Codec : MPEG-1 Audio layer 3
    Duration : 19591
    Duration : 19s 591ms
    Duration : 19s 591ms
    Duration : 19s 591ms
    Duration : 00:00:19.591
    Bit rate mode : CBR
    Bit rate mode : Constant
    Bit rate : 128000
    Bit rate : 128 Kbps
    Channel(s) : 2
    Channel(s) : 2 channels
    Sampling rate : 44100
    Sampling rate : 44.1 KHz
    SamplingCount : 863963
    Resolution : 16
    Resolution : 16 bits
    Delay : 240
    Delay : 240ms
    Delay : 240ms
    Delay : 240ms
    Delay : 00:00:00.240
    Video delay : 0
    Video0 delay : 0
    Stream size : 313456
    Stream size : 306 KiB (6%)
    Stream size : 306 KiB
    Stream size : 306 KiB
    Stream size : 306 KiB
    Stream size : 306.1 KiB
    Stream size : 306 KiB (6%)
    Proportion of this stream : 0.06031
    Quote Quote  
  2. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    Using your exact param string, it could be related to the version you are using. It worked for me, with this version, rev9767, but I don't know where you can download..try google.

    note, your posted string has two %% signs, only needs one, at least in my test, the two stopped with an error message.

    -vhelp 5298
    Quote Quote  
  3. Member
    Join Date
    Mar 2006
    Location
    Denmark
    Search Comp PM
    vhelp > thanks for even trying..

    the double %% is because i'm running the command from a bat. if i use single %, the name of the bat file is used in the filename.

    Hov can i check the rev of my FFMEG?
    Quote Quote  
  4. Member
    Join Date
    Mar 2006
    Location
    Denmark
    Search Comp PM
    vhelp > you were right!, i tried with a binary from megui, and it worked!
    Quote Quote  



Similar Threads