wmv

How to get better quality converting MP4 to WMV with ffmpeg?

怎甘沉沦 提交于 2019-12-09 04:08:40
问题 I am converting MP4 files to WMV with these two rescaling commands: ffmpeg -i test.mp4 -y -vf scale=-1:360 test1.wmv ffmpeg -i test.mp4 -y -vf scale=-1:720 test2.wmv I've also tried: ffmpeg -g 1 -b 16000k -i test1.mp4 test1.wmv However , the .wmv files that are produced are " blocky and grainy " as you can see here in a small section of a video screenshot: These are the sizes: test.mp4 - 106 MB test1.wmv - 6 MB test2.wmv - 16 MB How can I increase the quality/size of the resulting .wmv files

Using music in a java program

六月ゝ 毕业季﹏ 提交于 2019-12-08 13:02:43
问题 I was trying out the method of creating a background music for a java program, but it displayed an IO excedption error when i clicked the play button. package javaentertainment; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.FileInputStream; import java.io.IOException; import javax.swing.*; import sun.audio.AudioData; import sun.audio.AudioPlayer; import sun.audio.AudioStream; public class Music { public static void main(String args[]) { JFrame frame

WMV media streams appear more pixelated on Windows 7 than on XP

混江龙づ霸主 提交于 2019-12-08 08:24:40
问题 Our streaming media player is an in house C++/DirectShow application and runs on XP and greater. One of our most widely used streaming codecs is WMV, as it's widely supported. We've noticed that output from WMV media streams looks different on Windows 7 clients than on Windows XP. Windows 7 output looks much more pixelated / blocky for WMV streams. An identical stream (coming from a media server) on Windows XP appears much smoother / less pixelated. The same playback graph is used on both

How can I extract a particular frame from a WMV file? [closed]

泄露秘密 提交于 2019-12-02 20:06:11
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I have a Windows Media Video file, and the need to grab a frame and show it. How might I accomplish this? 回答1: I don't think that

How can I extract a particular frame from a WMV file? [closed]

半世苍凉 提交于 2019-12-02 09:55:26
I have a Windows Media Video file, and the need to grab a frame and show it. How might I accomplish this? I don't think that there is a ready made library available for that, however you can probably make use of ffmpeg. http://www.db75.com/new_blog/?p=121 来源: https://stackoverflow.com/questions/2555714/how-can-i-extract-a-particular-frame-from-a-wmv-file

How to save *.ppt, *.pptx files as *.wmv using Interop with C#?

天涯浪子 提交于 2019-12-01 11:23:38
I tried to do this with the next code: using Microsoft.Office.Core; using PowerPoint = Microsoft.Office.Interop.PowerPoint; using System.IO; using Microsoft.Office.Interop.PowerPoint; namespace SavePPT { class Program { static void Main(string[] args) { Application app = new PowerPoint.Application(); var pres = app.Presentations; var file = pres.Open(@"C:\Presentation1.pptx", MsoTriState.msoTrue, MsoTriState.msoTrue, MsoTriState.msoFalse); file.SaveCopyAs(@"C:\presentation1.wmv", PowerPoint.PpSaveAsFileType.ppSaveAsWMV, MsoTriState.msoCTrue); app.Quit(); } } } But this solution created file

How to save *.ppt, *.pptx files as *.wmv using Interop with C#?

馋奶兔 提交于 2019-12-01 08:25:16
问题 I tried to do this with the next code: using Microsoft.Office.Core; using PowerPoint = Microsoft.Office.Interop.PowerPoint; using System.IO; using Microsoft.Office.Interop.PowerPoint; namespace SavePPT { class Program { static void Main(string[] args) { Application app = new PowerPoint.Application(); var pres = app.Presentations; var file = pres.Open(@"C:\Presentation1.pptx", MsoTriState.msoTrue, MsoTriState.msoTrue, MsoTriState.msoFalse); file.SaveCopyAs(@"C:\presentation1.wmv", PowerPoint

How can i Play wmv video in HTML player?

隐身守侯 提交于 2019-11-29 10:59:25
I want to Play wmv video in browser, and place header and footer in the page. I am unable to play mp4 video, but i want to play wmv . I google it but unable to find anything. Kindly guide me ho to play wmv video from HTML page. Arnaud Leyder You cannot play WMV files in HTML5 video. This has been answered here . If you want to play video cross browser with HTML5 video you have to transcode your WMV file (currently to MP4 and WebM). Have a look here for a take on HTML5 video . To embed WMV videos in a web page you have to use an object/embed tag that calls the windows media player plugin (if it

How can I create a video from a directory of images in C#?

只愿长相守 提交于 2019-11-28 05:31:32
I have a directory of bitmaps that are all of the same dimension. I would like to convert these bitmaps into a video file. I don't care if the video file (codec) is wmv or avi. My only requirement is that I specify the frame rate. This does not need to be cross platform, Windows (Vista and XP) only. I have read a few things about using the Windows Media SDK or DirectShow, but none of them are that explicit about providing code samples. Could anyone provide some insight, or some valuable resources that might help me to do this in C#? At the risk of being voted down, I'll offer a possible

How can i Play wmv video in HTML player?

你离开我真会死。 提交于 2019-11-28 04:25:36
问题 I want to Play wmv video in browser, and place header and footer in the page. I am unable to play mp4 video, but i want to play wmv . I google it but unable to find anything. Kindly guide me ho to play wmv video from HTML page. 回答1: You cannot play WMV files in HTML5 video. This has been answered here. If you want to play video cross browser with HTML5 video you have to transcode your WMV file (currently to MP4 and WebM). Have a look here for a take on HTML5 video. To embed WMV videos in a