Video Playback on Win7/Vista [dshow, dmo] - directshow

I have a video clip that has some issues on default install of Win7: video plays without sound. The video clip comes from a mobile phone, it's a 3gp (mp4) file format with H264 video and AMR audio.
I wanted to find out what I can do to add playback support for AMR audio on that machine. VLC or klite/ffdshow codec packs are out of the question here. I tried to use AMR dshow decoder from MonoGram but it doesn't solve the problem. When I tried to see the graph in MonoGram graph studio it doesn't show me the graph how win7 at all is able to play the video. Seems like it doesn't use dshow filters/decoders in case of this video clip.
So the questions is: how does it play the clip and how can I extend default os functionality to make my clip playable.

Related

Video have sound but no image in Chrome, Edge & Firefox

I am working on a WordPress website and facing a major issues with some of my self hosted videos. I am uploading videos to wordpress media Library and playing them using Easy video player in my posts. There are some video with only audio. I tried those in different browsers and they work fine in UC Mini on Android. Chrome, Edge & Firefox are just playing the audio on both PC & mobile versions.
Please help me get rid of this issue.
Shall be thankful
you can check sample here
your video is encoded as MPEG4 - part 2. this is a really old format. I'd recommend re-encoding the video as mp4 using the h264 codec.
At an hour long - you might also want to consider adaptive bitrate streaming - to allow for different screen sizes and varying network conditions.

Why just sound is played for some mp4 files?

I have some mp4 files that just sound is played not video with jw player and f4 player. But all other mp4 files are playing correctly.
what can be wrong?
Pump the video through Handbrake with the default options, plus check "Web optimized." I'll wager that it plays just fine in JW Player after that.
It's a freebie: http://handbrake.fr/
MP4, like any other format, requires specific CODECs for playback. No matter what player you are using, if you do not have the required CODEC for THAT specific clip, you will not play it back correctly. To make matters worse, audio and video are seperate CODECs.
This is why you may hear audio, but see no video. It's also why some clips play, and others don't. Different CODECs.
A CODEC is a "COder/DECocer" for audio and video streams. Unless you can view the properties of a particular clip, you really don't know what CODEC the author used.
Make sure to encode your videos in H264.

how to save video in ipad simulator

I want to pick video from photo library using imagePickerController.
but there is no video on my simulator. I know how to load images in simulator but don't know how to load video. Please help.
You will have to drag&drop a .mov file to the simulator. Once you do that, you will see the video and you can save it to the camera roll (with one of the buttons displayed in that screen).
But you won't be able to pick the video in the simulator because there is an error while compressing the video.

How to resize Video capture in DirectShow?

I've look around in the documentation but can't find a good way to do this.
I capture video from my webcam and connect it to a ISampleGrabber filter to take screenshots. Which works fine but I would like to be able to scale the resolution on the video.
Thanks for any guidance!
Resizing in software is a relatively expensive operation, for which you also don't have an out of the box working component in DirectShow. You are typically more interested in setting proper capture resolution in first place, so that you don't need to resize.
Can't change video capture resolution using c#
Video Capture output always in 320x240 despite changing resolution
To resize video on runtime, you need either third party filter, or a custom filter, or instead copy a video from DriectShow pipeline and resize it there e.g. using StretchBlt API.
You can do the re-sizing job by manipulating the bitmaps you captured from directshow and then push them to new video file. However I generally do not recommend that .
FFmpeg already have this function integrated.
ffmpeg -i input.avi -s [width]x[height] output.avi

Apply a Filter to a Camera video stream publishing to Media Server

I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.
I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.
Use camTwist (mac) or webcammax (pc) as your video input...you can use that program to use the webcam and then add whatever over it (text, date). Use Flash Media Live Encoder and select camTwist as your video source. Stream and save your recordings using that FMLE.
Sorenson Squeeze is pretty awesome for this and is cross platform. Camtwist is cool but it's not really a 'pro' app, that makes me sound way snobbish. It's actually pretty fun and a good suggestion for a simple result but I haven't found anything better than Sorenson Squeeze for the features and control it gives you.

Resources