Hi,

I'm trying to extract the HEVC elementary stream from a DASH/HLS fMP4 segment so I can inspect it using https://github.com/virinext/hevcesbrowser for debugging purposes.

For this I need to extract the payload of the `mdat` box of the segment. But it looks like that `mp42hevc` is not capable of doing this?
```
mp42hevc 1.m4s 1.hevc
ERROR: no movie in file
```

What do you think, could this feature be added?

I also tried
```
mp4extract --payload-only mdat 1.m4s mdat1.hevc
```
with no luck. The resulting `mdat1.hevc` is not readable.

Do you have an idea for how to extract the HEVC stream in this scenario?

Thanks.
How to extract ES from fMP4 segments
This is a GitHub Issue
repo:Bento4
owner:axiomatic-systems
Title : How to extract ES from fMP4 segments
Issue date:

--- start body ---
Hi,

I'm trying to extract the HEVC elementary stream from a DASH/HLS fMP4 segment so I can inspect it using https://github.com/virinext/hevcesbrowser for debugging purposes.

For this I need to extract the payload of the `mdat` box of the segment. But it looks like that `mp42hevc` is not capable of doing this?
```
mp42hevc 1.m4s 1.hevc
ERROR: no movie in file
```

What do you think, could this feature be added?

I also tried
```
mp4extract --payload-only mdat 1.m4s mdat1.hevc
```
with no luck. The resulting `mdat1.hevc` is not readable.

Do you have an idea for how to extract the HEVC stream in this scenario?

Thanks.
--- end body ---
