VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Hi,

    I am having trouble transcoding from a MythTv generated file, from an Hauppauge HVR 1600 card. I am transcoding both to save space, and to remove commercials. I can play the MythTv generated file in MythTv with no problem. When I run command 1 (see below) I get 3 mins of video with no sound. When I run command 2 I get the full video with the audio out of sync. I have tried the same commands with the -ni flag with no difference. I have included mplayer identify below as well. Thank-you for taking the time to read this, any help would be greatly appreciated as I have been trying to get this to work for some time now.

    |Command 1
    -------------------------------------------------------------------------------
    mencoder /myth/tv/5032_20081112114700.mpg -o test.avi -oac lavc -ovc lavc
    -------------------------------------------------------------------------------

    I get this result:

    -------------------------------------------------------------------------------
    MEncoder dev-SVN-r26260-4.2.3 (C) 2000-2008 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 35, Stepping: 2)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    success: format: 0 data: 0x0 - 0x1e970000
    MPEG-PS file format detected.
    VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 6000.0 kbps (750.0 kbyte/s)
    [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
    ================================================== ========================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

    Too many video packets in the buffer: (4096 in 7887568 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    ADecoder init failed
    ADecoder init failed
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

    Too many video packets in the buffer: (4096 in 7887568 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    Unknown/missing audio format -> no sound
    ADecoder init failed
    Opening audio decoder: [libmad] libmad mpeg audio decoder

    Too many video packets in the buffer: (4096 in 7887568 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    Cannot sync MAD frame
    ADecoder init failed
    ADecoder init failed
    Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)

    Too many video packets in the buffer: (4096 in 7887568 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    Cannot sync MPA frame: 0
    ADecoder init failed
    ADecoder init failed
    Cannot find codec for audio format 0x50.
    Read DOCS/HTML/en/codecs.html!
    ================================================== ========================
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    ================================================== ========================
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    VDecoder init failed
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
    ================================================== ========================
    VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    videocodec: libavcodec (720x480 fourcc=34504d46 [FMP4])
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    Pos: 0.0s 2f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
    1 duplicate frame(s)!
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...3f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

    1 duplicate frame(s)!
    Pos: 185.9s 5573f (23%) 97.76fps Trem: 3min 76mb A-V:0.000 [816:0]]]
    Too many audio packets in the buffer: (4096 in 8257536 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.

    Too many audio packets in the buffer: (4096 in 8257536 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.

    Flushing video frames.
    Writing index...
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

    Video stream: 816.246 kbit/s (102030 B/s) size: 18969466 bytes 185.919 secs 5573 frames
    -------------------------------------------------------------------------------


    |Command 2
    -------------------------------------------------------------------------------
    mencoder /myth/tv/5032_20081112114700.mpg -o test.avi -oac lavc -ovc lavc -demuxer lavf
    -------------------------------------------------------------------------------
    MEncoder dev-SVN-r26260-4.2.3 (C) 2000-2008 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 35, Stepping: 2)
    CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    success: format: 0 data: 0x0 - 0x1e970000
    libavformat file format detected.
    [lavf] Video stream found, -vid 0
    [lavf] Audio stream found, -aid 1
    VIDEO: [mpg2] 720x480 0bpp 29.970 fps 6000.0 kbps (732.4 kbyte/s)
    [V] filefmt:35 fourcc:0x3267706D size:720x480 fps:29.97 ftime:=0.0334
    ================================================== ========================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3

    Too many video packets in the buffer: (441 in 8398012 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    ADecoder init failed
    ADecoder init failed
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

    Too many video packets in the buffer: (441 in 8398012 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    AUDIO: 32000 Hz, 2 ch, s16le, 384.0 kbit/37.50% (ratio: 48000->128000)
    Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio decoder)
    ================================================== ========================
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    ================================================== ========================
    Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
    VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    The selected video_out device is incompatible with this codec.
    Try appending the scale filter to your filter list,
    e.g. -vf spp,scale instead of -vf spp.
    VDecoder init failed
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
    ================================================== ========================

    Too many video packets in the buffer: (441 in 8398012 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
    VDec: using Planar YV12 as output csp (no 0)
    Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
    videocodec: libavcodec (720x480 fourcc=34504d46 [FMP4])
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    New_Face failed. Maybe the font path is wrong.
    Please supply the text font file (~/.mplayer/subfont.ttf).
    subtitle font: load_sub_face failed.
    Pos: 0.0s 1f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
    Too many video packets in the buffer: (443 in 8396632 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.

    Too many video packets in the buffer: (443 in 8396632 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    Pos: 0.0s 2f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.003 [0:0]
    Too many video packets in the buffer: (442 in 8391092 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.

    1 duplicate frame(s)!
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
    Pos: 0.0s 3f ( 1%) 0.00fps Trem: 0min 0mb A-V:0.007 [0:0]
    Too many video packets in the buffer: (442 in 8409416 bytes).
    Maybe you are playing a non-interleaved stream/file or the codec failed?
    For AVI files, try to force non-interleaved mode with the -ni option.
    -------------------------------------------------------------------------------


    Command:
    -------------------------------------------------------------------------------
    mplayer /myth/tv/5032_20081112114700.mpg -msglevel identify=6
    -------------------------------------------------------------------------------

    MPlayer dev-SVN-r26260-4.2.3 (C) 2000-2008 MPlayer Team
    CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 35, Stepping: 2)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing /myth/tv/5032_20081112114700.mpg.
    ID_VIDEO_ID=0
    ID_AUDIO_ID=0
    MPEG-PS file format detected.
    VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 6000.0 kbps (750.0 kbyte/s)
    ID_FILENAME=/myth/tv/5032_20081112114700.mpg
    ID_DEMUXER=mpegps
    ID_VIDEO_FORMAT=0x10000002
    ID_VIDEO_BITRATE=6000000
    ID_VIDEO_WIDTH=720
    ID_VIDEO_HEIGHT=480
    ID_VIDEO_FPS=29.970
    ID_VIDEO_ASPECT=0.0000
    ID_AUDIO_FORMAT=80
    ID_AUDIO_BITRATE=0
    ID_AUDIO_RATE=0
    ID_AUDIO_NCH=0
    ID_LENGTH=789.78
    ID_SEEKABLE=1
    -------------------------------------------------------------------------------
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Triptonia
    Search Comp PM
    sample
    "I'll give you five dollars if you let me throw a rock at you"
    Quote Quote  
  3. Member
    Join Date
    Nov 2002
    Location
    United States
    Search Comp PM
    I don't have MythTV but with the MPEG-PS files that I get with my HVR 1800 and WinTV, I use Mpeg2Cut2 to cut the commercials and DGIndex to create a D2V file that I can open in Virtualdub with an AVS script.

    I guess you could just create the D2V file and do all the cuts in Virtualdub.

    You'll need DGMPGDec, Avisynth 2.5 and Virtualdub. Read the DGMPGDec manual for instructions on how to create an AVS script to open the file in Virtualdub.
    Quote Quote  
  4. Thanks DarrellS, I'll try that and 45tripp. Sorry for the delay in responding but I'm leaning towards ditching the card and moving to a 500 model, as it seems to be better supported.
    Quote Quote  



Similar Threads

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