Disable automatic detection of images as video stream
A unified display of relevant technical and tag data for A/V files
Brought to you by:
guillaumeroques,
zenitram
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%)
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.
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?)
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
besides, even if I call it on a single photo it says the same thing!
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.
> 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?
Changed to feature request: option for disabling the automatic detection consecutive image files as a video stream.
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.
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.
> you have seen many camera producing 3 888x 2 592 (e.gf 4K video)?
Not exactly this resolution (4K is more 4096*2160), but this is not my role to select the resolution instead of my users.
> I guess I can find the offending code myself.
It is there:
http://mediainfo.svn.sourceforge.net/viewvc/mediainfo/MediaInfoLib/trunk/Source/MediaInfo/File__Analyze_Streams_Finish.cpp?revision=4653&view=markup
Starting line 92
> Its the beauty of open source.
Yes :)