First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Unable to parse Mpeg-ts properties

Hi All

I'm trying to capture the MJPEG-TS video output properties. I tried below link for Mjpeg parse from below link. https://wiki.wireshark.org/mpeg_dump.lua. I'm facing below error while saving with dump. Please let me know the solution for this.

Error: Lua:Erro During execution of dialog callback: MPEG_packet_dump.lua:70:attmpt to call global 'debug''(a table value).

Satya916's avatar
1
Satya916
asked 2020-01-13 07:26:48 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

The wiki page, and the lua code, note that it was last tested with Wireshark version 1.11.3, which is very old. What version are you using? There's likely been some changes to the lua support that have broken the script.

You could try commenting out the offending line 70 of the script, i.e. the debug call which doesn't do anything useful.

Please report back if you do get it to work so the Wiki page can be updated.

grahamb's avatar
23.8k
grahamb
answered 2020-01-13 08:07:08 +0000
edit flag offensive 0 remove flag delete link

Comments

I commented out the line and tried to save file. The process if completed but I have a .ts file with 0 bytes, So I am wondering if this is due to the change I introduced or it is due to my recording ?

tapowad's avatar tapowad (2021-03-11 09:39:59 +0000) edit

The lua script works with the all versions of Wireshark after either commenting out the debug command or changing it to something else (I used print). The lua script requires Wireshark to know that the payload is MPEG-TS frames. The info column should say the packets are MPEG-II or MP2T frames. If it doesn't, make sure that UDP is configured to decode the UDP port as RTP. In the RTP detail, it will show a payload type 33 and then TS information below it.

It would help if you had a screenshot or small pcap (less than 100 packets) to look at

BigFatCat's avatar BigFatCat (2021-03-11 21:37:01 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer