Unable to view the camera stream.

Unable to view the camera stream.

Unable to view the camera stream.
Unable to view the camera stream.
2024-05-19 12:25:44 - last edited 2024-06-07 09:13:42
Model: Tapo C200  
Hardware Version: V1
Firmware Version: 1.3.9

I have been unable to view the camera stream since last 3 days.

 

I am able to ping the camera. 

The camera goes to night vision (IR turns on) means hardware is working on the inside.

ffmpeg shows that it could not find codec format.

The Tapo App does not show the stream but i can change camera settings etc.

Please point me in a direction of what could have gone wrong all a sudden.

 

 

 

 

  0      
  0      
#1
Options
1 Accepted Solution
Re:Unable to view the camera stream.-Solution
2024-05-20 11:21:01 - last edited 2024-06-07 09:13:42

  @Kesehet 

Hi
If you have a problem streaming the camera's live view page with the Tapo app, please help check.
1. Ensure the Tapo app and the camera's firmware are up to date.
2. Check how many devices are streaming the camera.

Try to turn off the camera, turn it back on, and check if you can stream it with your Tapo app.
3. Factory reset the camera, reconfigure it, and check if you can stream it successfully.

Best Regards

Recommended Solution
  0  
  0  
#2
Options
8 Reply
Re:Unable to view the camera stream.-Solution
2024-05-20 11:21:01 - last edited 2024-06-07 09:13:42

  @Kesehet 

Hi
If you have a problem streaming the camera's live view page with the Tapo app, please help check.
1. Ensure the Tapo app and the camera's firmware are up to date.
2. Check how many devices are streaming the camera.

Try to turn off the camera, turn it back on, and check if you can stream it with your Tapo app.
3. Factory reset the camera, reconfigure it, and check if you can stream it successfully.

Best Regards

Recommended Solution
  0  
  0  
#2
Options
Re:Unable to view the camera stream.
2024-05-20 11:46:16

Hi @Solla-topee,

 

Thank you for your suggestions. I have tried the following steps, but the issue persists:

  1. Firmware and App Updates:

    • Both the Tapo app and the camera's firmware are up to date (Firmware Version: 1.3.9) (Hardware Version: 2.0) .
  2. Number of Devices Streaming:

    • There is only one device, occasionally two, accessing the stream at once.
  3. Restarting and Reconfiguring:

    • I have turned off the camera, turned it back on, and attempted to stream with the Tapo app, but I still cannot view the stream.
    • I performed a factory reset on the camera, reconfigured it, and attempted to stream again, but the issue remains.

Additional Details:

  • I am able to ping the camera, its not a network issue.
  • The camera switches to night vision (IR turns on) and the status light is working as well, indicating that the hardware is functional.
  • ffmpeg now reports "Server returned 400 Bad Request".
  • The Tapo app allows me to change camera settings, but the stream is not viewable.

Could you please guide me on what might have gone wrong or any additional steps I can take to resolve this issue?

Is it possible to downgrade the software?

Best Regards

  0  
  0  
#3
Options
Re:Unable to view the camera stream.
2024-05-21 10:42:03

  @Kesehet 

Hi, 
On the Tapo app>camera's Device Settings>Advanced Settings>Display Settings page, please select the Compatible Mode and check if you can watch the camera's live feed successfully.

 

If the problem remains, please help confirm:
1. What error message appears on the camera's live view page when fail to watch it?
2. What's the version of your Tapo app? Have you tried to watch the camera with a different phone?
3. Is your phone and the camera connected to the same Wi-Fi network when streaming the camera? 
4. Where did you see the error message "Server returned 400 Bad Request"?

 

Best Regards

  0  
  0  
#4
Options
Re:Unable to view the camera stream.
2024-05-21 12:26:24

Hi @Solla-topee,

 

 

Thank you for your continued assistance.

 

 

 

  • I have tried both the Compatible Mode and the Hardware Acceleration Mode as you suggested. Unfortunately, the issue persists. There are no error messages on the app's camera live view page; the loading bar just keeps spinning indefinitely.
  • I have also tried sharing the camera and viewing it from another device, but the same problem occurs. There is no error message that shows up at any point.
  • All the devices are on the same network and can ping each other.
  • I noticed that "Server returned 400 Bad Request" was because I missed creating the account for RTSP after formatting. That issue is resolved but the stream issue which is the actual issue...  is not resolved.
  • I've been using `ffmpeg`, a command-line based video and audio tool with a player called `ffplay`. This normally works with my other four Tapo devices, including three C200 cameras and one C500 camera. However, this particular device has started acting up recently. The command gets the audio stream but doesn't retrieve the video. I can hear from the rtsp but i cant see the video ... there is no video.

    Here are the logs for your reference:

 

``` 
./ffplay -hide_banner -loglevel debug -rtsp_transport tcp -vcodec h264 -analyzeduration 60000000 -probesize 60000000 rtsp://myrtspuser:myrtsppass@10.0.0.175

Initialized direct3d renderer.
[tcp @ 000002982bf312c0] No default whitelist set sq=    0B
[tcp @ 000002982bf312c0] Original list of addresses:
[tcp @ 000002982bf312c0] Address 10.0.0.175 port 554
[tcp @ 000002982bf312c0] Interleaved list of addresses:
[tcp @ 000002982bf312c0] Address 10.0.0.175 port 554
[tcp @ 000002982bf312c0] Starting connection attempt to 10.0.0.175 port 554
[tcp @ 000002982bf312c0] Successfully connected to 10.0.0.175 port 554
[rtsp @ 000002982bf92800] SDP:=    0KB vq=    0KB sq=    0B
v=0
o=- 42291144 1 IN IP4 10.0.0.175
s=Session streamed by "TP-LINK RTSP Server"
i=stream1
t=0 0
a=tool:TP-LINK Streaming Media v2015.05.12
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session streamed by "TP-LINK RTSP Server"
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:8192
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1; profile-level-id=000000; sprop-parameter-sets=(null),(null)
a=control:track1
m=audio 0 RTP/AVP 8
c=IN IP4 0.0.0.0
b=AS:64
a=rtpmap:8 PCMA/8000
a=control:track2

Failed to parse interval end specification ''
[rtsp @ 000002982bf92800] video codec set to: h264
[rtsp @ 000002982bf92800] RTP Packetization Mode: 1
[rtsp @ 000002982bf92800] RTP Profile IDC: 0 Profile IOP: 0 Level: 0
[rtsp @ 000002982bf92800] Extradata set to 0000000000000000 (size: 0)
[rtsp @ 000002982bf92800] audio codec set to: pcm_alaw
[rtsp @ 000002982bf92800] audio samplerate set to: 8000
[rtsp @ 000002982bf92800] audio channels set to: 1
[rtsp @ 000002982bf92800] setting jitter buffer size to 00B
[rtsp @ 000002982bf92800] setting jitter buffer size to 00B
[rtsp @ 000002982bf92800] hello state=0
Failed to parse interval end specification ''
[rtsp @ 000002982bf92800] max_analyze_duration 60000000 reached at 60000000 microseconds st:1
[rtsp @ 000002982bf92800] Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none): unspecified size
Consider increasing the value for the 'analyzeduration' (60000000) and 'probesize' (60000000) options
Input #0, rtsp, from 'rtsp://myrtspuser:myrtsppass@10.0.0.175:554/stream1':
  Metadata:
    title           : Session streamed by "TP-LINK RTSP Server"
    comment         : stream1
  Duration: N/A, start: 0.000000, bitrate: 64 kb/s
  Stream #0:0, 0, 1/90000: Video: h264, 1 reference frame, none, 90k tbr, 90k tbn
  Stream #0:1, 1877, 1/8000: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s
detected 8 logical cores
[ffplay_abuffer @ 00000298250de4c0] Setting 'sample_rate' to value '8000'
[ffplay_abuffer @ 00000298250de4c0] Setting 'sample_fmt' to value 's16'
[ffplay_abuffer @ 00000298250de4c0] Setting 'time_base' to value '1/8000'
[ffplay_abuffer @ 00000298250de4c0] Setting 'channel_layout' to value 'mono'
[ffplay_abuffer @ 00000298250de4c0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:mono
[AVFilterGraph @ 000002982c662c40] query_formats: 2 queried, 2 merged, 1 already done, 0 delayed
Audio frame changed from rate:8000 ch:1 fmt:s16 layout:mono serial:-1 to rate:8000 ch:1 fmt:s16 layout:mono serial:1
[ffplay_abuffer @ 00000298250dddc0] Setting 'sample_rate' to value '8000'
[ffplay_abuffer @ 00000298250dddc0] Setting 'sample_fmt' to value 's16'
[ffplay_abuffer @ 00000298250dddc0] Setting 'time_base' to value '1/8000'
[ffplay_abuffer @ 00000298250dddc0] Setting 'channel_layout' to value 'mono'
[ffplay_abuffer @ 00000298250dddc0] tb:1/8000 samplefmt:s16 samplerate:8000 chlayout:mono
[ffplay_abuffersink @ 00000298250de8c0] auto-inserting filter 'auto_aresample_0' between the filter 'ffplay_abuffer' and the filter 'ffplay_abuffersink'
[AVFilterGraph @ 000002982c662c40] query_formats: 2 queried, 0 merged, 3 already done, 0 delayed
[auto_aresample_0 @ 00000298250dd2c0] [SWR @ 000002982c7a7640] Using s16p internally between filters
[auto_aresample_0 @ 00000298250dd2c0] [SWR @ 000002982c7a7640] Matrix coefficients:
[auto_aresample_0 @ 00000298250dd2c0] [SWR @ 000002982c7a7640] FL: FC:0.707107
[auto_aresample_0 @ 00000298250dd2c0] [SWR @ 000002982c7a7640] FR: FC:0.707107
[auto_aresample_0 @ 00000298250dd2c0] ch:1 chl:mono fmt:s16 r:8000Hz -> ch:2 chl:stereo fmt:s16 r:8000Hz
 556.75 A-V:    nan fd=   0 aq=  496KB vq=    0KB sq=    0B

 

```

 

 

 

 

 

Could you please provide further guidance or additional steps I can take to resolve this issue?

 

Best Regards

  0  
  0  
#5
Options
Re:Unable to view the camera stream.
2024-05-22 09:05:23

  @Kesehet 

Hi,

I have reported the issue to the tech team, and they will likely reach out to you via email to continue troubleshooting your issue. Please check your email box and confirm.

Best Regards

  0  
  0  
#6
Options
Re:Unable to view the camera stream.
2024-07-11 12:41:40

  @Solla-topee 

 

How did you resolve this issue?

  0  
  0  
#7
Options
Re:Unable to view the camera stream.
2024-07-12 07:19:06

  @Levante 

Hi, 
Please describe your specific problem phenomenon and the troubleshooting you have done and the results. Some problems have similar phenomena but may have different causes. We need to know your specific problem in order to provide further suggestions.

Best Regards

  0  
  0  
#8
Options
Re:Unable to view the camera stream.
2024-07-14 04:32:39

 Hi @Levante,

 

We were unable to resolve the issue. I had to buy a new camera.

 

Just letting you know. Thanks.

 

 

  0  
  0  
#9
Options

Information

Helpful: 0

Views: 1105

Replies: 8

Related Articles