I'm trying to transcode a video to a file using version 3.0.3 and the media options to add sout, I understand this is not the preferable method but haven't found any other option. With version 2 I did it using the instance arguments but had issues with green artifacts and similar.
The problem is, and it happens both in version 2 and version 3.0.3 that the destination file path is changed erraticaly. It doesn't happens always, may be half of times but it makes it unreliable. Please find enclosed a copy of the log:
VLC media player - 3.0.3 Vetinari
Copyright © 1996-2018 the VideoLAN team
revision 3.0.3-1-0-gc2bb759264
configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g'
creating audio output
looking for audio output module matching "dummy": 4 candidates
using audio output module "adummy"
keeping audio output
Creating an input for 'test_bars.mp4'
using sout chain=`transcode{vcodec=h264,fps=15,width=854,height=480,vfilter=croppadd,acodec=mp4a}:standard{access=file,mux=mp4,dst=/Users/myusername/Desktop/testingACC/test_bars.mp4}'
stream=`standard'
looking for sout stream module matching "standard": 23 candidates
set config option: sout-standard-access to file
set config option: sout-standard-mux to mp4
set config option: sout-standard-dst to /Users/myusername/Desksop/testingACC/test_bars.mp4
looking for sout access module matching "file": 10 candidates
cannot create /Users/myusername/Desksop/testingACC/test_bars.mp4: No such file or directory
no sout access modules matched
no suitable sout access module for `file/mp4:///Users/myusername/Desksop/testingACC/test_bars.mp4'
no sout stream modules matched
destroying chain... (name=(null))
destroying chain done
stream chain failed for `transcode{vcodec=h264,fps=15,width=854,height=480,vfilter=croppadd,acodec=mp4a}:standard{access=file,mux=mp4,dst=/Users/myusername/Desktop/testingACC/test_bars.mp4}'
cannot start stream output instance, aborting
Please notice the change from Desktop to Desksop in the path chain. Using different path chains another character is changed, it seems erratic; and it doesn't matter if I provide the path as a variable or hard coded.
Any help would be appreciated, also for an alternative method to transcode (if possible include a sample, any programming language will be fine).
Thanks.