Error messages when rendering with codecs

goldentwig wrote on 10/20/2006, 1:34 PM
I'm trying to export my movie in several different formats and I've been getting some error messages.

1.) "An error occurred while creating the media file Pilgrimage_iPod.mov.
An error occurred while converting with a codec."

I got this one when trying to use the MPEG4 codec for QuickTime.

2.) I got these next two errors when I woke up this morning after setting the Batch Render function to output a bunch of different formats:

"The media library experienced an unrecoverable error. The media library will be closed.

Sony.MediaSoftware.MediaMgr.DataAccess.DataAccessException: Rethrow of same type to avoid stack trace loss ---> Sony.MediaSoftware.MediaMgr.DataAccess.DataAccessException: Converted ---> Sony.MediaSoftware.Kernel.Database.GenericSqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.(class 10 number -2) ---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, TdsParserState state)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()
at System.Data.SqlClient.TdsParser.ReadNetlib(Int32 bytesExpected)
at System.Data.SqlClient.TdsParser.ReadBuffer()
at System.Data.SqlClient.TdsParser.ReadByte()
at System.Data.SqlClient.TdsParser.Run(RunBehavior run, SqlCommand cmdHandler, SqlDataReader dataStream)
at System.Data.SqlClient.SqlInternalConnection.ExecuteTransaction(String sqlBatch, String method)
at System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso)
at System.Data.SqlClient.SqlConnection.System.Data.IDbConnection.BeginTransaction(IsolationLevel iso)
at Sony.MediaSoftware.Kernel.Database.DbConnectionWrapper.BeginTransaction(IsolationLevel il)
at Sony.MediaSoftware.MediaMgr.DataAccess.SqlServerDataAccessMgr.BeginTransactionAsNeeded()
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Sony.MediaSoftware.MediaMgr.DataAccess.SqlServerDataAccessMgr.ConvertException(SqlException se)
at Sony.MediaSoftware.MediaMgr.DataAccess.SqlServerDataAccessMgr.BeginTransactionAsNeeded()
at Sony.MediaSoftware.MediaMgr.ItemMgr.FindItem(String fullPath)
--- End of inner exception stack trace ---
at Sony.MediaSoftware.MediaMgr.ItemMgrFactory.TxDeadlockVictimRetryProxyInvocationHandler(Object target, MethodBase method, Object[] parameters)
at Sony.MediaSoftware.Tools.ObjectProxyImpl.Invoke(IMessage msg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Sony.MediaSoftware.MediaMgr.IItemMgr.FindItem(String fullPath)
at Sony.MediaSoftware.MediaMgr.RelationWorker.FindOrCreateItem(String name, String filePath, String originalFilePath, TagTreeNode tagTreeRootNode, MediaLibraryChanges& changes)
at Sony.MediaSoftware.MediaMgr.RelationWorker.CreateRelation(RelationType type, String sources, String targetName, MediaLibraryChanges& changes)
at Sony.MediaSoftware.MediaMgr.RelationWorker.DoWork(Object genericArg)
at Sony.MediaSoftware.Kernel.Threading.WorkerBase.DoWorkWrapper(Object genericArg)"

3.) "System.ApplicationException: Render failed:

filename: F:\Pilgrimage 2005\final renderings\Pilgrimage_QuickTime 6 _iPod Resolution - High.mov
Renderer: QuickTime 6
Template: iPod Resolution - High
Start Time: 00:00:00.00
Length: 00:08:04.06
at EntryPoint.DoRender(String filePath, RenderItem renderItem, Timecode start, Timecode length)
at EntryPoint.DoBatchRender(ArrayList selectedTemplates, String basePath, RenderMode renderMode)
at EntryPoint.FromVegas (Vegas vegas)
OK "
----

Any suggestions as to what is wrong? I can't seem to render my movie at all using these configurations I've set up (targeted at iPod users).

Thanks,
Holly

Comments

TheHappyFriar wrote on 10/20/2006, 4:25 PM
if you changed the default settings, it could be that you specified a setting that's not legal. IE if you try to render a no DV res video in a DV codec, it will crash. If you try to render a video to a non-power of 2 & it needs to be rendered @ a power of 2 (2,4,8...256, 512, etc), it will crash.

So make sure it can correctly render to each setting by trying to render w/o batch renders.

Also, delete any test renders. Batch render will auto-cancel if a filename already exists (no overwrite).
goldentwig wrote on 10/20/2006, 10:40 PM
Good points, thanks!

Here are the settings that I am trying to render with for an iPod-compatible video but keep getting this error message:

ERROR MSG:
"An error occurred while creating the media file Pilgrimage_iPod.mov.
An error occurred while converting with a codec."

SETTINGS:
QuickTime 6
Project: Video Rendering: Best
Frame Size: Multimedia (320x240)
Frame Rate: 29.97 (NTSC)
Field Order: None (progressive scan)
Pixel aspect: 1.000
Video format: H.264
Compressed depth: 24 bpp color
Quality: 100% high
Data rate: Basic
Target rate, KBps: 768
Keyframe every 5 frames
Audio format: Apple Lossless
Sample Rate: 48,000 Hz
Bit Depth: 16
Channels: Stereo
Streaming Optimiz.: Fast Start


I found these specs on the Apple website as to what Video iPods can play, so I was just trying to duplicate these as much as possible:

H.264 video, up to 768 Kbps, 320 by 240 pixels, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC audio up to 160 Kbps, 48 kHz, stereo audio in .m4v, .mp4, and .mov file formats;

----
I'm open to criticism for what I'm doing wrong if anyone can help me. Thanks!!! :-)
TheHappyFriar wrote on 10/21/2006, 8:28 AM
You have v7? My copy of v6d doesn't give me codec options

but my first question is: you're rendering at 29.97, why not the 30fps it recomends? It renders fine for me @ 29.97, so i doubt that's it...

did you try using the default ipod template?
fldave wrote on 10/21/2006, 8:39 AM
I believe the Forum Admin previously in other threads says:

http://www.sonymediasoftware.com/forums/ShowMessage.asp?ForumID=4&MessageID=484153
Sony AVC or MainConcept AVC should be used for encoding.

Us the Sony encoder for PSP and standard def up to 720x480, MainConcept encoder for HD and ipod encodes.
==========================

Also, I believe I also read to not change the template settings at all or there are no guarantees of compatibility.