Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th August 2011, 21:41   #981  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by LoRd_MuldeR View Post
Now with Windows 2000 compatibility fix
What is wrong with my official build and Windows 2000?
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 17th August 2011, 22:07   #982  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Zenitram View Post
What is wrong with my official build and Windows 2000?
If you still use MSVC 9.0 to make your builds, then probably nothing.

But I use MSVC 10.0 for quite some now and therefore the binaries won't run on Windows 2000 without the fix

See also:
http://mulder.googlecode.com/svn/tru...Lib/README.txt
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 17th August 2011, 22:19   #983  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by LoRd_MuldeR View Post
If you still use MSVC 9.0 to make your builds, then probably nothing.
I use MSVC 9.0 for CLI versions of MediaInfo for this reason actually, I was afraid you mean that my version was not working anymore with Windows 2000.
Worse, I use MSVC 8.0 (MSVC 2005!) for 32-bit DLL in order to be compatible with Windows 95 ;-) (yes, some crazy people still use Windows 95, and they use up to date MediaInfo... I force myself not to try to understand this)

(64-bit versions are built with MSVC 10 because all 64-bit OS are currently supported).

Such limitations from Microsoft is a bit frustrating...
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 17th August 2011, 22:36   #984  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Zenitram View Post
I use MSVC 9.0 for CLI versions of MediaInfo for this reason actually
It actually is pretty easy to get MSVC 10.0 binaries running under Windows 2000.

In my test even complex stuff, such as the Qt-framework, appears to work flawlessly this way.

Quote:
Originally Posted by Zenitram View Post
Worse, I use MSVC 8.0 (MSVC 2005!) for 32-bit DLL in order to be compatible with Windows 95 ;-) (yes, some crazy people still use Windows 95, and they use up to date MediaInfo... I force myself not to try to understand this)
People even try to run Win32 GUI applications on DOS, using the HX Extender

Quote:
Originally Posted by Zenitram View Post
Such limitations from Microsoft is a bit frustrating...
To be fair, the backward compatibility provided by Microsoft is pretty good compared to, let's say, Apple
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 18th August 2011, 00:00   #985  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
question, this:

head -c 100000 filebig.ext > filesmall.ext
mediainfo filesmall.ext = mediainfo filebig.ext

will fail in what circumstances (if any) ?
__________________
certain other member
smok3 is offline   Reply With Quote
Old 18th August 2011, 08:57   #986  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by smok3 View Post
head -c 100000 filebig.ext > filesmall.ext
mediainfo filesmall.ext = mediainfo filebig.ext

will fail in what circumstances (if any) ?
May fail.
May not fail.
This depends of the content of the file (if header is at beginning or at end of the file, if index is included in the partial file...), format (for MPEG-TS, you'll have the duration of the partial file...).

MediaInfo is designed to provide maximum info it can with partial files. But there is no list of circumstances, currently (nobody has requested such thing).
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 18th August 2011, 10:13   #987  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
just thinkering with the idea to make a sort of a web app, but so far i can't see a php/http upload way which would stop uploading when certain file size is reached.

p.s. my usual avi and mp4 files do pass the head test.
__________________
certain other member
smok3 is offline   Reply With Quote
Old 18th August 2011, 10:26   #988  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by smok3 View Post
just thinkering with the idea to make a sort of a web app, but so far i can't see a php/http upload way which would stop uploading when certain file size is reached.
This is in the pipe on my side, but with a C++ server, in order to have fine control about when and how to cut the connexion (MediaInfo DLL API provides fine control of when to cut instead of a hard-coded value)

Quote:
Originally Posted by smok3 View Post
p.s. my usual avi and mp4 files do pass the head test.
You are lucky. This is not the case of all the files I have.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 26th August 2011, 16:02   #989  |  Link
Brazil2
Registered User
 
Join Date: Jul 2008
Posts: 532
Zenitram, you may want to check this:

http://forum.doom9.org/showthread.ph...12#post1522012
http://forum.doom9.org/showthread.ph...35#post1522035
Brazil2 is offline   Reply With Quote
Old 27th August 2011, 19:45   #990  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Brazil2 View Post
Zenitram, you may want to check this:
Done. Thanks for reporting the issue to me.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 20th September 2011, 09:08   #991  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
Quote:
Originally Posted by Kurtnoise View Post
cdda support is on the way...
Quote:
Originally Posted by Zenitram View Post
I wait ;-)
http://sourceforge.net/tracker/index...62&atid=581183
Kurtnoise is offline   Reply With Quote
Old 20th September 2011, 09:10   #992  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Kurtnoise View Post
Don't worry, I am on it (several disagreements ;-) )
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 21st September 2011, 12:50   #993  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by Atak_Snajpera View Post
Are you going to add support for .y4m ?
Already done since 0.7.45:
General
Complete name : akiyo_cif.y4m
Format : YUV4MPEG2
File size : 43.5 MiB

Video
Format : YUV
Width : 352 pixels
Height : 288 pixels
Display aspect ratio : 4:3
Frame rate : 29.970 fps
Standard : PAL
Color space : YUV
Scan type : Progressive
Compression mode : Lossless

Edit: I remarked that Windows explorer integration is not done for .y4m, I'll add it.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 24th September 2011, 14:36   #994  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Thanks for the new version.

However there still is a longstanding "cosmetic" bug:
Code:
D:\SVN\Tools\mediainfo_0.7.50_AllInclusive>MediaInfo-x64.exe --Help
MediaInfo Command line,
MediaInfoLib - v0.7.50Usage: "MediaInfo [-Options...] FileName1 [Filename2...]"
I think there should be a linebreak or at least a whitespace after the version number
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 25th September 2011, 12:19   #995  |  Link
iwod
Registered User
 
Join Date: Apr 2002
Posts: 756
Will MediaTab gets updated or is it an entirely separate project?
iwod is offline   Reply With Quote
Old 26th September 2011, 11:29   #996  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by LoRd_MuldeR View Post
However there still is a longstanding "cosmetic" bug:
I think there should be a linebreak or at least a whitespace after the version number
Oups. Windows Unicode only. Corrected.

Quote:
Originally Posted by iwod View Post
Will MediaTab gets updated or is it an entirely separate project?
This is a third-party project, I am not involved in it. Anyway, I asked its author to do a new version.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 27th September 2011, 09:05   #997  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by iwod View Post
Will MediaTab gets updated or is it an entirely separate project?
From its author (he can not post here due to the stupid 5-day "you must wait" obligation for new registerd users):

"I have some ideas for a next version (including unicode file names support) but I'm actually a little bit busy. The project is alive but next version has no date release. Execute the updater once at week "
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 27th September 2011, 20:08   #998  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Zenitram, what do you think about a more general fix for stdout/stderr and cout/cerr on Win32?

http://pastie.org/private/a5cz9atppnrcgcwyuega
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 27th September 2011, 23:29   #999  |  Link
Zenitram
Registered User
 
Join Date: Aug 2002
Location: France, Paris
Posts: 672
Quote:
Originally Posted by LoRd_MuldeR View Post
Zenitram, what do you think about a more general fix for stdout/stderr and cout/cerr on Win32?
This is a bit cryptic for me .
OK, I take it. In SVN.
__________________
Want to know all about your media files? http://mediaarea.net/MediaInfo
Zenitram is offline   Reply With Quote
Old 27th September 2011, 23:41   #1000  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Zenitram View Post
This is a bit cryptic for me .
It definitely is cryptic

Unfortunately the only way to convert an operating system file HANDLE into a normal C-style FILE pointer (as needed to replace 'stdout' and fix the 'cout' object) is converting it into a CRT file descriptor first, by calling _open_osfhandle(), and then converting it further to a FILE pointer, by calling _fdopen(). For the 'cout' we additionally need to wrap it into an std::filebuf object...

But it's more or less what Microsoft recommends, except that we explicitly do not want "text" (aka "UTF-8 mangling") mode:
http://support.microsoft.com/default...b;en-us;105305
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 27th September 2011 at 23:45.
LoRd_MuldeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.