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
FFmpeg version SVN-r25733, Copyright (c) 2000-2010 the FFmpeg developers
  built on Nov 12 2010 07:04:15 with gcc 4.3.2
  configuration: --enable-swscale --enable-gpl --enable-avfilter
--enable-shared --enable-libx264 --enable-nonfree --enable-pthreads
  libavutil     50.33. 0 / 50.33. 0
  libavcore      0.12. 1 /  0.12. 1
  libavcodec    52.94. 4 / 52.94. 4
  libavformat   52.84. 0 / 52.84. 0
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.60. 0 /  1.60. 0
  libswscale     0.12. 0 /  0.12. 0
[rtsp @ 0x86b0560] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate:
180000.00 (180000/1) -> 90000.00 (180000/2)
Input #0, rtsp, from
'rtsp://10.3.26.96/axis-media/media.amp?tcp&videocodec=h264&resolution=480x270':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.641322, bitrate: N/A
    Stream #0.0: Video: h264, yuvj420p, 480x270 [PAR 1:1 DAR 16:9],
90k tbr, 90k tbn, 180k tbc
[buffer @ 0x86b5e40] w:480 h:270 pixfmt:yuvj420p
[ffsink @ 0x86b4910] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'out'
[scale @ 0x872e740] w:480 h:270 fmt:yuvj420p -> w:480 h:270
fmt:yuv420p flags:0xa0000004
[mpeg4 @ 0x86b9920] removing common factors from framerate
[mpeg4 @ 0x86b9920] timebase not supported by mpeg 4 standard
Output #0, mp4, to 'gher.mp4':
    Stream #0.0: Video: mpeg4, yuv420p, 480x270 [PAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

can give me some sugestion

thanks in advance

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

Reply via email to