Convert/Save not working when setting H264 codec options

About encoding, codec settings, muxers and filter usage
jameswyper
New Cone
New Cone
Posts: 1
Joined: 05 Mar 2023 19:20

Convert/Save not working when setting H264 codec options

Postby jameswyper » 05 Mar 2023 19:32

Hi. I'm trying to convert a set of MPEG2 videos to H264. I'm using the convert/save option and the only things I've tweaked are (a) check the Deinterlace box and (b) change the H264 + MP3 (MP4) profile so that the Video Codec Quality is set to 31 (I have tried, and reverted, some custom options too). When I click on Convert, nothing happens. Looking in Tools->Messages I see this for each video:

stream_out_transcode error: cannot create chain
main error: stream chain failed for `transcode{vcodec=h264,venc=x264{qp=31,scale=Auto,acodec=mpga,ab=128,channels=2,samplerate=44100,scodec=none,deinterlace}:std{access=file{no-overwrite},mux=mp4,dst='C:/Users/jrwyp/Videos/vhs/Upcott_2003-converted.mp4'}'
main error: cannot start stream output instance, aborting

To my eye it looks like there might be a closing brace missing - perhaps between Auto and acodec - so that the transcode command isn't being constructed properly.

Is this something I can fix (or should be fixing) with different options or is it a possible bug? I'm using 3.0.18

If I set the Quality field back to "not used" then conversion proceeds, but I'd really like to be able to control it, because the default options are barely shrinking my original files at all and 500MB for 14 minutes of 720x576 VHS capture seems a little too much..

Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Convert/Save not working when setting H264 codec options

Postby Rémi Denis-Courmont » 09 Mar 2023 19:26

Yes the syntax is wrong. If this is coming from the VLC GUI, file a bug.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests