Page 1 of 1

Cannot transcode mpeg2 to h264

Posted: 24 Nov 2017 16:48
by michael_b
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

Re: Cannot transcode mpeg2 to h264

Posted: 24 Nov 2017 19:21
by InTheWings
seems it tries to convert hw format..

disable hw acceleration