IrfanView - video playback aspect ratio?

T

Terry Pinnell

Like my still image formats, I have the excellent IrfanView associated
with AVI files. But I'm puzzled by something I've only just noticed.
This particular AVI I made in Windows Movie Maker was authored to play
in widescreen (16:9) mode on my TV (PAL). In Movie Maker, where you
make those settings, it plays fine, in correct 16:9 format. And in the
output settings it is shown as usual as having a Display size of 720 x
576. In WMP and other players it plays correctly in widescreen format.
But in IrfanView it plays surprisingly in standard format.

Is it a matter of IV, unlike the other players, not being able to
recognise it properly, and treating it as a plain 720:576 shape?
 
M

Michel Firholz

Hi
i have just been looking for the opposite of a file renamer:

I have got a lot of xxxx.html files from an old website and want to replace
the *content* of these files with a standard html code.
Have you heard of a (possibly freeware) program to do that magic?

Regards
Michel

(P.S. I already have a custom 404 page) i would like to fine-tune the
redirects now)
 
R

Ron May

Hi
i have just been looking for the opposite of a file renamer:

I have got a lot of xxxx.html files from an old website and want to replace
the *content* of these files with a standard html code.
Have you heard of a (possibly freeware) program to do that magic?

Regards
Michel

(P.S. I already have a custom 404 page) i would like to fine-tune the
redirects now)

I guess I don't quite understand your question.

If you have a directory of files (say "page1.html", "page2.html,
etc.,) and you want to replace the *content* with new files with the
same names, the obvious response is to just overwrite the old files.

I know I'm missing the critical point here, but I'm not sure what it
is.
 
M

Michel Firholz

Ron May said:
I guess I don't quite understand your question.

If you have a directory of files (say "page1.html", "page2.html,
etc.,) and you want to replace the *content* with new files with the
same names, the obvious response is to just overwrite the old files.

I know I'm missing the critical point here, but I'm not sure what it
is.
....just overwrite *manually*nur 2000 files!

Possibly a script could do, something like:

-list the files,
-delete the first one, put that filename into a variable.
-copy standardcontent.html to filename_from_variable
-loop to the next file.

But I am a dummy in scripting....

Thanks
Michel
 
R

Ron May

...just overwrite *manually*nur 2000 files!

Possibly a script could do, something like:

-list the files,
-delete the first one, put that filename into a variable.
-copy standardcontent.html to filename_from_variable
-loop to the next file.

But I am a dummy in scripting....

Thanks
Michel

I'm still not sure what the actual *task at hand* is, but if what
you're trying to do is take a single file (say, standardcontent.html,)
and REPLICATE the exact same file, byte for byte, 2000 times, but
under a set of unique filenames extracted from a directory of 2000 old
files, then a script probably is a solution, but you're talking to
someone who is ALSO a dummy when it comes to scripting. <g>

Any volunteers?
 
S

Susan Bugher

Michel said:
i have just been looking for the opposite of a file renamer:

I have got a lot of xxxx.html files from an old website and want to replace
the *content* of these files with a standard html code.
Have you heard of a (possibly freeware) program to do that magic?

A text search and replace program should be able to handle that. Search
for "everything" (using wild cards), replace with the new text. dunno
how large your replacement text is - that might be a stumbling block -
if so you could break the new text up into manageable chunks with a key
word (xxxxyz or such) at the end of each chunk - replace that with the
next chunk on the next go around. . .

Perhaps Info-Rapid Search & Replace (PL2006)
http://www.pricelesswarehome.org/2006/PL2006FILEUTILITIES.php#0379-PW

or ReplaceEm or General Search And Replace (GSAR) - the other two
Pricelessware selections in that category.

Susan
--
Posted to alt.comp.freeware
Search alt.comp.freeware (or read it online):
http://www.google.com/advanced_group_search?q=+group:alt.comp.freeware
Pricelessware & ACF: http://www.pricelesswarehome.org
Pricelessware: http://www.pricelessware.org (not maintained)
 
P

P. Frex

I would do it using a batch file:

In command prompt: window do:

1 - log a dir in a file dir *.html >replace.bat
2- edit replace.bat with a normal text editor, ex pspad that has rectangular
selection
remove everything from the file except the fil names, one per line
use a macro (or copy) to add to the begining of each line copy
template.html
3 - delete all html files del *.html
4-copy your template to the directory template.html
5 -just run the bat replace.bat.

It's done

DO NOT FORGET TO BACKUP THE FILES BEFORE DOING IT!!

Hope it helps

Pedro
 
B

B. R. 'BeAr' Ederson

i have just been looking for the opposite of a file renamer:

Most programs do quite the opposite of a file renamer; i.e.: they
don't rename programs... ;-)
I have got a lot of xxxx.html files from an old website and want to replace
the *content* of these files with a standard html code.
Have you heard of a (possibly freeware) program to do that magic?

On command line you could execute:

for /r %f in (*.htm) do copy /y good.htm %f

The same from a batch file:

for /r %%f in (*.htm) do copy /y good.htm %%f

This will replace all html files of the current directory and all
subdirectories (note the /r switch) with your nice good.htm file.
Use path strings if needed and use a more strict syntax for the
search filter, if you only need to replace certain files (like
sub??_?.htm).

If you only need to replace part of the files, the search&replace
programs already mentioned are the way to go.

HTH.
BeAr
 
B

B. R. 'BeAr' Ederson

i have just been looking for the opposite of a file renamer:

Most programs do quite the opposite of a file renamer; i.e.: they
don't rename files... ;-)
I have got a lot of xxxx.html files from an old website and want to replace
the *content* of these files with a standard html code.
Have you heard of a (possibly freeware) program to do that magic?

On command line you could execute:

for /r %f in (*.htm) do copy /y good.htm %f

The same from a batch file:

for /r %%f in (*.htm) do copy /y good.htm %%f

This will replace all html files of the current directory and all
subdirectories (note the /r switch) with your nice good.htm file.
Use path strings if needed and use a more strict syntax for the
search filter, if you only need to replace certain files (like
sub??_?.htm).

If you only need to replace part of the files, the search&replace
programs already mentioned are the way to go.

HTH.
BeAr
 
M

Michel Firholz

B. R. 'BeAr' Ederson said:
Most programs do quite the opposite of a file renamer; i.e.: they
don't rename files... ;-)


On command line you could execute:

for /r %f in (*.htm) do copy /y good.htm %f

The same from a batch file:

for /r %%f in (*.htm) do copy /y good.htm %%f

This will replace all html files of the current directory and all
subdirectories (note the /r switch) with your nice good.htm file.
Use path strings if needed and use a more strict syntax for the
search filter, if you only need to replace certain files (like
sub??_?.htm).

If you only need to replace part of the files, the search&replace
programs already mentioned are the way to go.
Thanks a lot BeAr, that was it!

Regards
Michel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top