Opened 4 years ago

Closed 3 years ago

#4103 closed defect (fixed)

PLAYPATH_MAX_LENGTH is too small

Reported by: geNia Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: rtmp
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

How to reproduce:
Start streaming to the url which is more than 256 symbols length.
You'll get I/O error.

I can't change url so I changed PLAYPATH_MAX_LENGTH to 512 and TCURL_MAX_LENGTH to 1024 in rtmpproto.c and everything works well.

Change History (4)

comment:1 Changed 4 years ago by cehoyos

  • Keywords rtmp added

Please consider sending a patch made with git format-patch to the developer mailing list.

If you don't want to send a patch, please explain how to reproduce the issue: Provide a command line including the complete, uncut console output.

comment:2 Changed 4 years ago by geNia

Command:
./ffmpeg -re -i ~/Downloads/Test?.flv -c copy -c:v libx264 -f flv "rtmp://192.168.5.15/live/5f4143d1-84d8-498c-ae13-6ff9cec48672?token=bc8980769d1880d10b0f06691b51370b3581fd1436f7dcbc497722e8b7654622a170f450d629bac0b89234dd1f2ab2bfbf7ceb70a49e1e9756bb9391d578005277a65aec606f394e363588500f0a4dbb5c3efd5eae849e532281c5ab0fa3b709330c080970083fc656f0570b5cad4d6aa77e2f3cf1944be51065d4eaa0a057dab42ae05cb889deeb6b5957eba0c95ac112aa71652e7bab05a0270c72f0ecfd70dbc6829063d5d19fc5e98d73f921a76e&channel_id=&chat_room_id=5f4143d1-84d8-498c-ae13-6ff9cec48672&title=Testinggg"

Console output:
Input/Output? Error

comment:4 Changed 3 years ago by richardpl

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.