10moy2014
i threw a video at ubuntu's bombomo to make a dvd and the default results were horrible. When i tried to play it on a dvd player the video kept stuttering and played real choppy.
bombono-dvd uses avconv ffmpegs replacement but some one forgot to tell bombono and ffmpeg to use the correct frame rate [-r 30000/1001].
since the frame rate in avconv was wrong the videos played poorly on a dvd player when burned to dvd.but worked okay on my computer. the only way to really test things was to burn a copy.
In part_3:i used [-qscale 3] to get the video small enough to fit a dvd. and the quality was not that bad for a standerd def tv.
the qblur settings and other settings are because the original source video was a mp4 before i turned it into a avi and then finaly a mpeg2 for a dvd. the blur settings i think are something i have seen in avidemux.
give avconv and bombono a try to make a dvd. ymmv. i like the gui of bombono dvd. your milage may verry.
bombono dvd has a better looking gui than DVDstyler
part 2:::::::::::::::::::::::::::::::::::::::hunger games.
aspect
4:3 tv/crt DVD.
aspect
[16:9 lcd] laptop..
CODE:
$ nice -n 19 ffmpeg \
-i unpacked_-_The_Hunger_Games_[2012]_DVDRip_XviD-MAXSPEED-.avi\
-acodec AC3 -async 48000 \
-aspect 16:9 -target ntsc-dvd -r 30000/1001 -ab 192k -maxrate 4224k -b:v 3700k -sc_threshold 40 \
-mbd rd -precmp 0 -cmp 2 -subcmp 2 -qblur 0.5 -qcomp 0.60 -s 720x350 -vf pad=720:480:0:65: -qmin 3 -qmax 5 \
foo_dvd_854SDL_720x350xxi480_dvd_created_newvid.mpg
############
#**** sd standerd dvd is 720x480 def.
####################
ubuntu 14.04 ffmpeg built from source **********fuck ubuntu avconv**********
part3::::::::::::::::::::::::::::::::::::::::::::::::::::::edge of tomorrow.
****---( remove -acodec AC3 )----*****
+++---[ its -acodec ac3 ]------++++++
aspect 4:3 tv/crt DVD.
aspect [16:9 lcd] laptop..
CODE:
$ nice -n 19 ./ffmpeg \
-i unpk,,Edge_of_Tomorrow_[2014]2014_[640x272],,REAL_DVD-plyXD,,gop240[q3,,trell0.AVI \
-taget ntsc-dvd \
-r 30000/1001 \
-acodec ac3 \
-b 6000000 -maxrate 8000000 -minrate 0 -bufsize 1835008 -packetsize 2048 -muxrate 10080000 \
-async 48000 \
-aspect 16:9 -ab 192K -b:v 3700K -sc_threshold 40 \
-mbd rd -precmp 0 -cmp 2 -subcmp 2 -qblur 0.5 -qcomp 0.60 \
-s 720x480 -vf scale=720:364,pad=720:480:0:58:black -qscale 3 \
foo_dvd_854SDL_720x350xxi480_ntsc-dvd_[30000div1001]_vidnew.mpg
#######################
sloth4x ( cut and paste ) greencatsup avi transcoding xvid and divx
when rancid old farts ruled the world.
not so fast.
whats the frequency kenneth
Sunday, October 26, 2014
Thursday, March 22, 2012
drc compressing audio and video avi xvid and divx
dynamic range compression.
notes 3moy2012/ compressing audio and video avi xvid and divx / with linux
reindex to ....>>...a new avi first.
#1::::::::::::
$ nice -n 19 mencoder *.avi -forceidx -oac copy -ovc copy -O 02new-indexOUT.AVI
--------------------------------
################################
## -page1-
## dummy
## @ mplayer -nolirc -msglevel all=1 -quiet "$ifile" -ao pcm:fast:file="$afile" \
## -nocorrect-pts -vc null -vo null
#################################
-----------------------------
#3:::::::::::::::::
-page2-
ac3 to wav\smoke:
$ nice -n 19 mplayer -nolirc \
-ao pcm:fast:file="03x-gain.wav " \
-vc null -vo null \
*.AVI
/**********when nplayer dump fails use ffmpeg copy*************/
#3:::::::::::::::::::::::::
#3::::::::::
#################################################
## dump ac3 6channels to 6channle huge wav file.
## code:
##$ nice -n 19 ffmpeg -i 02*.AVI -vn 03x-gain.wav
###################################################
or
#3::::::::::::::::: to a smaller 2channel wav.
$ nice -n 19 ffmpeg -i 02*.AVI -vn -ac 2 03x-gain.wav
#4:::::::::
on 2channle wav only!
$ nice -n 19 normalize-audio -l 0 --peak -v 03x-gain.wav
/*********normalize may fail on a large file fubar***************/
#4:::::::::::::::::::::
flat default classic music for road trafoc range [-20]db
go strait to drc.
NOTE: sox is slow and does not give feedback by default.
$ sox 03x-gain.wav -t wav 04foo-compression-flat20db.wav compand 0.3,1 6:-70,-60,-20 -5 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-flat20db.wav
#lame:
$ nice -n 19 lame 04foo-compression-flat20db.wav -b 192 --cbr -F -m s -h --noreplaygain 05a-norm.mp3
-------------------------------------------------------------------
//*******************lowder 50db-drc-range FM RADIO range*******/
louder for fm style db rang3 [50]db
SOX:
$ sox 03x-gain.wav -t wav 04foo-compression-fm50db.wav compand 0.3,1 6:-70,-60,-50 -5 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-fm50db.wav
#lame:
$ nice -n 19 lame 04foo-compression-fm50db.wav \
-b 192 --cbr -F -m s -h --noreplaygain 05a-drc-norm-fm50db.mp3
------------------------------------[
Unsupported number of channels: 6
## oops ac3 is evil to transcode.
work around use avidemux. load audio external wav then transcode to mp3 cbr 193bittrate stereo..
#######################################
#########################
###########http://answers.yahoo.com/question/index?qid=20080628232421AAh7EEe
"dynamic band in decibels" is meaningless.
I think you may dynamic range in dB. I don't recall the actual numbers,
but for mono FM is is about 60-70 dB with a fairly good signal.
Stereo drops it to about 50 dB
###############
#############################
####################################
xxxxxxxxxxxx6movie mode:
SOX:
$ nice -n 19 sox 03x-gain.wav \
-t wav 04foo-compression-x6movie-mode-db.wav compand 0.3,1 5:-80,-79,-34 -8 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-x6movie-mode-db.wav
#lame:
$ nice -n 19 lame 04foo-compression-x6movie-mode-db.wav \
-b 192 --cbr -F -m s -h --noreplaygain 05a-drc-nibus6-norm-db.mp3
Dynamic Range Compression
0: Film Light
1: Film Standard #range of -72db
2: Music Light # range of -54db classical
3: Music Standard #range -36db
4: Speech #range -18db
5: None (default)
#############################
base of -90db/5= a range of 18db
http://forum.doom9.org/archive/index.php/t-163823.html
+1 But the SOX command for compression can require a bit of fiddling, but once you find a config that works in your environment, it rarely needs further tinkering ...
Wow, after viewing those graphs you seem to have really nailed it nibus! Would you mind detailing some of the parameters you use?
7ek
I use this template:
sox.exe "%INPUT%" "%INPUT%_%DRC%db.wav" compand 0.3,1 5:-80,-79,-%DRC% -%LIMIT% -90 0.2
Where the variables are defined by the batch file. DRC is the dynamic range,
meaning the smaller the number the more compression is applied
(everything is squeezed into a certain amount of db) and
the limit specifies how much headroom to give sox.
The more headroom the less dynamic range,
but also you have to be careful with too little headroom because of clipping.
I spent a long time tweaking these settings to avoid too much pumping,
but it's still there on higher settings.
Here are the ranges that I have set in my script, from light to heavy:
1 - 54db Range / 3db Limit
2 - 50db Range / 4db Limit
3 - 46db Range / 5db Limit
4 - 42db Range / 6db Limit
5 - 38db Range / 7db Limit
6 - 34db Range / 8db Limit
#4 and 5 work good for action movies, and #2 and 3 work good for dramas or comedies
(generally).
However, sox is only the first part of the process. After sox I send the output
to WaveBooster which boosts it even more.
Here is the whole package if you want to try it out:
http://www.mediafire.com/?lkhrr97p94s4izp
Couple issues: you need to make sure the file you drag into
the command window doesn't have any spaces in it's file path.
Also, WaveBooster only supports 16bit, 44100hz wavs, so in eac3to you need to specify:
-down16, -resampleTo44100
notes 3moy2012/ compressing audio and video avi xvid and divx / with linux
reindex to ....>>...a new avi first.
#1::::::::::::
$ nice -n 19 mencoder *.avi -forceidx -oac copy -ovc copy -O 02new-indexOUT.AVI
--------------------------------
################################
## -page1-
## dummy
## @ mplayer -nolirc -msglevel all=1 -quiet "$ifile" -ao pcm:fast:file="$afile" \
## -nocorrect-pts -vc null -vo null
#################################
-----------------------------
#3:::::::::::::::::
-page2-
ac3 to wav\smoke:
$ nice -n 19 mplayer -nolirc \
-ao pcm:fast:file="03x-gain.wav " \
-vc null -vo null \
*.AVI
/**********when nplayer dump fails use ffmpeg copy*************/
#3:::::::::::::::::::::::::
#3::::::::::
#################################################
## dump ac3 6channels to 6channle huge wav file.
## code:
##$ nice -n 19 ffmpeg -i 02*.AVI -vn 03x-gain.wav
###################################################
or
#3::::::::::::::::: to a smaller 2channel wav.
$ nice -n 19 ffmpeg -i 02*.AVI -vn -ac 2 03x-gain.wav
#4:::::::::
on 2channle wav only!
$ nice -n 19 normalize-audio -l 0 --peak -v 03x-gain.wav
/*********normalize may fail on a large file fubar***************/
#4:::::::::::::::::::::
flat default classic music for road trafoc range [-20]db
go strait to drc.
NOTE: sox is slow and does not give feedback by default.
$ sox 03x-gain.wav -t wav 04foo-compression-flat20db.wav compand 0.3,1 6:-70,-60,-20 -5 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-flat20db.wav
#lame:
$ nice -n 19 lame 04foo-compression-flat20db.wav -b 192 --cbr -F -m s -h --noreplaygain 05a-norm.mp3
-------------------------------------------------------------------
//*******************lowder 50db-drc-range FM RADIO range*******/
louder for fm style db rang3 [50]db
SOX:
$ sox 03x-gain.wav -t wav 04foo-compression-fm50db.wav compand 0.3,1 6:-70,-60,-50 -5 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-fm50db.wav
#lame:
$ nice -n 19 lame 04foo-compression-fm50db.wav \
-b 192 --cbr -F -m s -h --noreplaygain 05a-drc-norm-fm50db.mp3
------------------------------------[
Unsupported number of channels: 6
## oops ac3 is evil to transcode.
work around use avidemux. load audio external wav then transcode to mp3 cbr 193bittrate stereo..
#######################################
#########################
###########http://answers.yahoo.com/question/index?qid=20080628232421AAh7EEe
"dynamic band in decibels" is meaningless.
I think you may dynamic range in dB. I don't recall the actual numbers,
but for mono FM is is about 60-70 dB with a fairly good signal.
Stereo drops it to about 50 dB
###############
#############################
####################################
xxxxxxxxxxxx6movie mode:
SOX:
$ nice -n 19 sox 03x-gain.wav \
-t wav 04foo-compression-x6movie-mode-db.wav compand 0.3,1 5:-80,-79,-34 -8 -90 0.2
#normalize-audio::
$ nice -n 19 normalize-audio -l 0 --peak 04foo-compression-x6movie-mode-db.wav
#lame:
$ nice -n 19 lame 04foo-compression-x6movie-mode-db.wav \
-b 192 --cbr -F -m s -h --noreplaygain 05a-drc-nibus6-norm-db.mp3
Dynamic Range Compression
0: Film Light
1: Film Standard #range of -72db
2: Music Light # range of -54db classical
3: Music Standard #range -36db
4: Speech #range -18db
5: None (default)
#############################
base of -90db/5= a range of 18db
http://forum.doom9.org/archive/index.php/t-163823.html
+1 But the SOX command for compression can require a bit of fiddling, but once you find a config that works in your environment, it rarely needs further tinkering ...
Wow, after viewing those graphs you seem to have really nailed it nibus! Would you mind detailing some of the parameters you use?
7ek
I use this template:
sox.exe "%INPUT%" "%INPUT%_%DRC%db.wav" compand 0.3,1 5:-80,-79,-%DRC% -%LIMIT% -90 0.2
Where the variables are defined by the batch file. DRC is the dynamic range,
meaning the smaller the number the more compression is applied
(everything is squeezed into a certain amount of db) and
the limit specifies how much headroom to give sox.
The more headroom the less dynamic range,
but also you have to be careful with too little headroom because of clipping.
I spent a long time tweaking these settings to avoid too much pumping,
but it's still there on higher settings.
Here are the ranges that I have set in my script, from light to heavy:
1 - 54db Range / 3db Limit
2 - 50db Range / 4db Limit
3 - 46db Range / 5db Limit
4 - 42db Range / 6db Limit
5 - 38db Range / 7db Limit
6 - 34db Range / 8db Limit
#4 and 5 work good for action movies, and #2 and 3 work good for dramas or comedies
(generally).
However, sox is only the first part of the process. After sox I send the output
to WaveBooster which boosts it even more.
Here is the whole package if you want to try it out:
http://www.mediafire.com/?lkhrr97p94s4izp
Couple issues: you need to make sure the file you drag into
the command window doesn't have any spaces in it's file path.
Also, WaveBooster only supports 16bit, 44100hz wavs, so in eac3to you need to specify:
-down16, -resampleTo44100
Monday, October 10, 2011
mencoder srt hardsubed AVI DIVX DX50
clipped notes from
@http://slated.org/hq_mencoder_transcoding
...................
PREVIEW:
vbitrate=1500:
" cut and paste highlights."
"video = (high bitrate) AVI video,
vbitrate=1500"
"Transcode video to a smaller faster DIVX/DX50
x/y , 640x??? , video scale."
"Transcode format with mencoder and then sync with avidemux. "
###################################
/**********************************
********* sample code **********
********* with slow trell ********
********* with subs **********
**********************************/
####################
WITH SUBS.
--](-sub *.srt "mplayer option?"
--]vbitrate=1500 [1.5gigs] for 1hour50mins.
=======
[CODE]1:
(*.SRT)
/******************************************
***(without srt subs) *********************
*** -nosub "is for mplayer ****************
*** -qns=1 "faster and safer" than -qns=3**
******************************************/
fuck(cbp)
fuck(qns=3?) slow and (trell)"realy slows things down!--------]
stepped-on video: --] vcr "rd" distotion not neaded.
stepped-on vide0: --][no trell] needed.
steped-on video: --] mbd1=[vhq]
=======
[code2]:
###################################
NO SUBS!
remove slow (:qns=1:)
"qns should only be used with trell."
=======
no subs.
[code]3:
################################
/****************************************
**** idx sub file need to be "srt" *********
*******************************************/
=======
[code]4:
######################
Very end. mplayer -delay 0.100 *.AVI
If synced try avidemux +0.100 av delay.
@http://slated.org/hq_mencoder_transcoding
...................
PREVIEW:
vbitrate=1500:
" cut and paste highlights."
"video = (high bitrate) AVI video,
vbitrate=1500"
"Transcode video to a smaller faster DIVX/DX50
x/y , 640x??? , video scale."
"Transcode format with mencoder and then sync with avidemux. "
###################################
/**********************************
********* sample code **********
********* with slow trell ********
********* with subs **********
**********************************/
####################
WITH SUBS.
--](-sub *.srt "mplayer option?"
--]vbitrate=1500 [1.5gigs] for 1hour50mins.
=======
[CODE]1:
(*.SRT)
$ mencoder *.avi \
-sub *.srt -subfont-text-scale 3.3 \
-vf scale -zoom -xy 640 -sws 9 \
-mc 0 -noskip \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:\
last_pred=2:lumi_mask=0.07:dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:\
mv0:cbp:mbd=2:v4mv:precmp=256:cmp=256:subcmp=256:naq:trell:qns=1:\
bidir_refine=4:autoaspect:psnr:vrc_eq=\(\(mcVar*mv*10^3+tex\)*isP\)^0.7:\
-oac mp3lame -lameopts abr:br=160:aq=1 \
-ffourcc DX50 -alang en \
-o NEW-VIDEO-fulltrell-withSubs.AVI
/******************************************
***(without srt subs) *********************
*** -nosub "is for mplayer ****************
*** -qns=1 "faster and safer" than -qns=3**
******************************************/
fuck(cbp)
fuck(qns=3?) slow and (trell)"realy slows things down!--------]
stepped-on video: --] vcr "rd" distotion not neaded.
stepped-on vide0: --][no trell] needed.
steped-on video: --] mbd1=[vhq]
=======
[code2]:
$ mencoder *.avi \
-vf scale -zoom -xy 640 -sws 9 \
-mc 0 -noskip \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:\
last_pred=2:lumi_mask=0.07:dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:\
mv0:mbd=1:v4mv:precmp=256:cmp=256:subcmp=256:naq:qns=1:\
bidir_refine=4:autoaspect:psnr:vrc_eq=\(\(mcVar*mv*10^3+tex\)*isP\)^0.7:\
-oac mp3lame -lameopts abr:br=160:aq=1 \
-ffourcc DX50 -alang en \
-o NEW-VIDEO-no-cbp-no-subs.AVI
###################################
NO SUBS!
remove slow (:qns=1:)
"qns should only be used with trell."
=======
no subs.
[code]3:
$ mencoder *.avi \
-vf scale -zoom -xy 640 -sws 9 \
-mc 0 -noskip \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:\
last_pred=2:lumi_mask=0.07:dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:\
mv0:mbd=1:v4mv:precmp=256:cmp=256:subcmp=256:naq:\
bidir_refine=4:autoaspect:psnr:vrc_eq=\(\(mcVar*mv*10^3+tex\)*isP\)^0.7:\
-oac mp3lame -lameopts abr:br=160:aq=1 \
-ffourcc DX50 -alang en \
-o NEW-VIDEO-no-cbp-no-qns.AVI
################################
/****************************************
**** idx sub file need to be "srt" *********
*******************************************/
=======
[code]4:
$ mencoder *.avi \
-sws 9 -mc 0 -noskip \
-sub *.srt -subcp -subfont-text-scale:4 \
-vf softskip,scale,harddup -zoom -xy 640 \
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1500:\
last_pred=2:lumi_mask=0.07:dark_mask=0.2:scplx_mask=0.1:tcplx_mask=0.1:\
mv0:mbd=1:v4mv:precmp=256:cmp=256:subcmp=256:naq:\
bidir_refine=4:autoaspect:psnr:vrc_eq=\(\(mcVar*mv*10^3+tex\)*isP\)^0.7:\
-oac mp3lame -lameopts abr:br=160:aq=1 \
-ffourcc DX50 -alang en \
-o NEW-VIDEO-no-cbp-no-qns-no-trell.AVI
######################
Very end. mplayer -delay 0.100 *.AVI
If synced try avidemux +0.100 av delay.
Friday, September 16, 2011
bash shellradio player menu
mplayer : shell script for loading numbered internet radio streams from [numbered#playlists.pls file,] in the same folder.


#!/bin/bash
OPTIONS=" mplayer1-twit mplayer2-rush mplayer3-miller mplayer4-mms mplayer5-city Hello Quit"
select opt in $OPTIONS; do
if [ "$opt" = "Quit" ]; then
echo done
exit
elif [ "$opt" = "Hello" ]; then
echo Hello World
#
elif [ "$opt" = "mplayer1-twit" ]; then
mplayer -playlist 1*
#
elif [ "$opt" = "mplayer2-rush" ]; then
mplayer -playlist 2*
#
elif [ "$opt" = "mplayer3-miller" ]; then
mplayer -playlist 3*
#
elif [ "$opt" = "mplayer4-mms" ]; then
mplayer -playlist 4*
#
elif [ "$opt" = "mplayer5-city" ]; then
mplayer -playlist 5*
#
else
clear
echo bad option
fi
done
Wednesday, March 10, 2010
transcode x264 aac mp4 to xvid mp3 avi with mencoder
transcode x264 aac mp4 to xvid mp3 avi with mencoder
anthony-note1:
NOTE: this juck is slow.
$ mencoder -ofps 23.976 -ovc xvid -oac mp3lame -lameopts
abr:br=192:vol=0 -xvidencopts bitrate=878 -vf scale=640:272,harddup
-vf-add expand=640:480:::1 -o destination.avi *.mp4
MENCODER:
*sync with mc code, / fractions, / cbr, / and harddup.
• mc 0 code: syncs well.
∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴
MENCODER CODE:
$ nice -n 19 mencoder -sws 2 -mc 0 -ofps 24000/1001 \
-oac mp3lame -lameopts cbr:br=160:vol=0 \
-ffourcc DX50 \
-vf pullup,softskip,scale=704:380,harddup -aspect 1.85 \
-ovc lavc -lavcopts \
vcodec=mpeg4:mpeg_quant:vqscale=4.4:mbd=0:v4mv:\
vqmin=3:vqmax=10:vqdiff=3:\
vratetol=1000:vqcomp=0.5:vqblur=0.5\
-o step3-rev5-created-DX50-subHQ-tv--.AVI \
source_-_Sleepy_Hollow--[1999]_--need-to-recode-to-aspect-1p85film.avi
====================================================
from ( mp4) to ( xvid)
-------------------------------------------------------------------
anthony-note2:
mpeg4 * "x.264/acc " ripped down to xvid padded psp full screen avidemux
NOTE: this is a little faster than doing a svga rip..
optional k*psp rip
settings :::
anthony-note3: kpsp480 * foo
$ mencoder -ofps 23.976 -ovc xvid -oac mp3lame -lameopts abr:br=192:vol=0 -xvidencopts bitrate=878 -vf scale=480:204,harddup -vf-add expand=480:272:::1 -o out480x204x272destination.avi *.mp4
cbr audio and fractions wil sync better.
$ mencoder -ofps 24000/1001 \
-ovc xvid \
-oac mp3lame -lameopts cbr:br=192:vol=0 \
-xvidencopts bitrate=878 \
-vf scale=480:204,harddup \
-vf-add expand=480:272:::1 -o out480x204x272destination.avi *.mp4
---------------------
anthony's pc:
final Notes: playback with mplayer and if out of synced you can correct with the (-) minus and (+) keys
with mplayer.
if negitive syncing with mplayer a positve soft copy with avidemux will correct soft sync issues.
anthony-note1:
NOTE: this juck is slow.
$ mencoder -ofps 23.976 -ovc xvid -oac mp3lame -lameopts
abr:br=192:vol=0 -xvidencopts bitrate=878 -vf scale=640:272,harddup
-vf-add expand=640:480:::1 -o destination.avi *.mp4
MENCODER:
*sync with mc code, / fractions, / cbr, / and harddup.
• mc 0 code: syncs well.
∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴∴
MENCODER CODE:
$ nice -n 19 mencoder -sws 2 -mc 0 -ofps 24000/1001 \
-oac mp3lame -lameopts cbr:br=160:vol=0 \
-ffourcc DX50 \
-vf pullup,softskip,scale=704:380,harddup -aspect 1.85 \
-ovc lavc -lavcopts \
vcodec=mpeg4:mpeg_quant:vqscale=4.4:mbd=0:v4mv:\
vqmin=3:vqmax=10:vqdiff=3:\
vratetol=1000:vqcomp=0.5:vqblur=0.5\
-o step3-rev5-created-DX50-subHQ-tv--.AVI \
source_-_Sleepy_Hollow--[1999]_--need-to-recode-to-aspect-1p85film.avi
====================================================
from ( mp4) to ( xvid)
-------------------------------------------------------------------
anthony-note2:
mpeg4 * "x.264/acc " ripped down to xvid padded psp full screen avidemux
NOTE: this is a little faster than doing a svga rip..
optional k*psp rip
settings :::
anthony-note3: kpsp480 * foo
$ mencoder -ofps 23.976 -ovc xvid -oac mp3lame -lameopts abr:br=192:vol=0 -xvidencopts bitrate=878 -vf scale=480:204,harddup -vf-add expand=480:272:::1 -o out480x204x272destination.avi *.mp4
cbr audio and fractions wil sync better.
$ mencoder -ofps 24000/1001 \
-ovc xvid \
-oac mp3lame -lameopts cbr:br=192:vol=0 \
-xvidencopts bitrate=878 \
-vf scale=480:204,harddup \
-vf-add expand=480:272:::1 -o out480x204x272destination.avi *.mp4
---------------------
anthony's pc:
final Notes: playback with mplayer and if out of synced you can correct with the (-) minus and (+) keys
with mplayer.
if negitive syncing with mplayer a positve soft copy with avidemux will correct soft sync issues.
Labels:
mencoder,
video-sync,
video-transcoding,
xvid
Friday, October 9, 2009
cinelerra is blonkers
cinelerra does a messy job muxing audio and video.
1.....................
demux the video sound with ffmpeg first.
code:
..................................
==================================
use cinellera to do your edits.
then use mplayer to mux every thing back to gather again.
mencoder:
=================================
1.....................
demux the video sound with ffmpeg first.
code:
..................................
$ ffmpeg -i source-video.avi -vn -acodec copy sound2.mp3 |
|---|
==================================
use cinellera to do your edits.
then use mplayer to mux every thing back to gather again.
mencoder:
$ mencoder source-video.avi -ovc copy -soundfile sound2.mp3 -o remuxed-output.avi |
|---|
=================================
Labels:
10moy2009,
ffmpeg,
linux-terminal,
mencoder
Sunday, September 13, 2009
ffmpeg - verizon cell phone video test.
(1.0)
( cellphones .) generic test!
( -t 00:03:13 ) video length!
(1.1)
CODE:
-----------------
---------------
(2.)
(smaller file) cellphones.
(-acodec libamr_nb) ; fubar i don't have that codec.
( -t 00:00:20)
(2.1)
CODE:
------------------
-----------------
(3)
verizon network.
(-ar 8'000)
(3.1)
CODE:
XXXXXXXXXXXXXXXXXXXXXX
[h263 @ 0x97ef850]The specified picture size of 400x226 is not valid for the H.263 codec.
Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.
Xxxxxxxxxxxxxxxxxxxx
XXxxxxxxxxxxxxx
XXXXxxxxx
(4)
CODE:
$
mencoder *.mp4 \
-oac mp3lame -lameopts abr:br=128:vol=0 \
-aid 0 \
-ovc lavc \ -ofps 16000/1001 \
-vf scale=176:144 \
-o "test2.3gp"
test them by sending them out with gmail.
video have to be short are else mms will reject them.
( cellphones .) generic test!
( -t 00:03:13 ) video length!
(1.1)
CODE:
$ ./ffmpeg -i *.wmv -f 3gp -vcodec mpeg4 -b 150000 -s 320x240 -r 18 -acodec libfaac -ab 64000 -ar 24000 -ac 2 test-video-outpute.3gp |
|---|
-----------------
---------------
(2.)
(smaller file) cellphones.
(-acodec libamr_nb) ; fubar i don't have that codec.
( -t 00:00:20)
(2.1)
CODE:
$ ./ffmpeg -i *.wmv -f 3gp -vcodec h263 -b 100000 -s 128x96 -r 12 -acodec libamr_nb -ab 12200 -ar 8000 -ac 1 -t 00:00:20 smal20second-video-mono-test.3gp |
|---|
------------------
-----------------
(3)
verizon network.
(-ar 8'000)
(3.1)
CODE:
$ ./ffmpeg -i *.wmv -f 3g2 -vcodec mpeg4 -b 79kb -s 176x144 -r 16.1 -acodec libfaac -ab 12200 -ar 8000 -ac 2 -t 00:03:13 stereo-small-3g2-video-test.3g2 |
|---|
XXXXXXXXXXXXXXXXXXXXXX
[h263 @ 0x97ef850]The specified picture size of 400x226 is not valid for the H.263 codec.
Valid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.
Xxxxxxxxxxxxxxxxxxxx
XXxxxxxxxxxxxxx
XXXXxxxxx
(4)
CODE:
$
mencoder *.mp4 \
-oac mp3lame -lameopts abr:br=128:vol=0 \
-aid 0 \
-ovc lavc \ -ofps 16000/1001 \
-vf scale=176:144 \
-lavcopts vcodec=mpeg4:trell:mbd=2:sc_threshold=1000000000:cgop:vbitrate=79:aspect=16/9 \ |
|---|
-o "test2.3gp"
test them by sending them out with gmail.
video have to be short are else mms will reject them.
Labels:
9moy2009,
cellphones,
ffmpeg,
linux-terminal-foo,
verizen