--
+ Reply to Thread
Results 1 to 30 of 34
-
Not possible; both cropping and adding a logo (if you mean a permanent watermark logo) require re-encoding
-
start over with the original source file.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Cropping always requires a full reencode. How close it is to the source depends at least partly on how well you know how to encode MPEG-2 video.
A logo 'burned' into the video also requires a full reencode. If you add it as a subtitle to a DVD, no reencoding is necessary. Logos are a really stupid idea anyway. What makes you think anyone - anyone at all - wants to watch a video you've defaced with your arrogant logo? After all, it's not as if it's your video. It belongs to whoever it was that broadcast it. And maybe it already comes with a logo.
Since you're converting to other formats (AVI, RMVB), then you're reencoding anyway, so I don't understand what the big deal is about keeping it the same quality. Just do the crop and resize as you reencode it for AVI. It's going to be severely degraded anyway. -
If what you actually want is to create an intermediate source that is cropped and defaced with your logo that you will later encode to other formats, you can do this very quickly using Avisynth.
That is a script that can filter almost any source video. You can use that as a source for many encoders. (Eg, VirtualDub, Avidemux, HCEnc, but no idea if WinAVI can do this.)
The final encode takes just as much time, but creating your filtered source is just writing a few lines of code.
Use AvsPmod to edit the scripts.Last edited by AlanHK; 4th Sep 2011 at 02:28.
-
You cannot encode an hour of footage to another format in a matter of minutes, even with CUDA or other hardware assist. Even the low quality crap that WinAVI produces (obviously this is not a professional outfit you are doing this for) can't encode an hour of footage in a few minutes.
It is also worth noting that as a general rule, the faster the encoding, the lower the quality.Read my blog here.
-
Avisynth creates a virtual AVI file. It reads the original file, runs whatever filters you want (in your case, crop and logo) and presents the frame to display on demand.
Many other programs can then use that as an input "file", same as if it were a real AVI file.
It might take a few hours to get your head around it, but then it's simple to use and free.
See http://avisynth.org/mediawiki/Getting_started
If you can't or don't want to read that, then it's not for you. -
If you want to:
A. Encode to a couple of final formats
B. Retain the MOST quality possible
C. Do the crop & logo-ing as fast as possible
...You should listen to what has been said and use AVISynth. You could script it totally by hand in Notepad, or you can use a semi-GUI "script editor" like AvsPMod (which I find very helpful because of the hints it gives and the previewing.
Think of if you were NOT needing to crop/resize or add logo...
What you would do would be to add the MPG to an encoder and encode to your final formats, right?
So, AVISynth stands in the middle between the MPG & the encoder. You don't open up the MPG as input to your encoding, you open up the script that references the MPG (and it's cropping/resizing & logo compositiing operations). Many, if not all, encoders should be able to use a "well-formed" .AVS script as input, even if it wouldn't normally think of it as being possible.
A sample script, called "Movie.AVS" might look something like:
Code:SourceVideo = DirectShowSource ("C:\Your Path Here\Your Video Filename Here.mpg") CroppedVideo = Crop(SourceVideo, 16, 16, -16, -16).BiCubicResize(720, 576) SourceLogo = ImageSource("C:\Your Path Here\Your Logo Picture Filename Here.jpg", end = 300, use_DevIL=true) FinalVideo = Overlay(CroppedVideo, SourceLogo, x=400, y=400, mode="SoftLight", opacity=0.25)
You could even use better parameters and, along with a command-line encoder, put the whole thing in a batch file that automatically crops, resizes & logo-izes the same way for each clip (assuming that's what you wanted). It's like an assembly line. And that quality is retained as much as possible (obviously, the limiting factor here is the settings on your final encoder).
HTH,
Scott -
Can't say much about the 2.60 version, as I haven't tried it yet. It's still not out as an "Official" build that's past Beta. The thing about the 64 bit vs. the 32 bit is that you want to keep all operations using the same bit level, so ALL 32bit or ALL 64bit. If all the ops you want to perform can be done in 64bit (and IIRC, the one's I listed earlier are ALL internal, so should be the same) it probably wouldn't hurt to use the 64bit version (matches your OS).
Which is more stable? Can't say. Don't currently have access to any 64bit machines besides servers.
While there ARE some bugs in 2.58, they're few and far between and I haven't encountered any trouble whenever I've used it.
BTW, If you prep your logo as pre-sized and pre-positioned (to match the dimensions of the CroppedVideo), and save as a 32bit PNG, you can use the transparency as an Alpha mask to make the overlay that much more professional, and there won't be any need to adjust size or placement.
Note: there have been recent threads which give examples of some of these batch file encodings which include AVISynth. Check them out...
Scott -
Cornucopia's script is incomplete. Add this line at the end:
return FinalVideo
To play the video from AvsPmod, you also need to set up an external player, via the Options->Program Settings dialog. The player you specify must be capable of playing Avisynth scripts, eg MPC, WMP.Last edited by Gavino; 23rd Sep 2011 at 03:30. Reason: Info on player
-
Please don't repeatedly bump your thread.
It's more likely to get you ignored than replied to.
When you open a script in Avspmod you should see sliders for all the parameters. So you can adjust them and see the result immediately.
And you get tooltips on how to use each function if you place the cursor in the script
Also paste your actual script as text, not a picture so others can easily suggest changes..
Export to what?
You can open the final AVS script in HCEnc to make MPEG.
Or VirtualDub to make AVI.
Etc.
Similar Threads
-
How to add selectable audio to a video without quality loss
By m.eshi in forum EditingReplies: 2Last Post: 27th Aug 2011, 09:09 -
editing mpg2 to dvd without quality loss
By dailM in forum EditingReplies: 2Last Post: 8th Aug 2009, 01:35 -
How to add Watermark to VCD MPEG1 without Quality Loss?
By shebi in forum Authoring (VCD/SVCD)Replies: 3Last Post: 15th Apr 2009, 13:13 -
Loss of quality with MPG2 format
By KayAt in forum Newbie / General discussionsReplies: 4Last Post: 23rd Mar 2009, 14:58 -
can I crop a m2v file without loss?
By cleantone in forum MacReplies: 7Last Post: 28th Aug 2008, 08:31