INTERACT FORUM

Windows => JRiver Media Center 33 for Windows => Topic started by: 39505399 on February 17, 2025, 07:13:28 am

Title: Error submitting a packet to the muxer
Post by: 39505399 on February 17, 2025, 07:13:28 am
[vost#0:0/copy @ 0000022dcd168400] Error submitting a packet to the muxer: Invalid argument21x
    Last message repeated 1 times
[out#0/mpegts @ 0000022dcc60d700] Error muxing a packet
[out#0/mpegts @ 0000022dcc60d700] Task finished with error code: -22 (Invalid argument)
[out#0/mpegts @ 0000022dcc60d700] Terminating thread with return code -22 (Invalid argument)
[out#0/mpegts @ 0000022dcc60d700] Error writing trailer: Invalid argument
[out#0/mpegts @ 0000022dcc60d700] Error closing file: Invalid argument
[out#0/mpegts @ 0000022dcc60d700] video:5KiB audio:1KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 79.149990%
frame=   18 fps=0.0 q=-1.0 Lsize=       9KiB time=00:00:00.62 bitrate= 120.0kbits/s speed=0.938x
Conversion failed!
Title: Re: Error submitting a packet to the muxer
Post by: JimH on February 17, 2025, 08:37:52 am
Please explain.  What are you doing?
Title: Re: Error submitting a packet to the muxer
Post by: 39505399 on February 17, 2025, 09:20:38 am
Please explain.  What are you doing?

Shell> yt-dlp --downloader ffmpeg --hls-use-mpegts 'https://uo9dejauiyrl.cdn-centaurus.com/hls2/01/00468/ze6bdbodqmgp_,n,h,x,.urlset/index-f3-v1-a1.m3u8?t=O7OkKwCKMRTmFjCwdwR_0qwfIx6iS2j58gylC3eEmYI&s=1739805563&e=129600&f=2343008&srv=mshhi81uz5rem&i=0.4&sp=500&p1=mshhi81uz5rem&p2=mshhi81uz5rem&asn=3462' -o - | MC33.exe -
Title: Re: Error submitting a packet to the muxer
Post by: 39505399 on February 20, 2025, 01:42:18 am
Is there any friend willing to solve this problem? Such an excellent player?
Title: Re: Error submitting a packet to the muxer
Post by: zybex on February 20, 2025, 04:26:34 am
Quote
(...) | MC33.exe -

this won't work, MC33.exe doesn't read content from STDIN.

https://wiki.jriver.com/index.php/The_Command_Line
Title: Re: Error submitting a packet to the muxer
Post by: 39505399 on February 21, 2025, 03:12:04 pm
[out#0/mpegts @ 0000022dcc60d700] video:5KiB audio:1KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 79.149990%
frame=   18 fps=0.0 q=-1.0 Lsize=       9KiB time=00:00:00.62 bitrate= 120.0kbits/s speed=0.938x
Conversion failed!
Title: Re: Error submitting a packet to the muxer
Post by: zybex on February 21, 2025, 03:16:10 pm
That is thrown by yt-dlp or ffmpg, not MC. MC does not read from STDIN.

This is my last reply. You would do well to be a bit more verbose.
Title: Re: Error submitting a packet to the muxer
Post by: 39505399 on February 22, 2025, 05:19:55 am
I hope MC supports the following ways to play videos:

Hello friends! Can you add command line arguments for audio,subtitles to load separate audio files and subtitle files., like this:
```
MC33.exe --audio=C:\Users\Name\Audio\test.mp3 --subtitle=C:\Users\Name\Audio\test.srt "C:\Users\Name\Video\test.mp4"
MC33.exe --audio=https://cdn-003.com/audio\test.mp3 --subtitle=C:\Users\Name\Audio\test.srt 'https://cdn-003.com/video\test.mp4'
```
If  Media Center 33  includes a command line parameter to add audio, it can be used in a wider range of fields.
Just like: the `--input-slave and --sub-file` parameter in vlc; the `--audio-file and --sub-files-append` parameter in mpv.

This way users can use  Media Center 33  in more environments.

I plan to develop a web extension for it so that it can be used in a wider range of fields.

Unfortunately, Media Center 33 currently does not support adding separate audio and subtitles via the command line.

Thank you very much for providing a very good media player for global users! 🙏