On Thu, 2010-10-21 at 18:52 +0100, John Gladman wrote:
> Hi
> 
> If I try converting avi using command line it works OK. If I use library 
> calls I get following error.
> 
> My conversion code is attached.

Nope, you forgot to attach it.

> 2010-10-21 18:43:23.573 iFrameExtractor[41483:207] video duration: 3.320454
> 2010-10-21 18:43:23.574 iFrameExtractor[41483:207] video size: 640 x 480
> Input #1, avi, from '/Users/johngladman/Library/Application Support/iPhone 
> Simulator/4.0/Applications/0FC01E72-9F4B-4E00-AAF9-DF3113C4C2CB/iFrameExtractor.app/sample.avi':
>   Duration: 00:00:00.00, start: 0.000000, bitrate: -2147483 kb/s
>     Stream #1.0: Video: mjpeg, yuvj420p, 320x390 [PAR 1:1 DAR 32:39], 6 tbr, 
> 6 tbn, 6 tbc
>     Stream #1.1: Audio: pcm_s16le, 44100 Hz, 1 channels, s16, 705 kb/s
> [mpeg4 @ 0x6811c00]removing common factors from framerate
> [mp4 @ 0x6825400]track 1: could not find tag, codec not currently supported 
> in container

mp4 doesn't support pcm_s16le (and I suppose uncompressed audio in
general). Mux as "mov" instead. If you can tolerate a little loss you
can also try encoding the audio to mp2, ac3 or aac.

/Tomas

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to