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 > Announcements and Chat > General Discussion

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th December 2003, 12:14   #1  |  Link
previn
Registered User
 
Join Date: Mar 2003
Posts: 2
crop without recompress?

Is it possible or is there any software that will enable me to crop from top and bottom of avi file without having to recompress video? I have a file which is about 20 mb too big for cd, I don't want to lose quality and there is nowhere to cut video. As aspect ratio is 4:3 and I have wide tv I could cut top/bottom off to view on my divx player. Is it possible?.

Ta
previn is offline   Reply With Quote
Old 24th December 2003, 12:23   #2  |  Link
The Edge
Achtung Baby
 
The Edge's Avatar
 
Join Date: Aug 2002
Location: Dublin
Posts: 625
Welcome to forum
Not possible.

PS:
Wrong forum too.


Edge
The Edge is offline   Reply With Quote
Old 24th December 2003, 12:51   #3  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Just use ffdshow to watch your divx movies. There you can adjust the aspect ratio.
Wilbert is offline   Reply With Quote
Old 24th December 2003, 13:06   #4  |  Link
The Edge
Achtung Baby
 
The Edge's Avatar
 
Join Date: Aug 2002
Location: Dublin
Posts: 625
Still won't help him fit it onto cd though.


Edge
The Edge is offline   Reply With Quote
Old 24th December 2003, 20:39   #5  |  Link
Atamido
Señor Member
 
Atamido's Avatar
 
Join Date: May 2002
Location: Austin, Texas
Posts: 915
While it is theoretically possible to remove the picture data for certain macroblocks in MPEG-4, while preserving motion data, I have never seen such a tool, and doubt that one would exist. It would be difficult to make and I can't think of a commercially viable reason to make such a tool.

Possible you could overburn, reencode, or buy a 99min CD.
Atamido is offline   Reply With Quote
Old 24th December 2003, 21:22   #6  |  Link
previn
Registered User
 
Join Date: Mar 2003
Posts: 2
I thought this would be the case but thanks for the help
previn is offline   Reply With Quote
Old 24th December 2003, 22:02   #7  |  Link
Kedirekin
Registered User
 
Join Date: Oct 2001
Location: Minnesota
Posts: 1,110
Out of curiosity, is it even theoretically possible?

What if one of the motion vectors for the current frame results in a reference to a removed block from the prior frame? Wouldn't that cause a portion of the current frame to be totally messed up?
Kedirekin is offline   Reply With Quote
Old 25th December 2003, 01:26   #8  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Quote:
Originally posted by Kedirekin
What if one of the motion vectors for the current frame results in a reference to a removed block from the prior frame? Wouldn't that cause a portion of the current frame to be totally messed up?
I cannot see it done without recoding these out-of-frame predicted MB's as INTRA. It would be fast and probably accurate - but there is a big risk of the file actually getting bigger.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 25th December 2003, 12:38   #9  |  Link
Tom|420
Registered User
 
Join Date: Nov 2003
Location: Sherbrooke, Québec, Canada
Posts: 24
How could the file getting larger by removing data, without modifying anything in the remaining data?

Also I must agree than while it could possibly be possible to crop the top/bottom by removing some macro block (and adjusting the hearders I suppose) there could be a reference to blocks just removed from the previous frame. Just think of how motion works, when the camera pans up, then the blocks are simply scrolled down a bit from frame to frame. This is particularly visible in the scores for movies encoded at low bitrate where artifact are left behind the text as it scrolls up.

I believe it would be too complex to get such a tool to work correctly. Better reencode. In theory, if you reencode with the same code at about the same quality there shouldn't be too much quality lost (in theory). If you reencode with a different codec it's a know fact that data lost in encoding is added to data lost in the previous encoding.


Tom
__________________
Any typo, misspell, syntaxic or grammatical error in this post is intentionnal and on purpose. Any error in the content of this post is subject to correction by other users. Any opinion expressed is my own and not subject to blame, but rather to arguments.
Tom|420 is offline   Reply With Quote
Old 25th December 2003, 17:45   #10  |  Link
ammer
Registered User
 
Join Date: Mar 2002
Posts: 95
it seems maybe possible if you had a decoder possible of decoding a constant error in a bit stream had bits missing. or perhaps placing it in a container in which the blank areas were compressed as zeros or cut-off. maybe a non-video type compression etc. doesn't sound too impossible.
ammer is offline   Reply With Quote
Old 27th December 2003, 19:46   #11  |  Link
fellaw
Registered User
 
Join Date: Sep 2002
Posts: 157
What kind of video is that? Is it a backup from a DVD or captured from TV/VHS? With DVD video, cropping wouldn't help you to fit that AVI on CD-R. In my experience cropping those borders in a DVD backup would give you at most 10 MB, depending on the length of the AVI. I've encoded some DVD backups with and without cropping quite some time ago. They all differed about <=10 MB. DVD borders are usually very crisp and pure black, thus it doesn't take many macroblocks to save them. An analog source might give you 20+ MB because of the higher datarate needed for noisy borders, but I doubt this.
Anyway, I agree with my previous writers. I'm not aware of a software which could crop AVIs or any kind of compressed video without recompressing.
Btw, which capacity are you talking about? Have you considered using a 90/99min CD-R?
fellaw is offline   Reply With Quote
Old 27th December 2003, 21:29   #12  |  Link
Mtz
Registered User
 
Mtz's Avatar
 
Join Date: Sep 2003
Location: On The Beach
Posts: 714
I think is better to cut the credits from the end of movie and if is not enough and from the start, using VirtualDub.
If you have an subtitle and cutting the movie at the start you'll have to resync the subtitle.
Mtz is offline   Reply With Quote
Old 1st May 2004, 03:32   #13  |  Link
callmeace
Registered User
 
Join Date: Aug 2002
Location: DECEIVED
Posts: 39
Damn that is the question I had, I have a video file which I left the black borders on top and bottom (it is in widescreen format). I wanted to remove these black areas without having to encode the video again, but there's no know tool to do this then?

Oh well, I am learning more every day, and with storage space getting cheaper it is not such an issue anyway, it's more of an annoyance.
__________________
You Take It All, You Take It All The Way!
callmeace is offline   Reply With Quote
Old 1st May 2004, 18:52   #14  |  Link
Doobie
Registered User
 
Join Date: Oct 2001
Posts: 555
Re: crop without recompress?

Quote:
Originally posted by previn
Is it possible or is there any software that will enable me to crop from top and bottom of avi file without having to recompress video?
That's a common question. I'd think someone would be tackling the problem. But, as you now know, there is not yet any such tool.

You'll have to do it another way. Burn it as a mode-2 CD (thus the CD can hold 800MB). Overburn, but you probably can't overburn 20MB, probably just 10 or 15MB. Cut off the last 20MB (part of the credits). Recompress the audio (a good option of the audio bitrate is high). Buy a DVD burner. Forget about saving the movie, I usually don't watch things more than once.
Doobie 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 01:18.


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