Raw Image display on screen - windows-phone-7

My video file is in .raw file and i wan read it frame by frame using bitmap method.But my video size too big is around 1.6gb.So What can i do to it in order to display in on my phone?

You need to transcode your video into a more suitable format for the phone, MP4 for example. You can transcode with software such as VLC.

Related

Video was encoded with a new width + height along with the old one. Can I re-encode with just the old dimensions using ffmpeg?

I've got a video out of OBS that play's normally on my system if I open it with VLC for example, but when I import it into my editor (Adobe Premiere) it gets weirdly cropped down. When inspecting the data for the video it's because for some reason the video gets encoded with a new width and height over top of the old one! Is there a way using ffmpeg to re-encode/transcode the video to a new file with only the original width and height?
Bonus question: would there be a way for me to extract the audio channels from my video as separate .mp3s? There are 4 audio channels on the video
Every time you reencode a video you will lose quality. Scaling the video up will not reintroduce details that were lost when it was scaled down.

Can I get pictures/stills/photos from inside a container file from a CD-I disc?

I have ffmpeg setup.
Is there a way to extract pictures/stills/photos (etc) from a container (file) that's from an old CD-I game that I have.
I don't want to extract the audio nor video. And I don't want frames from the videos either.
I want the bitmaps (etc) from INSIDE that container file.
I know my Windows 8.1 PC can't read inside that container file - so I'm hoping there's a way to extract all the files (I want) instead using ffmpeg.
(IsoBuster only gives the audio and video so I know already about IsoBuster.)
I think there are no individual headers for the pictures/stills/photos, etc.
Here's what ExifTool decoded the file as:
ExifTool Version Number (10.68)
File Name (green.3t)
File Size (610 MB)
File Permissions (rw-rw-rw-)
File Type (MPEG)
File Type Extension (mpg)
MIME Type (video/mpeg)
MPEG Audio Version (1)
Audio Layer (2)
Audio Bitrate (80 kbps)
Sample Rate (44100)
Channel Mode (Single Channel)
Mode Extension (Bands 4-31)
Copyright Flag (False)
Original Media (False)
Emphasis (None)
Image Width (368)
Image Height (272)
Aspect Ratio (1.0695)
Frame Rate (25 fps)
Video Bitrate (1.29 Mbps)
Duration (1:02:12 approx)
Image Size (368x272)
Megapixels (0.100)
Thank you for reading and - help!! :D

match an image to a specific frame within a video with ffmpeg

I have some images that were taken from a video via screen capture. I would like to know when in the video these images appear (timestamps). Is there a way to programmatically match an image with a specific frame in a video using ffmpeg or some other tool?
I am very open to different technologies as I'm eager to automate this. It would be extremely time consuming to do this manually.
You can get the psnr between that image and each frame in the video, and the match is the frame with the highest psnr. ffmpeg has a tool to calculate the psnr in tests/tiny_psnr which you can use to script this together, or there's also a psnr filter in the libavfilter module in ffmpeg if you prefer to code rather than script.
Scripting, you'd basically decode the video to a FIFO, decode the image to a file, and then match the FIFO frames repeatedly against the image file using tiny_psnr, selecting the framenumber for the frame with highest psnr. The output will be a frame-number, which (using fps output on the commandline) you can approximately convert to a timestamp.
Programming-wise, you'd decode the the video and image to AVFrame, use the psnr filter to compare the two, and then look at the output frame metadata to record the psnr value in your program, and search for the frame with the highest metadata psnr value, and for that frame, AVFrame->pkt_pts would be the timestamp.

Lossless crop AVCHD and save back as AVCHD

I have many videos are record in AVCHD format by my SONY NEX6 camera. i want to crop those useless shots and save it back to AVCHD. It is because i don't want to convert to other video format which take up more space (Apple ProRes) than the original file, and i don't want to lower the video quality.
Is there any tools out there free or paid is fine. i just don't to to view too much rubbish shots when i play back to video ?
found TMPGEnc MPEG Smart Renderer 4 can crop my AVCHD video clips and save it back to AVCHD file to save space and without rendering
http://tmpgenc.pegasys-inc.com/en/product/tmsr4.html

ffmpeg picture slideshow with audio

I'm trying to make a batch of videos for uploading to youtube. My emphasis is on the audio (mostly MP3, with some WMA). I have several image files that need to be picked up at random to go with the audio (ie) display an image for 5 seconds before showing the next. I want the video to stop when the audio stream ends. How should I use ffmpeg to achieve this ?
Ref:
http://trac.ffmpeg.org/wiki/Create%20a%20video%20slideshow%20from%20images

Resources