Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

encoding problems

2008-11-29
2013-05-30
  • brett hamilton
    brett hamilton
    2008-11-29

    Hi
    I am streaming from linux to ps3 (well at least trying to).  but i am running into some problems with transcoding
    I get the following error message- I gather it is looking for ffmpeg MPEG-2 transcoder,  does anyone know how i can check this is installed or indeed point me in the right direction.

    Error I get
    ---------------------
    main libvlc debug: translation test: code is "C"
    [00000404] dummy interface: using the dummy interface module...
    [00000422] mux_ps mux: Open
    [00000404] dummy interface: using the dummy interface module...
    [00000422] mux_ps mux: Open
    [00000498] avcodec encoder error: cannot find encoder MPEG-2 Video
    [00000415] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v)
    [00000415] stream_out_transcode stream out error: cannot create video chain
    [00000435] main packetizer error: cannot create packetizer output (mp4v)
    [00000498] avcodec encoder error: cannot find encoder MPEG-2 Video
    [00000415] stream_out_transcode stream out error: cannot find video encoder (module:ffmpeg fourcc:mp2v)
    [00000415] stream_out_transcode stream out error: cannot create video chain
    [00000435] main packetizer error: cannot create packetizer output (mp4v)
    [00000402] signals interface error: Caught Terminated signal, exiting...
    [00000422] mux_ps mux: Close
    [00000402] signals interface error: Caught Terminated signal, exiting...

    One other question just for enlightenment,  why is it that we point vlc to the ffmpeg encoder ???

    <agent command="vlc" arguments="-I dummy %in --sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
            <buffer size="14400000" chunk-size="512000" fill-size="120000"/>

     
    • Jin
      Jin
      2008-11-29

      Hi,

      I think you should ask that question at the VLC forum... I do not know much about it's configuration options and command line.

      The default transcoding string that we use works on Fedora and Ubuntu installations, but VLC can be compiled in various ways...

      The <agent> tag represents the command line that you could try in your terminal window, replacing %in with your input file and %out with your output filename, I'm sure VLC guys will know what's going wrong.

      Kind regards,
      Jin

       
    • brett hamilton
      brett hamilton
      2008-12-17

      Thanks for the response.
      The encoders were missing due to incorrect libs for ffmpeg..
      I would list the correct ones but im at work and my memory is at home.. :)

      /brett