Problem with importing files in Sony Vegas 7

For help and discussion concerning the Sony Vegas software.

Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Mon Jan 18, 2010 1:28 pm

I use the video editing program Sony Vegas 7, the problem is that when I import files in mp4 or mkv format they don't work. Either the program says that the media is offline, therefore I can't use it, or it won't be imported at all. I'm able to watch these files in my media players, thanks to the codec:es I've downloaded, but I can't edit them. Does anyone of you know what's causing this? Is there someway to fix it? I've tried on my own but it hasn't worked... I would be very grateful if you could help me with this.
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Kariudo » Mon Jan 18, 2010 2:07 pm

Divx, Xvid, H.264 and the like are not meant to be edited with. It's got to do with how the video is encoded (I'll leave it at that unless you want more detail.)

this thread should go over everything you need.
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Problem with importing files in Sony Vegas 7

Postby AikiNick » Mon Jan 18, 2010 2:25 pm

Well, I actually suck at this kind of things, but I'll try to answer. I'll tell you what I do in this case. You'll need avisynth and VirtualDub. You can download both of this here: http://www.animemusicvideos.org/members/files.php, they're in AMVapp. Make sure to download this package, it's very useful. And you might also need, Haali Media Splitter(a.k.a. MatroskaSplitter. Download here: http://haali.su/mkv/). Install those programs and then here's what you need to do: create a new avisynth script, by pressing right button on the desktop and choosing New>avisynth script, open it and write this:
DSS2("put here the location of your file(e.g. C:), then this symbol "\"and then the name of your file")
ConvertToRGB24

So if I have an mkv file named anime, located on D disk, then I would write like this DSS2("D:\anime.mkv"). Then you can import this file to VirtualDub. The go to Video>Compression and choose any codec you like. I think Lagarith should do(you can find this codec in AMVapp), but if not use another one... Personally I use Premiere and After Effects and I cna import avisynth scripts directly into those programs, cause I installed PremiereAVSPlugin(Also from AMVapp). Then press F7 to export your file form VirtualDub and you can start editing. You cna also working a bit on your file inside of VirtualDub to get it ready for editing even better(adjusting frame size, frame rate, etc.), but I don't really know it well. I'm sure there are lots of tuts on this site about all of this.

I think that's it. Hope this will be helpful, if any questions, feel free to ask. But use PM. Thanks for attention, bye.
Image
User avatar
AikiNick
 
Joined: 23 Oct 2008
Location: Tbilisi, Georgia

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Tue Jan 19, 2010 1:52 pm

Thank you very much for your help, I didn't know that you had to encode the files to be able to use them. I'll try this out, I hope it will work out.
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Sun Jan 24, 2010 4:50 pm

I have another question, if that's alright. My avi files doesn't work in Vegas either - is that normal?
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Kariudo » Sun Jan 24, 2010 5:21 pm

Depends, if you encoded them with divx or xvid then yes that is normal.
However, if you encoded them with lagarith or huffyuv (or uncompressed) then it isn't normal.

If you don't know which codec your avi files were encoded with, get mediainfo (or gspot if you don't want to install a program. Gspot doesn't require installation, just run the .exe)
ImageImage
Image
User avatar
Kariudo
Twilight prince
 
Joined: 15 Jul 2005
Location: Los taquitos unidos
Status: 1924 bots banned and counting!

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Fri Jan 29, 2010 1:50 pm

Thank you for your help so far. I'm really sorry to bother you again, but I've tried so many times to write a script and import it into VirtualDub but it just doesn't work for me. I've tried AikiNick102's way of writing a script, and I've also tried to follow the other guides you've linked to. It's very annoying since I don't know what I'm doing wrong, when I think I've made the script in the right way, and try to import it into VirtualDub, the program says there's an script error, syntax error for example. What should I do? Should I import an episode into the program or just write a script? I'm so confused right now.
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Haeresis » Fri Jan 29, 2010 2:02 pm

Can you post your script so we can see what the problem is?
User avatar
Haeresis
 
Joined: 21 Dec 2009
Location: Brazil
Status: drifting into thoughtless awareness...

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Sun Jan 31, 2010 10:31 am

