slavavdovichenko / MediaLibDemos

98 stars 25 forks source link

Picture size 0x10 is invalid | video codec is not opened | audio codec is not opened #15

Open BhavikKama opened 10 years ago

BhavikKama commented 10 years ago

Right now am using RTMPStreamPublisher to publish the video at wowzaserver from iphone application. Now this sample is working great..but when i tried to create my own project with the same implementation then its giving me some error...am sure that there is not any kind of missing library or framework issue.. i had checked everything is same in my created project as per the demo they given..

but still dont know where am doing mistake... my error is as follows..

[NULL @ 0x181a0c00] [IMGUTILS @ 0x27d78630] Picture size 0x10 is invalid
[NULL @ 0x181a0c00] ignoring invalid width/height values
[flv @ 0x181a0c00] Specified pix_fmt is not supported
video codec is not opened
2013-11-28 12:39:27.064 LiveStreaming[268:60b] AudioCodec: codecID = 86050, codecType = 42, bitRate = 16000, _sampleBytes = 4
encoder supports the sample formats:
flt, 
audio codec best options: sample_rate = 44100
[nellymoser @ 0x18179a00] Specified sample_fmt is not supported.
audio codec is not opened

i really don't know what's the real problem...as there is just generalize error of EXC_BAD_ACCESS any idea??that what should be wrong??