2008-04-23, 14:58 | Link #101 |
Junior Member
Join Date: Mar 2008
|
Martino it says that color space is rgb32.
"However how come you are not given an error when it doesn't work?" good question. I am using AVSp and usually I get errors at the bottom. But I am not receiving any. It should output the video and audio but I get nothing. When I hit F6 or play I am using mplayer to preview it just open then close the terminal. They work separately the logo by it's self the concating the avis video but when I do "return logo + test_clip" this is where it break so something is not right with the color or audio as you pointed out. Lex |
2008-04-23, 15:02 | Link #102 |
makes no files now
Join Date: May 2006
|
OK, problem found I think. You are making the video from the picture into YV12, therefore you will have to do the same for the video clips that you are joining with ConvertToYV12(), or remove the colorspace conversion for the logo and set the pixel_type for the ImageSource to "RGB32". At the end you will still have to use what I posted earlier on since you cannot join one video which has audio and a second one which does not.
__________________
|
2008-04-23, 15:12 | Link #103 |
Junior Member
Join Date: Mar 2008
|
Martino guess what I almost got it to work.I change the color space to RGB32 for each and added some audio to the logo.
The problem was the color space and the audio. As a test the following below works. How to I add no sounds to logo? This only work when I add audio tot he logo. I don't want any audio when the logo is being displayed. Code:
a=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0001.AVI", false ) b=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0002.AVI", false) c=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0003.AVI", false) the_audio=DirectShowSource ("C:\Documents and Settings\Administrator\Desktop\Firewall.mp3") combined= a+b+c test_clip=AudioDub(combined, the_audio) logo = imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\projects\gymnastics\Brand\brand_blank_ver_0.png", end=300, pixel_type = "RGB32").assumefps(test_clip) logo = AudioDub(logo, the_audio) return logo + test_clip |
2008-04-23, 15:18 | Link #104 |
makes no files now
Join Date: May 2006
|
http://forums.animesuki.com/showpost...8&postcount=98
Code:
a=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0001.AVI", false ) b=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0002.AVI", false) c=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0003.AVI", false) the_audio=DirectShowSource ("C:\Documents and Settings\Administrator\Desktop\Firewall.mp3") combined= a+b+c test_clip=AudioDub(combined, the_audio) logo = AudioDub(imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\projects\gymnastics\Brand\brand_blank_ver_0.png", end=300, pixel_type = "RGB32").assumefps(test_clip),Blackness(300,combined.width,combined.height,"RGB32",combined.framerate).KillVideo()) return logo + test_clip
__________________
|
2008-04-23, 16:56 | Link #105 |
Junior Member
Join Date: Mar 2008
|
[SOLUTION SOLVED] Concating PNG LOGO and AVI
[SOLUTION SOLVED]
If you ever try to stitch images with video us .info() to match the proper color and audio specs. Thanks, Martino for all the help. Code:
a=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0001.AVI", false ) b=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0002.AVI", false) c=avisource ("C:\Documents and Settings\Administrator\Desktop\gymnastics_2008_April_23\DCIM\101CANON\MVI_0003.AVI", false) the_audio=DirectShowSource ("C:\Documents and Settings\Administrator\Desktop\Firewall.mp3") combined= a+b+c test_clip=AudioDub(combined, the_audio) logo = imagesource("C:\Documents and Settings\Administrator\Desktop\video_editing\projects\gymnastics\Brand\brand_blank_ver_0.png", end=100, pixel_type = "RGB32").assumefps(test_clip) blank_audio=BlankClip(test_clip, audio_rate=44100, length=logo.FrameCount()) logo = AudioDub(logo, blank_audio) return logo + test_clip |
2008-04-26, 19:35 | Link #106 |
Junior Member
Join Date: Jul 2007
Location: Maryland, US
|
All right, I bet this is a fairly simple problem, but I'm terrible at Avisynth, so here it is.
When I try encoding my video using Avisynth, there seems like the color of the fansubs is drained. Bright colors are pale, and light colors look almost white. Nothing happens to the colors of the original video, however. I'm not completely sure if it's an Avisynth or issue or just general encoding issue. Thanks in advance. |
2008-04-26, 19:38 | Link #107 |
makes no files now
Join Date: May 2006
|
Post the script please... and maybe an example picture too. So the colours are drained when you encode the video through AviSynth and then watch the final encode, but when you watch the original they look fine... if I'm understanding correctly, right?
__________________
|
2008-04-26, 19:43 | Link #108 | |
Junior Member
Join Date: Jul 2007
Location: Maryland, US
|
When I preview with video in Aegisub, it's quite fine.
Quote:
Edit: Pics for you now. Left is aegisub preview, right is after encode. Last edited by atlantiza; 2008-04-26 at 19:58. |
|
2008-04-26, 20:09 | Link #109 |
makes no files now
Join Date: May 2006
|
That looks like compression of a lossy encoder (Xvid/H.264?) kicking in to me (unless something actually is wrong, I may not be right). If you don't want it to look like that you will have to increase the bitrate of the video, but it will never look the same as in Aegisub when you were previewing it, unless you will be encoding with a lossless codec.
Spoiler for before I saw the edit...:
__________________
|
2008-04-28, 14:46 | Link #111 | |
Junior Member
Join Date: Jun 2006
|
Quote:
Script error: imagesource does not have a named argument "pixel_type" I'm trying out the code you gave Koroku, by the way. My script also includes MPEG2source for my D2V file, Crop, LanczosResize, and Telecide & Decimate. |
|
2008-04-29, 07:52 | Link #112 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
__________________
|
|
2008-04-29, 21:01 | Link #117 |
Junior Member
Fansubber
Join Date: Sep 2007
|
I keep getting this error: "Avisynth open failure: AVIsource autodetect: couldn't open file 'C:\ccs\ep57.avi' Error code: 2 (C:\ccs\blah.avs.avs, line 2)" whenever I try to put in the avisynth script in the virtualdub. my verison of avisynth is 2.5.7 does anyone know whats wrong?
__________________
|
2008-04-30, 00:50 | Link #118 |
Banned
Join Date: Nov 2003
Location: Hamburg
Age: 54
|
Maybe you're using Vista and have trouble due to file endings being removed from filenames?
Your error message seems to indicate that your AVS is already misnamed (blah.avs.avs). If the same might be true for the avi (C:\ccs\ep57.avi.avi), this would explain why your script wouldn't find it, leading to the error you described. Let vista display all file endings properly, then you can avoid errors like these. |
2008-05-02, 04:13 | Link #119 | |
Senior Member
Fansubber
Join Date: Jul 2004
|
Quote:
------ Aside from this, people really should use my overlaying script to overlay mainly signs... http://pichu.org/overlays (don't worry, no information you input in the forms is sent to the server; I was going to write a PHP script for this, but I figured that since JavaScript is equally as powerful as PHP for this kind of job, I've decided to code it as a static index.html. ) [[[ AND, I DO wish that AVISynth supports RegEx, so that I don't need to do all this stuff hehe ]]] This is particularly useful for signs typesetters, who have to do a lot of signs at a time--such as myself. Format: filename_12345.avi filename_12345v2.avi filename_12345-23456.png filename_12345-23456.avi 12345.avi 12345-23456.png (note that last frame number is optional for avi) Both IE and FireFox can do drag-and-drop after some procedures. I think I covered most of the basics here based on my TS work. Although the script allows video splices, I have not really implemented them into index.html. Last edited by pichu; 2008-05-02 at 05:12. |
|
|
|