VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I'm having trouble transcoding with VLC using the commandline, what am I doing wrong?

    I want it to keep the audio stream without reencoding and encode the video stream using x264:

    Code:
    cvlc v4l2:///dev/video1 :input-slave="alsa://hw:1,0" :sout=#transcode{vcodec=h264,venc=x264{qp=17,preset=ultrafast},scale=Auto,width=1920}:duplicate{dst=file{dst=/home/ezcapper/ezcapper.avi,no-overwrite},dst=display} :sout-keep
    this is what the console feeds back:

    Code:
    [0000558ce3df8bb8] dummy interface: using the dummy interface module...
    [00007fdcac000b98] core stream output error: stream chain failed for `transcodewidth=1920:duplicatedst=display'
    [00007fdca80009b8] core input error: cannot start stream output instance, aborting
    Thanks for any advice
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Try first remove some commands. Like first the width and see if you get same error.
    Or add "" around the sout="#transcode..."

    MY working transcode and duplicate with several dst command looks like:
    Code:
    sout="#transcode{venc=x264{profile=high},vcodec=x264,vb=1000,scale=1,acodec=mp4a,ab=96,channels=2,samplerate=48000,deinterlace}:duplicate{dst=std{access=http,mux=ts,dst=:9090},dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=:9090/stream.flv}}"
    Quote Quote  
  3. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    He's determined to not use FFMPEG for anything, and then you go giving him a command line with the word "ffmpeg" in it.

    (VLC is based on LibAV, which is a fork of FFMPEG.)
    Quote Quote  
  4. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    You don't have to use the dst ffmpeg muxing. It's just an example how a sout would look like.
    Quote Quote  
  5. The quotation marks made it work, Thank you for your help!
    Last edited by ezcapper; 13th Jan 2017 at 19:15.
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Originally Posted by ezcapper View Post
    The quotation marks made it work, Thank you for your help!
    Great!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!