Como reparar el indice de un vídeo

Hace poco tuve que buscar como reparar un vídeo en Ubuntu Linux y esto es las dos formas que encontré:

Usando MEncoder:

Instalar MEncoder si no lo tenemos ya instalado

sudo apt-get install mencoder
 
 
Con la siguiente sentencia videomal.avi es el archivo de vídeo a reparar y video_arreglado.avi es el archivo con el índice corregido.

mencoder -idx videomal.avi -ovc copy -oac copy -o video_arreglado.avi

La otra forma es con un programa que se llama Divfix++:

Divfix++

Fuente: BlogJorgeIvanMeza

3 comentarios:

  1. exelente. los vob hay que renombrarlos a avi

    ResponderEliminar
  2. MPlayer 1.3SVN-r37931 (C) 2000-2017 MPlayer Team
    success: format: 0 data: 0x0 - 0xff0823c
    libavformat version 57.71.100 (internal)
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55d92d9350e0]moov atom not found
    LAVF_header: av_open_input_stream() failed
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55d92d9350e0]moov atom not found
    LAVF_header: av_open_input_stream() failed
    RAWDV file format detected.
    VIDEO: [DVSD] 720x480 24bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
    [V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.970 ftime:=0.0334
    ==========================================================================
    Opening audio decoder: [libdv] Raw DV Audio Decoder
    Unknown/missing audio format -> no sound
    ADecoder init failed :(
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    libavcodec version 57.89.100 (internal)
    [dvaudio @ 0x55d92d950a80]invalid number of channels
    Could not open codec.
    ADecoder init failed :(
    ADecoder init failed :(
    Cannot find codec for audio format 0x56444152.
    ==========================================================================
    videocodec: framecopy (720x480 24bpp fourcc=44535644)
    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: 9.3s 280f (12%) 0.00fps Trem: 0min 255mb A-V:0.000 [28874:0]

    Too many audio packets in the buffer: (280 in 33600000 bytes).
    Maybe badly- or non-interleaved stream/file or the codec failed?
    Fix the file or try the -ni option (can cause high memory usage).
    Writing index...
    Writing header...
    ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

    Video stream: 28771.199 kbit/s (3596399 B/s) size: 33600000 bytes 9.343 secs 280 frames
    no me funciona para un archivo mp4 cuando segun si funciona

    ResponderEliminar