Find the answer to your Linux question:
Results 1 to 4 of 4
So I got everything installed and working like it is supposed to but wondering what I am missing. mpeg2encode tells me it is missing a segment that I cannot add ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie cybersmurf's Avatar
    Join Date
    Apr 2006
    Posts
    122

    Mpeg2Enc


    So I got everything installed and working like it is supposed to but wondering what I am missing. mpeg2encode tells me it is missing a segment that I cannot add onto the convert command without that erroring out, example below:

    [root@XXXXXXXXX X_X_X_X]# convert suedella9590*.jpg suedel.mpg
    **ERROR: [mpeg2encode] Output file name (-o option) is required!

    Then I get this:

    [root@XXXXXXXXX X_X_X_X]# convert suedella9590*.jpg -o suedel.mpeg
    convert: unrecognized option `-o'.

    Any thoughts of files I have to edit for this?
    The problem with developing something completely foolproof is underestimating the complete ingenuity of fools ~Unknown

  2. #2
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    I have no experience with mpeg2enc, so I was reading up on it. The Mjpeg Tools documentation at Sorceforge only uses it when it is piped from another process. The man pages say this:
    Code:
    DESCRIPTION
           mpeg2enc is heavily enhanced derivative of the MPEG Software Simulation Groupís  MPEG-2  reference  encoder.   It
           accepts  streams in a simple planar YUV format "YUV4MPEG" produced by the lav2yuv and related filters (e.g. yuvs‐
           caler(1)) from the mjpegtools(1) package.  An output plug-in to the mpeg2dec(1) MPEG decoder is available to per‐
           mit  its  use  in  transcoding  applications.  The  encoder currently fully supports the generation of elementary
           MPEG-1, progressive and interlaced frame MPEG-2 streams.  Field encoded MPEG-2 is also possible but is  not  cur‐
           rently maintained or supported.
    So then here is one of the examples from the web site:
    Code:
    lav2yuv video.eli | yuvdenoise | yuvfps -r 24000:1001 | yuvscaler -O SIZE_720x480 | mpeg2enc -f 3 -b 4000 -q 7 -o video_ntsc.m2v
    Please do not send Private Messages to me with requests for help. I will not reply.

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    17
    You could downloading drivers (DIVX?) or using something like Super C instead.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,509
    Personally, I prefer to use ffmpeg, though I haven't used it to create a slide show from jpeg files like this.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •