[FFmpeg-trac] #2796(undetermined:new): Problems dumping H264 stream from an Axis M1014 camera

FFmpeg trac at avcodec.org
Thu Jul 18 23:35:24 CEST 2013


#2796: Problems dumping H264 stream from an Axis M1014 camera
-------------------------------------+-------------------------------------
             Reporter:  aseto        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  rtsp         |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
Changes (by cehoyos):

 * keywords:   => rtsp


Old description:

> I have a similar ffmpeg problem that described in ticket 1734
> http://trac.ffmpeg.org/ticket/1734
> I downloaded the latest 2.0 release, but the problem is still there.
> Then, Carl suggested to test 2e4ec89, same problem.
> Below is my debug log from 2e4ec89. The release 2.0 debug log can be
> found here http://ffmpeg-users.933282.n4.nabble.com/Problems-dumping-H264
> -stream-from-an-Axis-camera-td4660059.html
>
> BTW, I used rtsp://192.168.8.132/axis-media/media.amp in VLC, and I was
> able to view the video, so the camera is streaming.
>
> Please let me know what you think.
>

> ffmpeg version N-44796-g2e4ec89 Copyright (c) 2000-2012 the FFmpeg
> developers
>   built on Jul 17 2013 17:06:17 with gcc 4.3.2 (GCC)
>   configuration: --arch=ppc --cpu=e500v2 --target-os=linux --samples
> =fate-suite/ --logfile=./config.log --disable-optimizations --disable-
> stripping --enable-cross-compile --cross-prefix=powerpc-none-linux-
> gnuspe- --sysroot=/opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2
> /powerpc-none-linux-gnuspe/powerpc-none-linux-gnuspe/libc --target-
> path=/opt/projects/pcs200/ltib/rootfs
>   libavutil      51. 73.101 / 51. 73.101
>   libavcodec     54. 59.100 / 54. 59.100
>   libavformat    54. 29.101 / 54. 29.101
>   libavdevice    54.  2.101 / 54.  2.101
>   libavfilter     3. 17.100 /  3. 17.100
>   libswscale      2.  1.101 /  2.  1.101
>   libswresample   0. 15.100 /  0. 15.100
> [rtsp @ 0x110fa570] SDP:
> v=0
> o=- 1365596415305563 1365596415305563 IN IP4 192.168.8.132
> s=Media Presentation
> e=NONE
> b=AS:50000
> t=0 0
> a=control:*
> a=range:npt=0.000000-
> m=video 0 RTP/AVP 96
> c=IN IP4 0.0.0.0
> b=AS:50000
> a=framerate:30.0
> a=transform:1,0,0;0,1,0;0,0,1
> a=control:trackID=1
> a=rtpmap:96 H264/90000
> a=fmtp:96 packetization-mode=1; profile-level-id=4D4029; sprop-parameter-
> sets=Z01AKZpmAoAt2AtQEBAQXpw=,aO48gA==
>
> [rtsp @ 0x110fa570] video codec set to: h264
> [NULL @ 0x111026d0] RTP Packetization Mode: 1
> [NULL @ 0x111026d0] RTP Profile IDC: 4d Profile IOP: 40 Level: 29
> [NULL @ 0x111026d0] Extradata set to 0x11102bc0 (size: 29)!
> [rtsp @ 0x110fa570] hello state=0
> [h264 @ 0x111026d0] no picture
> [rtsp @ 0x110fa570] All info found
> rfps: 29.583333 0.015389
> rfps: 29.666667 0.009941
> rfps: 29.750000 0.005692
> rfps: 29.833333 0.002643
> rfps: 29.916667 0.000792
> rfps: 30.000000 0.000140
>     Last message repeated 1 times
> rfps: 30.083333 0.000688
>     Last message repeated 1 times
> rfps: 30.166667 0.002434
>     Last message repeated 1 times
> rfps: 30.250000 0.005379
>     Last message repeated 1 times
> rfps: 30.333333 0.009523
>     Last message repeated 1 times
> rfps: 30.416667 0.014866
> rfps: 59.583333 0.016071
> rfps: 59.666667 0.010571
> rfps: 59.750000 0.006270
> rfps: 59.833333 0.003168
> rfps: 59.916667 0.001266
> rfps: 60.000000 0.000561
>     Last message repeated 1 times
> rfps: 29.970030 0.000237
> rfps: 59.940060 0.000947
> [rtsp @ 0x110fa570] Estimating duration from bitrate, this may be
> inaccurate
> Input #0, rtsp, from 'rtsp://root:root@192.168.8.132:554/axis-
> media/media.amp':
>   Metadata:
>     title           : Media Presentation
>   Duration: N/A, start: 0.034544, bitrate: N/A
>     Stream #0:0, 23, 1/90000: Video: h264 (Main), yuv420p, 1280x720 [SAR
> 1:1 DAR 16:9], 1/180000, 30 tbr, 90k tbn, 180k tbc
> [mpegts @ 0x111033f0] muxrate VBR, pcr every 9000 pkts, sdt every 200,
> pat/pmt every 40 pkts
> Output #0, mpegts, to '/tmp/media/my.ts':
>   Metadata:
>     title           : Media Presentation
>     encoder         : Lavf54.29.101
>     Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR
> 16:9], 1/90000, q=2-31, 90k tbn, 90k tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
> Press [q] to stop, [?] for help
> [mpegts @ 0x111033f0] first pts value must set
> av_interleaved_write_frame(): Invalid data found when processing input

New description:

 I have a similar ffmpeg problem that described in ticket 1734
 http://trac.ffmpeg.org/ticket/1734
 I downloaded the latest 2.0 release, but the problem is still there. Then,
 Carl suggested to test 2e4ec89, same problem.
 Below is my debug log from 2e4ec89. The release 2.0 debug log can be found
 here http://ffmpeg-users.933282.n4.nabble.com/Problems-dumping-H264
 -stream-from-an-Axis-camera-td4660059.html

 BTW, I used rtsp://192.168.8.132/axis-media/media.amp in VLC, and I was
 able to view the video, so the camera is streaming.

 Please let me know what you think.

 {{{
 ffmpeg version N-44796-g2e4ec89 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Jul 17 2013 17:06:17 with gcc 4.3.2 (GCC)
   configuration: --arch=ppc --cpu=e500v2 --target-os=linux --samples=fate-
 suite/ --logfile=./config.log --disable-optimizations --disable-stripping
 --enable-cross-compile --cross-prefix=powerpc-none-linux-gnuspe-
 --sysroot=/opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-
 none-linux-gnuspe/powerpc-none-linux-gnuspe/libc --target-
 path=/opt/projects/pcs200/ltib/rootfs
   libavutil      51. 73.101 / 51. 73.101
   libavcodec     54. 59.100 / 54. 59.100
   libavformat    54. 29.101 / 54. 29.101
   libavdevice    54.  2.101 / 54.  2.101
   libavfilter     3. 17.100 /  3. 17.100
   libswscale      2.  1.101 /  2.  1.101
   libswresample   0. 15.100 /  0. 15.100
 [rtsp @ 0x110fa570] SDP:
 v=0
 o=- 1365596415305563 1365596415305563 IN IP4 192.168.8.132
 s=Media Presentation
 e=NONE
 b=AS:50000
 t=0 0
 a=control:*
 a=range:npt=0.000000-
 m=video 0 RTP/AVP 96
 c=IN IP4 0.0.0.0
 b=AS:50000
 a=framerate:30.0
 a=transform:1,0,0;0,1,0;0,0,1
 a=control:trackID=1
 a=rtpmap:96 H264/90000
 a=fmtp:96 packetization-mode=1; profile-level-id=4D4029; sprop-parameter-
 sets=Z01AKZpmAoAt2AtQEBAQXpw=,aO48gA==

 [rtsp @ 0x110fa570] video codec set to: h264
 [NULL @ 0x111026d0] RTP Packetization Mode: 1
 [NULL @ 0x111026d0] RTP Profile IDC: 4d Profile IOP: 40 Level: 29
 [NULL @ 0x111026d0] Extradata set to 0x11102bc0 (size: 29)!
 [rtsp @ 0x110fa570] hello state=0
 [h264 @ 0x111026d0] no picture
 [rtsp @ 0x110fa570] All info found
 rfps: 29.583333 0.015389
 rfps: 29.666667 0.009941
 rfps: 29.750000 0.005692
 rfps: 29.833333 0.002643
 rfps: 29.916667 0.000792
 rfps: 30.000000 0.000140
     Last message repeated 1 times
 rfps: 30.083333 0.000688
     Last message repeated 1 times
 rfps: 30.166667 0.002434
     Last message repeated 1 times
 rfps: 30.250000 0.005379
     Last message repeated 1 times
 rfps: 30.333333 0.009523
     Last message repeated 1 times
 rfps: 30.416667 0.014866
 rfps: 59.583333 0.016071
 rfps: 59.666667 0.010571
 rfps: 59.750000 0.006270
 rfps: 59.833333 0.003168
 rfps: 59.916667 0.001266
 rfps: 60.000000 0.000561
     Last message repeated 1 times
 rfps: 29.970030 0.000237
 rfps: 59.940060 0.000947
 [rtsp @ 0x110fa570] Estimating duration from bitrate, this may be
 inaccurate
 Input #0, rtsp, from 'rtsp://root:root@192.168.8.132:554/axis-
 media/media.amp':
   Metadata:
     title           : Media Presentation
   Duration: N/A, start: 0.034544, bitrate: N/A
     Stream #0:0, 23, 1/90000: Video: h264 (Main), yuv420p, 1280x720 [SAR
 1:1 DAR 16:9], 1/180000, 30 tbr, 90k tbn, 180k tbc
 [mpegts @ 0x111033f0] muxrate VBR, pcr every 9000 pkts, sdt every 200,
 pat/pmt every 40 pkts
 Output #0, mpegts, to '/tmp/media/my.ts':
   Metadata:
     title           : Media Presentation
     encoder         : Lavf54.29.101
     Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 1280x720 [SAR 1:1 DAR
 16:9], 1/90000, q=2-31, 90k tbn, 90k tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 [mpegts @ 0x111033f0] first pts value must set
 av_interleaved_write_frame(): Invalid data found when processing input
 }}}

--

Comment:

 Please consider to either read my email or the ticket you mentioned again.
 Both request exactly one information that is missing afaict.
 http://thread.gmane.org/gmane.comp.video.ffmpeg.user/46689/focus=46697
 Ticket #1734

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2796#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list