Ask Your Question
0

Unable to parse Mpeg-ts properties

asked 2020-01-13 07:26:48 +0000

Satya916 gravatar image

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).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-01-13 08:07:08 +0000

grahamb gravatar image

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.

edit flag offensive delete link more

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 gravatar imagetapowad ( 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 gravatar imageBigFatCat ( 2021-03-11 21:37:01 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-01-13 07:26:48 +0000

Seen: 1,830 times

Last updated: Mar 11 '21