VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Member
    Join Date: Aug 2007
    Location: Pakistan
    Search Comp PM
    Hi.

    I have a file which does not playback properly in any software.

    It has an mpg extension. Its MediaInfo screenshot is attached which shows its detailed audio / video formats.

    While trying to playback in VLC Player, an error message comes up which says 'the required video / audio codecs are not found'. However, the audio of the file does playback but no video (blank screen).

    While trying to playback in Womble's MPEG Video Wizard, the video plays back normally but there is no sound (no audio). There is no error message though.

    Avidemux also plays back the video part only, with no sound. Attached is a portion cut out through Avidemux and saved in the only Muxer it allowed for this file, AVI Muxer. The saved file when played back in VLC plays only the audio part.

    Can anyone advise me how I can successfully edit out a portion from the parent file?

    Thank you.
    Attached Thumbnails Click image for larger version

Name:	MediaInfo screenshot.jpg
Views:	83
Size:	131.6 KB
ID:	25866  

    Attached Files
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    Search Comp PM
    The avi sample works in potplayer. But it has some strange video properties:
    Code:
    General
    Complete name                            : E:\Downloads\aatemp1.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 3.78 MiB
    Duration                                 : 15s 415ms
    Overall bit rate                         : 2 059 Kbps
    
    Video
    ID                                       : 0
    Format                                   : 0x01000010
    Codec ID                                 : 0x01000010
    Duration                                 : 15s 415ms
    Bit rate                                 : 1 796 Kbps
    Width                                    : 640 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 29.970 fps
    Bits/(Pixel*Frame)                       : 0.195
    Stream size                              : 3.30 MiB (87%)
    
    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 2
    Codec ID                                 : 50
    Duration                                 : 15s 386ms
    Bit rate mode                            : Constant
    Bit rate                                 : 96.0 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 180 KiB (5%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 26 ms (0.78 video frame)
    I would try reconvert the video to some other format in avidemux.
    Quote Quote  
  3. vanished El Heggunte's Avatar
    Join Date: Jun 2009
    Location: Misplaced Childhood
    Search Comp PM
    The original file is an AVI, the extension ".mpg" is wrong.
    It was muxed incorrectly by Mencoder.
    It was remuxed incorrectly by Avidemux.

    Remuxing with ffmpeg makes it "normal", apparently at least.

    Code:
    ffmpeg -i aatemp1.avi -vcodec copy -acodec copy -vtag MPG1 aatemp2.avi
    Quote Quote  
  4. Member
    Join Date: Aug 2007
    Location: Pakistan
    Search Comp PM
    Originally Posted by Baldrick View Post
    The avi sample works in potplayer. But it has some strange video properties:
    Code:
    General
    Complete name                            : E:\Downloads\aatemp1.avi
    Format                                   : AVI
    Format/Info                              : Audio Video Interleave
    File size                                : 3.78 MiB
    Duration                                 : 15s 415ms
    Overall bit rate                         : 2 059 Kbps
    
    Video
    ID                                       : 0
    Format                                   : 0x01000010
    Codec ID                                 : 0x01000010
    Duration                                 : 15s 415ms
    Bit rate                                 : 1 796 Kbps
    Width                                    : 640 pixels
    Height                                   : 480 pixels
    Display aspect ratio                     : 4:3
    Frame rate                               : 29.970 fps
    Bits/(Pixel*Frame)                       : 0.195
    Stream size                              : 3.30 MiB (87%)
    
    Audio
    ID                                       : 1
    Format                                   : MPEG Audio
    Format version                           : Version 1
    Format profile                           : Layer 2
    Codec ID                                 : 50
    Duration                                 : 15s 386ms
    Bit rate mode                            : Constant
    Bit rate                                 : 96.0 Kbps
    Channel(s)                               : 2 channels
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 180 KiB (5%)
    Alignment                                : Aligned on interleaves
    Interleave, duration                     : 26 ms (0.78 video frame)
    I would try reconvert the video to some other format in avidemux.
    I have used the Copy mode of Avidemux for both the video and audio. However, if we dont use the copy mode, there are so many options for both video and audio. Can you help me choose / give some clues to what options should I use to save it correctly? The Output Format dropdown does not let me use any other muxer than AVI to save this file.
    Quote Quote  
  5. vanished El Heggunte's Avatar
    Join Date: Jun 2009
    Location: Misplaced Childhood
    Search Comp PM
    The original file already has a very-low quality. Reencoding it will make its quality go even worse.
    Are you sure that's what you really want?
    Quote Quote  
  6. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date: Aug 2000
    Location: Sweden
    Search Comp PM
    Try first ffmpeg as el heggunte recommends above. Just google ffmpeg command line tutorial if you have no idea how to use command line.
    Quote Quote  
  7. Member
    Join Date: Aug 2007
    Location: Pakistan
    Search Comp PM
    Originally Posted by El Heggunte View Post
    The original file is an AVI, the extension ".mpg" is wrong.
    It was muxed incorrectly by Mencoder.
    It was remuxed incorrectly by Avidemux.

    Remuxing with ffmpeg makes it "normal", apparently at least.

    Code:
    ffmpeg -i aatemp1.avi -vcodec copy -acodec copy -vtag MPG1 aatemp2.avi
    Hi.
    Thank you very much for this useful, informative reply.
    It impressive how you know what software has been used to mux the original file. So if it was muxed incorrectly by the Mencoder, can I use Mencoder to correct this file now? If I want to use Avidemux, which options in video and audio should I use to increase my chances of saving this file normally? Otherwise I can use ffmpeg (I have already downloaded it) but have never used the command line editing before so let me google it as Baldrick says and I will let you know if few minutes the result.
    Thanks.
    Quote Quote  
  8. vanished El Heggunte's Avatar
    Join Date: Jun 2009
    Location: Misplaced Childhood
    Search Comp PM
    Originally Posted by seymoria View Post
    Thank you very much for this useful, informative reply.
    You're welcome ^_^

    It impressive how you know what software has been used to mux the original file.
    The Mediainfo printscreen you posted shows it all

    So if it was muxed incorrectly by the Mencoder, can I use Mencoder to correct this file now?
    Very unlikely. As for Avidemux, I stopped using it years ago, not only because of the bugs and limitations, but also because of its GUI.
    Quote Quote  
  9. Member
    Join Date: Aug 2007
    Location: Pakistan
    Search Comp PM
    I have a file in D drive. I have ffmpeg in E:
    I run command prompt and its showing > D:
    Now what are the next things to type?

    Thanks.
    Quote Quote  
  10. Member
    Join Date: Sep 2012
    Location: Australia
    Search Comp PM
    If FFMPEG isn't in a PATH directory then drag an drop it onto the command prompt, add some of the options then drag and drop the file onto the command prompt where it's needed.
    Quote Quote