Loading...

quicktime-api@lists.apple.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

mp4 sound export fails on Lion Jan E. Schotsman Fri Mar 09 06:00:25 2012

Hello,

When I do export from procedure on Lion I get no sound.
I am not sure if this is my bug or a QT bug. I have seen similar reports on the internet. I tried to make a test project using MovieExportNewGetDataAndPropertiesProcs but that turned out to work correctly.

In my log I see the following statements:

[MES_ExportVideoPropertyProc calls]

2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = hrau
2:56:28 PM - main -        MES main  1335                returning true
2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = ucfg
2:56:28 PM - main -        MES main  1331                returning true
2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = osbd 2:56:28 PM - main - MES main 1347 use configured, returning paramErr 2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = qlty 2:56:28 PM - main - MES main 1347 use configured, returning paramErr 2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = clsz 2:56:28 PM - main - MES main 1347 use configured, returning paramErr 2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = cdst 2:56:28 PM - main - MES main 1347 use configured, returning paramErr 2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = dura 2:56:28 PM - main - MES main 1398 time scale 32000, lo duration 326720

2:56:28 PM - main - MES main 1154 MES_ExportVideoDataProc 2:56:28 PM - main - MES main 1179 requestedTime = 0, requestedDuration = 0 2:56:28 PM - main - MES main 1267 videoMediaTime = 0, num input frames = 1, input duration = 100

[more MES_ExportVideoDataProc calls]

2:56:28 PM - main - MES main 1432 MES_ExportSoundDataProc 2:56:28 PM - main - MES main 1442 requestedTime = 0, requestedSampleCount = 0 2:56:28 PM - main - MES main 1493 maxSoundTime = 10.11, actSmplCnt = 323526 2:56:28 PM - main - MES main 1514 requestedTime = 0, soundBufferStartTime = 0, samplesInBuffer = 0 2:56:28 PM - main - MES main 1540 savedSoundBuffer = 0x19a26000, savedReqCnt = 196608, numPackets = 196608 2:56:28 PM - main - MES main 1546 reqCnt = 0, flags = 0 2:56:28 PM - main - MES main 1554 samplesInBuffer = 196608 2:56:28 PM - main - MES main 1583 Sound time = 0, sample count = 32000 2:56:28 PM - main - MES main 1321 MES_ExportSoundPropertyProc 2:56:28 PM - main - MES main 1324 propertyType = cdst 2:56:28 PM - main - MES main 1347 use configured, returning paramErr

Note the repeated call to MES_ExportSoundPropertyProc for propertyType = cdst

On Lion MES_ExportSoundDataProc is never called!

Can anybody explain this?
Can export silently fail if the exporter doesn't like the settings?

TIA,

Jan E.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/quicktime-api/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]