Cannot transcode mpeg2 to h264

About encoding, codec settings, muxers and filter usage
michael_b
New Cone
New Cone
Posts: 1
Joined: 24 Nov 2017 16:23

Cannot transcode mpeg2 to h264

Postby michael_b » 24 Nov 2017 16:48

Hello everyone!

When I try to transcode the following UDP stream (ffprobe https://www.pastefile.com/TXr01I)

Code: Select all

Stream #0:0[0x906]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc

With the following command:

Code: Select all

cvlc "udp://@239.192.75.10:5000" --sout '#transcode{vcodec=h264,vb=700,fps=25,scale=1,acodec=mp4a,channels=2,samplerate=44100}:display' -vv

It does not work (only the first frame is shown) and produces the following error (full output https://www.pastefile.com/qhdBpi):

Code: Select all

[00007fc758052930] main filter debug: looking for video converter module matching "any": 23 candidates [00007fc758052930] chain filter error: Too high level of recursion (3) [00007fc758052930] main filter debug: no video converter modules matched [00007fc758013c10] main filter error: Failed to create video converter

The UDP stream is playable in VLC. If I transcode the stream to mp4 (literally replace h264 with mp4v), it works.

What I am doing wrong?

Thanks!

Michal

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Cannot transcode mpeg2 to h264

Postby InTheWings » 24 Nov 2017 19:21

seems it tries to convert hw format..

disable hw acceleration
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 26 guests