# Plex STRM file support flawed

**URL:** <https://forums.plex.tv/t/plex-strm-file-support-flawed/33168>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [April 21, 2013, 3:00pm UTC](https://forums.plex.tv/t/plex-strm-file-support-flawed/33168 "2013-04-21T15:00:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![etomm](https://avatars.discourse-cdn.com/v4/letter/e/9f8e36/32.png) [@etomm](https://forums.plex.tv/u/etomm)\
**Post date:** [April 21, 2013, 3:00pm UTC](https://forums.plex.tv/t/plex-strm-file-support-flawed/33168/1 "2013-04-21T15:00:17Z")

</div>

Hello I began to do some test with the strm files and at the end I came to an endpoint: the strm support is flawed.

&nbsp;

The stream is the following:

```
tmp://live.dtv.cubecdn.net/kdmobil/ playpath=KanalD1 live=1 swfUrl=http://www.kanald.com.tr/Content/swf/Canliplayer.swf?config=/Content/swf/Config.xml&debug=false pageUrl=http://www.kanald.com.tr/CanliYayin
```

If I run the following commandline:

```
C:\Users\administrator>"C:\Program Files (x86)\Plex\Plex Media Server\PlexTranscoder.exe" -i "rtmp://live.dtv.cubecdn.net/kdmobil/ playpath=KanalD1 live=1 swfUrl=http://www.kanald.com.tr/Content/swf/Canliplayer.swf?config=/Content/swf/Config.xml&debug=false pageUrl=http://www.kanald.com.tr/CanliYayin" -async 1 -f asf -vcodec wmv2 -b 12000k -acodec wmav2 -ar 48000 -ac 2 -s 1920x1080 -re -rebuf 10 -
```

It will start to play the stream immediately after listing the metadata of the stream without problems.

&nbsp;

If I put the stream of before directly inside a strm file and try to play it trough plex, it will just stop before giving any metadata saying:&nbsp;

```
Invalid data found when processing input
```

If I insert everything in a m3u8 as the following

```
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000000
rtmp://live.dtv.cubecdn.net/kdmobil/ playpath=KanalD1 live=1 swfUrl=http://www.kanald.com.tr/Content/swf/Canliplayer.swf?config=/Content/swf/Config.xml&debug=false pageUrl=http://www.kanald.com.tr/CanliYayin
```

And try to play it after the -i option of the transcoder, it will give all the metadata information and then it will close saying&nbsp;

```
Invalid data found when processing input
```

So what I would like to know is why the trascoder is not able to read the stream from a strm or a m3u8 correctly but if I pass the same stream url and parameters directly to the -i option the stream starts correctly?

&nbsp;

Is this a bug?

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 11:15pm UTC](https://forums.plex.tv/t/plex-strm-file-support-flawed/33168/2 "2019-12-20T23:15:25Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