Thank you for wanting to help me, I appreciate it.
First I tried AikiNick102 method, and I wrote a script like this:
DSS2"C:\Documents and Settings\Ägaren\Mina dokument\Anime, serier och filmer\One piece\[VP-Raw]_One_Piece_Movie_8_(x264_720x480)")ConvertToRGB24

When I open one of my mp4 files into the program, it looks like this:
DirectShowSource("C:\Documents and Settings\Ägaren\Mina dokument\Anime, serier och filmer\One piece\ONE PIECE 377.mp4")

I downloaded ffmpegsource, since someone here recommended it. I put it in Avisynth's plugins folder, is that correct? When I tried to write a script again...:
ffmpegsource("[C:\Documents and Settings\Ägaren\Mina dokument\Anime, serier och filmer\One piece\377].mp4")
That didn't work either...VitualDub said: There's no function named "ffmpgsource"

I just want these files to work in VirtualDub, so that I can convert them. How should I write to make it work?
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Haeresis » Sun Jan 31, 2010 1:52 pm

DirectShowSource should be able to open up the file. Do you have the Community Combined Codec Pack installed? If not you should install it. The script should be written like this:

DirectShowSource("location of file\filename.extension name")
but it will actually look like this
DirectShowSource("C:\Documents and Settings\Ägaren\Mina dokument\Anime, serier och filmer\One piece\377].mp4")

If you are using AvsP, then pressing F5 will make a preview for the video if you made the script correctly. Remember to add ConverttoRGB() at the end because most video editors use that colorspace instead of YV12. After making sure the script works, you should be able to open it in VirtualDub.
User avatar
Haeresis
 
Joined: 21 Dec 2009
Location: Brazil
Status: drifting into thoughtless awareness...

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Mon Feb 01, 2010 2:26 pm

I wrote my script like this, is that correct?:

DirectShowSource("C:\Documents and Settings\Ägaren\Mina dokument\Anime, serier och filmer\One piece\377].mp4")(ConverttoRGB)

It didn't work unfortunately, maybe there's something wrong with my DirectShowSource? After I've tried to preview the video, the messege I get looks like this:
Image

The message looks the same even if I don't add (ConverttoRGB)
I do have CCCP installed on my computer, but maybe there's some settings I should change? I used the standard settings, but sometimes I've heard it good to change them somewhat to make it work the way you want it to.
User avatar
Sandra-chan
 
Joined: 09 May 2004

Re: Problem with importing files in Sony Vegas 7

Postby Panky » Mon Feb 01, 2010 2:44 pm

Huh, does that message mean that it can't find the source? I have no clue on what it says.

But if it does say that, try:

1) Is the filename really 377].mp4 ? Not 377.mp4?
2) Try moving it into C:/ and then opening it again.
User avatar
Panky
 
Joined: 04 Oct 2006
Location: some place called Kokomo...
Status: dozing...

Re: Problem with importing files in Sony Vegas 7

Postby Haeresis » Mon Feb 01, 2010 2:46 pm

The only thing that is wrong with the script is that you didn't put the ConverttoRGB on a seperate line. You also typed the script incorrectly, the words aren't suppose to be in the parenthesis. It's suppose to be like this.

DirectShowSource(put everything here)
ConverttoRGB()

If it still doesn't work, check if you got the location of the file and the name of the file right. Also make sure that you have the latest version of CCCP installed.
User avatar
Haeresis
 
Joined: 21 Dec 2009
Location: Brazil
Status: drifting into thoughtless awareness...

Re: Problem with importing files in Sony Vegas 7

Postby Haeresis » Mon Feb 01, 2010 2:48 pm

Also do the things that Panky mentioned. I forgot to mention those.
User avatar
Haeresis
 
Joined: 21 Dec 2009
Location: Brazil
Status: drifting into thoughtless awareness...

Re: Problem with importing files in Sony Vegas 7

Postby Sandra-chan » Wed Feb 03, 2010 4:20 pm

I'm sorry, I forgot to translate the swedish part; It said "Couldn't find an object or a name"

Thanks for your tips, It seems that I had typed my filename incorrectly. At first it didn't work anyway, but then I reinstalled my CCCP, and it worked! I can preview the file in Avsp and import it into virtual dub! Thank you for your help!
User avatar
Sandra-chan
 
Joined: 09 May 2004


Return to Sony Vegas

Who is online

Users browsing this forum: No registered users and 0 guests

cron