thanks for your reply,

> You'll need a different encoder, or use something like -vcodec copy.

i try "-vcodec" copy" but i have the same error like before.

ffmpeg -v 5 -y -i
"rtsp://IP/axis-media/media.amp?tcp&videocodec=h264&resolution=480x270"
-vcodec copy out.mp4

i was thinking maybe the problem is in pixel format  type, because the
input pixel format is "yuvj420p"
do you know what codecs support this pixel format

thanks

German

On Fri, Nov 12, 2010 at 12:28 PM, Ronald S. Bultje <[email protected]> wrote:
> Hi,
>
> On Fri, Nov 12, 2010 at 4:21 PM, German Vallejos C.
> <[email protected]> wrote:
>> hello, im traying capture an save video streams from an axis camera,
>> with ffmpeg but i have this error
>>
>> ffmpeg -v 5 -y -i
>> "rtsp://IP/axis-media/media.amp?tcp&videocodec=h264&resolution=480x270"
>> gher.mp4
> [..]
>> [mpeg4 @ 0x86b9920] timebase not supported by mpeg 4 standard
> [..]
>> Error while opening encoder for output stream #0.0 - maybe incorrect
>> parameters such as bit_rate, rate, width or height
>
> You'll need a different encoder, or use something like -vcodec copy.
>
> Ronald
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>



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

Reply via email to