none
Cannot Preview Video RRS feed

  • Question

  • I am runnin Expressions Encoder 4, Windows XP 32 Bit. Latest .NET framework.

    No matter what type of video I import (AVI, MP4, MMV) I get a big "Cannot preview video" in the preview area.


    Transcoding works fine, but without preview, this is not much of a editing tool.

    ATI Radeon HD 2400 (with the latest drivers) and DirectX 9C (just downloaded).

     

     

    Friday, June 25, 2010 7:05 PM

All replies

  • In the activity log there should be a HRESULT associated with the error.  This should help narrow done the problem.

    Brian.


    This posting is provided "AS IS" with no warranties, and confers no rights
    Monday, June 28, 2010 1:04 PM
  • Looked at the Event Logs (System, Applicaiton, etc) and saw nothing.

    I then turned on Tools>Options>Logging (All) and restarted and tried the same process.

    Attached is the log (no HRESULT). The transcoding is fine. But the error occurs before that, as soon as I import the mp4 video, the Preview Window shows "Cannot preview video".

     

    <JobLog>
    <Job
     CreateSubfolder="True"
     DefaultMediaOutputFileName="{OriginalFilename}.{DefaultExtension}"
     EncodeEndTime="6/28/2010 9:49:21 AM"
     EncodeStartTime="6/28/2010 9:46:13 AM"
     JobId="YSG4206 6-28-2010 9.45.20 AM"
     JobStatus="Succeeded"
     MachineID="YSG4206"
     OutputDirectory="C:\Documents and Settings\ysg4206\My Documents\Expression\Expression Encoder\Output\YSG4206 6-28-2010 9.45.20 AM"
     SaveJobFileToOutputDirectory="False"
     UserID="ysg4206">
     <MediaFiles>
      <MediaFile
       ActualOutputFileFullPath="C:\Documents and Settings\ysg4206\My Documents\Expression\Expression Encoder\Output\YSG4206 6-28-2010 9.45.20 AM\batmav2.mp4"
       ActualOutputFileName="batmav2.mp4"
       AudioGainLevel="1"
       AudioOverlayDuration="00:00:00"
       AudioOverlayEndTime="00:02:16.3695700"
       AudioOverlayFadeInDuration="00:00:00"
       AudioOverlayFadeOutDuration="00:00:00"
       AudioOverlayGainLevel="1"
       AudioOverlayLayoutMode="WholeSequence"
       AudioOverlayLoop="True"
       AudioOverlayLoopingGap="00:00:00"
       AudioOverlayStartTime="00:00:00"
       CropRect="0, 0, 720, 480"
       DeinterlaceMode="AutoPixelAdaptive"
       DisplayVideoSize="512, 340"
       FileDuration="00:02:16.3695700"
       FileType="Video"
       MainMediaFile="B:\Movies\batmav2.mp4"
       MarkerThumbnailCodec="Jpeg"
       MarkerThumbnailJpegCompression="75"
       MarkerThumbnailSize="512, 340"
       NormalizeAudio="False"
       OriginalAspectRatio="3,2"
       OriginalFileType="Video"
       OriginalFrameRate="29.977367087848673"
       OriginalOverlaySize="0, 0"
       OriginalVideoSize="720, 480"
       OutputAspectRatio="1.50588235294118,1"
       OutputFileEstimatedSize="17813276"
       OutputFormat="Microsoft.Expression.Encoder.MP4OutputFormat"
       OutputFrameRate="29.977367087848673"
       OverlayAudioGainLevel="0"
       OverlayContainsAudio="False"
       OverlayEndTime="00:02:16.3695700"
       OverlayFadeInDuration="00:00:00"
       OverlayFadeOutDuration="00:00:00"
       OverlayLayoutMode="WholeSequence"
       OverlayLoop="True"
       OverlayLoopingGap="00:00:00"
       OverlayOpacity="1"
       OverlayRect="0, 0, 0, 0"
       OverlayStartTime="00:00:00"
       OverlayTransparentBackground="False"
       OverlayVideoDuration="00:00:00"
       PlaybackDuration="00:02:16.3695700"
       ResizeQuality="Super"
       ScriptCommandOutput="Header"
       SourceFileName="B:\Movies\batmav2.mp4"
       Status="FinishedEncode"
       ThumbnailCodec="Jpeg"
       ThumbnailEmbed="False"
       ThumbnailJpegCompression="75"
       ThumbnailMode="None"
       ThumbnailSize="512, 340"
       ThumbnailTime="00:00:00"
       VideoResizeMode="Letterbox"
       VideoSize="512, 340"
       WindowsMediaProfileLanguage="en-US">
       <OutputFiles>
        <OutputFile
         FullPath="C:\Documents and Settings\ysg4206\My Documents\Expression\Expression Encoder\Output\YSG4206 6-28-2010 9.45.20 AM\batmav2.mp4"
         FileName="batmav2.mp4"
         OutputFileType="MediaFile" />
       </OutputFiles>
       <Sources>
        <Source
         MediaFile="B:\Movies\batmav2.mp4"
         ResizeMode="Letterbox"
         ApplyCrop="False"
         AudioStreamIndex="-1">
         <Clips>
          <Clip
           StartTime="00:00:00"
           EndTime="00:02:16.3695700" />
         </Clips>
        </Source>
       </Sources>
      </MediaFile>
     </MediaFiles>
    </Job>
    </JobLog>

    Monday, June 28, 2010 1:54 PM
  • In the bottom half of the UI, there is a tab group with MediaContent/Text/Activity Log entries.  If you select the Activity log panel there should be an Error Code with a HRESULT for this error. 


    This posting is provided "AS IS" with no warranties, and confers no rights
    Tuesday, June 29, 2010 6:03 PM
  • Thank you for being patient Brian.

     

    When loading the mp4 file I get two messages in the Activity Log:

     

    6/30/2010 9:40:49 AM    Error    Preview Window Error: Cannot preview video.    0x80040154
    6/30/2010 9:40:46 AM    Info    Import succeeded: B:\Movies\batmav2.mp4  

     

    The following messages occur before the initial load (when the program is started):

     
    6/30/2010 9:39:43 AM    Error    Cannot load HTML template: No launch page defined in template at c:\Program Files\Microsoft Expression\Encoder 4\Templates\en\SmoothStreamingMediaElement.   
    6/30/2010 9:39:42 AM    Error    Cannot load HTML template: No launch page defined in template at c:\Program Files\Microsoft Expression\Encoder 4\Templates\en\PlugInMSSCtrl.   
    6/30/2010 9:39:42 AM    Error    Cannot load HTML template: No launch page defined in template at c:\Program Files\Microsoft Expression\Encoder 4\Templates\en\OfflineShared.   
    6/30/2010 9:39:42 AM    Error    Cannot load HTML template: No launch page defined in template at c:\Program Files\Microsoft Expression\Encoder 4\Templates\en\MediaPlayer.   
    6/30/2010 9:39:41 AM    Error    Cannot load HTML template: No launch page defined in template at c:\Program Files\Microsoft Expression\Encoder 4\Templates\en\ExpressionPlayer.   

     

    AVI files also result in an error:

     

    6/30/2010 9:43:17 AM    Error    Preview Window Error: Cannot preview video.    0x80004005
    6/30/2010 9:43:16 AM    Info    Import succeeded: B:\Movies\Dragon-Eye-1.avi   

     

    Windows Media Player V 11.0.5721 has no problem with these, so I am assuming it is not a codec issue.

     

     

    Wednesday, June 30, 2010 1:45 PM
  • 0x80040154 is 'Class not registered'.  Could be a codec issue.   0x80004005 is E_FAIL.  A genric soemthing went wrong error.

    Lests try one more thing.  Under Tools->Options->Other, turn on Capture addintial diagnositc info.  Then repo you imports for both files.  Finally select Help->Save Diagnostic Info.  This will create an XML that has a bunch of diagnostic info it.  It will include paths to filenames and DShow filters that are on your machine.  This hopefully will help me figure out what is going on.


    This posting is provided "AS IS" with no warranties, and confers no rights
    Wednesday, June 30, 2010 2:05 PM
  • I am having trouble attaching the XML file (either as straight text) or as an "INSERT CODE BLOCK" in this message. Is there some way to send you the 105Kb file?
    Wednesday, June 30, 2010 2:52 PM
  • Brianwal (at) microsoft.com
    This posting is provided "AS IS" with no warranties, and confers no rights
    Wednesday, June 30, 2010 3:11 PM
  • Did you ever solve this problem?  I am having the same issue.
    Friday, September 10, 2010 4:08 PM
  • No, it was never solved.

     

     

    Sunday, September 12, 2010 2:36 AM
  • thats really a bummer i have had the same exact issue even now years after you posted this and cannot figure it out

    Thursday, March 19, 2015 9:49 PM
  • thats really a bummer i have had the same exact issue even now years after you posted this and cannot figure it out


    windows xp not support latest .net framework. .net 4.0 max probably.

    maybe windows xp not support directx 9C. don't know.

    windows xp not supported by ms anymore.

    maybe need to verify what download that xp support.


    La vida loca

    Thursday, March 19, 2015 10:07 PM
  • Here's a solution that I stumbled on....when the 'Cannot preview message' came up, I clicked on the 'Add Visual Overlay', which seemed to reset the imported video and then it re-displayed.  I was then able to continue editing the video.  Perhaps other options within the program also help with this 'reset' behavior.
    Monday, November 6, 2017 8:18 PM