vlc rtsp to mp4 transcoding error -


i trying transcode live rtsp stream mp4 file using cvlc getting error below. ideas why getting error?

here's command use -

cvlc -vvv rtsp://184.173.147.99:5555/mpeg2transportstreamfromudpsourcetest --sout '#transcode{vcodec=mp4v,acodec=none,vb=128,deinterlace}:file{dst=out.mp4}' 

here's error get

[0x7f72400011b8] avcodec encoder debug: libavcodec initialized [mpeg4 @ 0x29ef5c0] timebase 333333/20000000 not supported mpeg 4 standard, maximum admitted value timebase denominator 65535 [0x7f72400011b8] avcodec encoder error: cannot open encoder [0x7f72400011b8] main encoder error: streaming / transcoding failed [0x7f72400011b8] main encoder error: vlc not open encoder. [0x7f72400011b8] main encoder debug: no encoder module matching "any" loaded 

the error tells wrong timebase.

if read on conversation in ffmpeg user list suggestion define correct framerate.

so first guess check on command , introduce option defining wanted framerate 1 automatically analyzed not fit.

here's updated version of command using --timecode-fps:

cvlc -vvv rtsp://184.173.147.99:5555/mpeg2transportstreamfromudpsourcetest --sout '#transcode{vcodec=mp4v,acodec=none,vb=128,deinterlace}:file{dst=out.mp4}' --timecode-fps=24/1 

here updated version of command using --sout-transcode-fps <float>:

cvlc -vvv rtsp://184.173.147.99:5555/mpeg2transportstreamfromudpsourcetest --sout '#transcode{vcodec=mp4v,fps=24/1,acodec=none,vb=128,deinterlace}:file{dst=out.mp4}' 

try different framerates e.g.: 24/1, 25/1, 30000/1001, 30/1, 30.0, 24.0, 25.0

here updated version of command adaptations side:

cvlc -vvv rtsp://184.173.147.99:5555/mpeg2transportstreamfromudpsourcetest --sout '#transcode{vcodec=mp4v,vb=128,fps=24/1,deinterlace,acodec=none}:std{mux=mp4,dst="out.mp4",access=file}' 

hope helps.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -