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.
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
Could not write header for output file!
/Users/johngladman/iFrameExtractor/Classes/CopyVideo.m:180
Output #0, mp4, to '/Users/johngladman/Library/Application Support/iPhone
Simulator/4.0/Applications/0FC01E72-9F4B-4E00-AAF9-DF3113C4C2CB/Documents/sample.mp4':
Stream #0.0: Video: mpeg4, yuv420p, 320x390 [PAR 1:1 DAR 32:39], q=2-31,
200 kb/s, 3600 tbn, 3600 tbc
Stream #0.1: Invalid Codec type -1
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user