VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Nov 2008
    Location
    United States
    Search Comp PM
    For some reason, I am having a ton of problems encoding a video to FLV. Mencoder is running in cron, and after it successfully encodes one video, it always fails on subsequent other videos by only encoding a partial file (always 12KB).

    Using the following command line:

    /usr/local/bin/mencoder /usr/local/www/data/video_queue/new/84c2245f6db05cce008ec0ced7716088-12.flv -vf pp=lb,scale=400:300 -srate 44100 -oac lavc -lameopts vbr=2:q=3 -ovc lavc -lavcopts vcodec=flv:vbitrate=400:keyint=30:acodec=libmp3lam e:abitrate=128 -of lavf -ofps 29 -o /usr/local/www/content/e/7/4616.flv > /tmp/videoEncoderLog

    The output I get from Mencoder is this:

    MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Xeon(R) CPU X3220 @ 2.40GHz (Family: 6, Model: 15, Stepping: 11)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

    success: format: 0 data: 0x0 - 0x15dba8
    libavformat file format detected.
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO: [VP6F] 450x338 0bpp 29.917 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:44 fourcc:0x46365056 size:450x338 fps:29.92 ftime:=0.0334
    ================================================== ========================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ================================================== ========================
    OK, exit
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [scale w=400 h=300]
    Opening video filter: [pp=lb]
    ================================================== ========================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash decoder)
    ================================================== ========================
    VDec: vo config request - 450 x 338 (preferred colorspace: Planar YV12)
    [PP] Using external postprocessing filter, max q = 6.
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is undefined - no prescaling applied.
    videocodec: libavcodec (400x300 fourcc=31564c46 [FLV1])
    VIDEO CODEC ID: 22
    AUDIO CODEC ID: 15001, TAG: 0
    Writing header...
    Pos: 0.0s 1f ( 2%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
    Flushing video frames.
    Writing index...

    Video stream: 819.656 kbit/s (102457 B/s) size: 3533 bytes 0.034 secs 1 frames

    Audio stream: 127.997 kbit/s (15999 B/s) size: 8359 bytes 0.522 secs


    Has anybody seen this before?
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    no,
    course i don't know cron.

    are you saying it always happens on the second run?
    regardless of source?
    that if you run the same source but first it works?

    try without cron.
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  



Similar Threads

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