Sponsored Content
Operating Systems Linux convert avi to cellphone friendly 320x176 mp4 file...ffmpeg to the rescue :) Post 302270799 by mr_manny on Monday 22nd of December 2008 09:05:19 PM
Old 12-22-2008
convert avi to cellphone friendly 320x176 mp4 file...ffmpeg to the rescue :)

found a few ffmpeg posts and after a few unsuccessful attempts, I have found a solution Smilie

to encode an avi to to an nokia e71 recognized mp4 format:

ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop -cmp +chroma -subq 7 -refs 6 -g 250 \
-keyint_min 25 -rc_eq 'blurCplx^(1-qComp)' -sc_threshold 40 -me_range 12 -i_qfactor 0.71 -directpred 3 outputFILE.mp4


original file was 700MB, resulting mp4 encoded file slightly less then half @300MB...quality is excellent Smilie

even though I don't foresee watching many video's on this amazing phone, I thought I would share my findings...

hh,
manny
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ffmpeg or mplayer for avi conversion?

I need to output a summary of a video as an animated gif. Ideally, I would have 8 equally-spaced frames from the video, and play them back one at a time, each for 0.25 seconds. So I'd have a 2 second animated gif. This is what I have so far: #!/bin/bash mplayer "$@" -vo... (0 Replies)
Discussion started by: dotancohen
0 Replies

2. UNIX and Linux Applications

Convert .mp4 to .avi

Hello, I need software to convert multimedia files. What is the good software? I was looking for it on the web, but I did not find any special. Thanks... (1 Reply)
Discussion started by: feliks
1 Replies

3. Shell Programming and Scripting

Automated FFmpeg Convert Bash Script

I need a bash script that will. So here is what I made so far. 1. Convert video files to iPhone format 2. MV converted video to new directory (with domain.com attached to it) 4. Copy a NFO file (from another directory) and add some conversion information 5. Delete old directory torrent... (6 Replies)
Discussion started by: domz
6 Replies

4. Shell Programming and Scripting

ffmpeg script to convert all movies in a folder for PSP

Hi all, I use ffmpeg to convert my movies to play them with my PSP. I use the terminal version of ffmpeg so i put in the code: ]ffmpeg -i FILENAAM.avi -f psp -r 29.97 -b 512k -ar 24000 -ab 64k -s 320x240 M4V00001.MP4 FILENAAM is the part i replace with the title of the movie i want to see... (17 Replies)
Discussion started by: Ditzyken
17 Replies

5. What is on Your Mind?

convert DVD to mp4 for my nook

How can I transfer my Television DVD collection to a hard drive converting all files to mp4 (for my nook tablet). (0 Replies)
Discussion started by: madison768
0 Replies

6. UNIX and Linux Applications

Help in converting VOB file to AVI

Hello to all in forum, Somebody could help me saying me which command or application can I use to convert correctly a VOB file of more than 5 GB in size. I have the VIDEO_TS folder with the files: - VTS_01 - Stream Information.txt - VTS_01_0.IFO - VTS_01_1.VOB The Stream Information... (4 Replies)
Discussion started by: Ophiuchus
4 Replies

7. Shell Programming and Scripting

How to find the length of MP4 file in cygwin?

Hi, Apologies if I'm posting in wrong section. How can I find length (duration) of MP4 videos and m4a audio files on cygwin? I heard about mediainfo, ffmpeg, avconv utilities on Linux platform but not sure if they work (or available) on cygwin. Please advise, TIA (1 Reply)
Discussion started by: prvnrk
1 Replies

8. Shell Programming and Scripting

Wget for downloading a public file (stream) as mp4

I need a hint for using wget for getting a free content from a TV station that is streaming its material for a while until it appears on any video platform, that means no use of illegal methods, because it is on air, recently published and available. But reading the manual for wget I tried the... (5 Replies)
Discussion started by: 1in10
5 Replies
FFMPEGTHUMBNAILER(1)					      General Commands Manual					      FFMPEGTHUMBNAILER(1)

NAME
ffmpegthumbnailer - fast and lightweight video thumbnailer SYNOPSIS
ffmpegthumbnailer [options] DESCRIPTION
Ffmpegthumbnailer is a lightweight video thumbnailer that can be used by file managers to create thumbnails for your video files. The thumbnailer uses ffmpeg to decode frames from the video files, so supported videoformats depend on the configuration flags of ffmpeg. OPTIONS
-i<s> : input file -o<s> : output file -s<n> : thumbnail size (use 0 for original size) (default: 128) -q<n> : image quality (0 = bad, 10 = best) (default: 8) (only for jpeg) -c<s> : override image format (jpeg or png) (default: determined by filename) -t<n|s> : time to seek to (percentage or absolute time hh:mm:ss) (default: 10%) -a : ignore aspect ratio and generate square thumbnail -f : create a movie strip overlay -h : display this help AUTHOR
Written by Dirk Vanden Boer. REPORTING BUGS
Report bugs to <http://code.google.com/p/ffmpegthumbnailer/issues/list> COPYRIGHT
Copyright (C) 2008 Dirk Vanden Boer <dirk.vdb@gmail.com> This is free software. You may redistribute copies of it under the terms of the GNU General Public License (version 2 or later) <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law. FFMPEGTHUMBNAILER(1)
All times are GMT -4. The time now is 09:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy