Menu

#372 Disable automatic detection of images as video stream

open-accepted
None
3
2012-02-15
2012-02-15
EricV
No

file /multimedia/Photos/noirmoutier2009/IMG_1731.JPG
/multimedia/Photos/noirmoutier2009/IMG_1731.JPG: JPEG image data, EXIF standard

tri-yann3:/home/valette# mediainfo /multimedia/Photos/noirmoutier2009/IMG_1731.JPG
General
Complete name : /multimedia/Photos/noirmoutier2009/IMG_1731.JPG
Format : JPEG
File size : 123 MiB

Video
Format : JPEG
Width : 3 888 pixels
Height : 2 592 pixels
Display aspect ratio : 3:2
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Compression mode : Lossy
Stream size : 123 MiB (100%)

Discussion

  • EricV

    EricV - 2012-02-15

    ls -l /multimedia/Photos/noirmoutier2009/IMG_1731.JPG
    -rwxrwxrwx 1 valette valette 4091526 févr. 15 2009 /multimedia/Photos/noirmoutier2009/IMG_1731.JPG

    Sorry I cannot upload the jpeg due to its size.

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15

    This is a wanted "feature": when there are several (more than 24, arbitrary choice) files with consecutive numbers (IMG_1731.JPG, IMG_1732.JPG, IMG_1733.JPG...), MediaInfo considers that this is a video stream with one file per image, and the size is the total size of the images (IMG_1731.JPG up to the last file).

    This kind of "stream" is often used in professional systems, and I did not currently find a way to differentiate consecutive video frames from camcorder and pictures from a camera.

    I don't plan to change this behavior (maybe an option to deactivate the feature?)

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15
    • status: open --> closed-wont-fix
     
  • EricV

    EricV - 2012-02-15

    Given the fact that by default numbering is incremented by one, this is a crasy assumption. My digital camera is not even able to generate MJPEG!

    So at least give an option that can be passed up to the library

     
  • EricV

    EricV - 2012-02-15

    besides, even if I call it on a single photo it says the same thing!

     
  • EricV

    EricV - 2012-02-15

    It even more crasy as if I understand correctly calling mediainfo on the same file but simply moving the file to annother directory result will be diffreent.

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15

    > Given the fact that by default numbering is incremented by one, this is a
    crasy assumption.

    This is an asumption that people who pay me to implement such feature have.
    As I said, I can not make the difference between a camcorder recording 1 frame per file and your camera. MediaInfo is not used a lot for stand alone images, this is not my priority.

    > besides, even if I call it on a single photo it says the same thing!

    In a repertory without the other files?

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15
    • summary: mediainfo 0.7.53 report jpeg file as video with wrong size --> Disable automatic detection of images as video stream
    • milestone: 504099 -->
    • labels: 553241 -->
    • status: closed-wont-fix --> open-accepted
     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15

    Changed to feature request: option for disabling the automatic detection consecutive image files as a video stream.

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15

    Accepted.

    Warning: non-paid feature request are set to low priority, I don't know when I have time to handle it.
    If you desire to accelerate the development, don't hesitate to contact me for a quotation.

     
  • Jerome Martinez

    Jerome Martinez - 2012-02-15
    • priority: 5 --> 3
     
  • EricV

    EricV - 2012-02-15

    BTW: you have seen many camera producing 3 888x 2 592 (e.gf 4K video)? Given the fact you read the directory, I guess I can find the offending code myself. Its the beauty of open source.

     

Log in to post a comment.