View previous topic :: View next topic |
Author |
Message |
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Fri Jul 24, 2009 1:41 pm Post subject: convertion of video under gentoo |
|
|
Well, I must say first that I have no good skills in video stuffs.But I have couple videos, that are in dvd format.I want to publish these on a blog, but I cant seem to find a good way of doing the job.
This is what I have tried so far, one way I have tried few commercial products and end quailty of the flv file got really bad.
So I decided to avoid totally the commercial products as it needs a reboot on window, so a little googling turned out ffmpeg and acidrip, so changed dvd to avi with acidrip...and later on I run on the command line the following line:
Code: | ffmpeg -i oil3.avi -ar 44100 oil3.flv |
Quality is still bad...
Any one with a better idea how to do this job on my gentoo box?Preferably with a tool from portage
Thanks for the help...
P:S
I have read the FAQ
Edit:
Quote: | ffmpeg -i file.avi -ar 22050 -ab 32 -f flv -s 1600x1050 file.flv |
I am trying this to see if I will get some improvements by increasing resolution... _________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Fri Jul 24, 2009 2:24 pm Post subject: |
|
|
Try Avidemux. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
muhsinzubeir l33t
Joined: 29 Sep 2007 Posts: 948 Location: /home/muhsin
|
Posted: Fri Jul 24, 2009 7:31 pm Post subject: |
|
|
this avidemux seemed to be making good flv files with great picture quality, but size is too big and its missing audio.It throws like "Trouble Initiliazing audio device"...and living this on the terminal:
Quote: | ***************************
Avidemux v2.4.4
***************************
http://www.avidemux.org
Code : Mean, JSC, Gruntster
GFX : Nestor Di , nestordi@augcyl.org
Design : Jakub Misak
FreeBSD : Anish Mistry, amistry@am-productions.biz
Audio : Mihail Zenkov
MacOsX : Kuisathaverat
Win32 : Gruntster
Compiler: GCC 4.3.2
Build Target: Linux (x86)
User Interface: Qt (4.5.2)
Large file available: 1 offset
Initialising prefs
Directory /home/muhsin/.avidemux exists.Good.
Using /home/muhsin/.avidemux as base directory for prefs/jobs/...
Preferences found and loaded
[cpuCaps]Checking CPU capabilities
MMX detected
MMXEXT detected
SSE detected
SSE2 detected
SSE3 detected
SSSE3 detected
[cpuCaps]End of CPU capabilities check (cpuMask :ffffffff)
Registering Encoders
*********************
MJPEG encoder registered
Xvid-4 encoder registered
FFmpeg encoder registered
3 encoder(s) registered
[SDL] Version: 1.2.13
[SDL] Initialisation succeeded
[SDL] Video Driver: x11
Initializing Dithering tables
[xvid] Initializing global Xvid 4
[xvid] Build: xvid-1.2.2
[xvid] SIMD supported: (1cf)
MMX
MMXEXT
SSE
SSE2
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3
Registering Filters
*********************
Using real audio device
Spidermonkey initialized.
[Locale] Locale: C
[Locale] Loading language file /usr/share/avidemux/i18n/qt_C FAILED
[Locale] Loading language file /usr/share/avidemux/i18n/avidemux_C FAILED
[Locale] Test: &Edit -> &Edit
Directory /home/muhsin/.avidemux/custom exists.Good.
No custom scripts
Custom menu built
The screen seems to be 1680 x 1015 px
Found 20 video encoder(s)
Found 10 audio encoder(s)
Found 13 format(s)
No crash file (/home/muhsin/.avidemux/crash.js)
<unknown program name>(5974)/ findLibraryInternal: plugins should not have a 'lib' prefix: "libkfilemodule.so"
<unknown program name>(5974)/ KPluginLoader::load: The plugin "libkfilemodule" doesn't contain a kde_plugin_verification_data str ucture
ba010000 -> ba010000
Mpeg file detected...
594d4441 -> 594d4441
New mpeg index file detected..
opening d2v file : /mnt/usb/movies/OIL/OIL_2/VTS_01_1.VOB.idx
For file :/mnt/usb/movies/OIL/OIL_2/VTS_01_1.VOB
Pic :720x576, 25000 fps
#Gop :13359
#Img :160308
Creating mpeg PS demuxer main Pid: E0
Auto adding:
file 1: /mnt/usb/movies/OIL/OIL_2/VTS_01_1.VOB, size: 1073739776
file 2: /mnt/usb/movies/OIL/OIL_2/VTS_01_2.VOB, size: 1073739776
file 3: /mnt/usb/movies/OIL/OIL_2/VTS_01_3.VOB, size: 1073739776
file 4: /mnt/usb/movies/OIL/OIL_2/VTS_01_4.VOB, size: 574662656
file: /mnt/usb/movies/OIL/OIL_2/VTS_01_5.VOB not found.
found 4 files
Done
Dropping 2 last B/P frames
Creating start sequence (2062)..
0000 : ...³-.@#.î£...µ 00 00 01 b3 2d 02 40 23 0e ee a3 80 00 00 01 b5
0010 : ..........µ#... 14 82 00 01 00 00 00 00 00 00 01 b5 23 05 05 05
0020 : .B.....¸...@.... 0b 42 12 00 00 00 01 b8 00 08 00 40 00 00 01 00
0030 : . 00 8f
Image :62016, seqLen : 36 seq 0 0 1 b3
Reordering mpeg frames
Frame dropped
Frame dropped
Renumbered Gop 1 /13359
opening dmx file for audio track : /mnt/usb/movies/OIL/OIL_2/VTS_01_1.VOB.idx
Creating mpeg PS demuxer main Pid: FF00
Auto adding:
file 1: /mnt/usb/movies/OIL/OIL_2/VTS_01_1.VOB, size: 1073739776
file 2: /mnt/usb/movies/OIL/OIL_2/VTS_01_2.VOB, size: 1073739776
file 3: /mnt/usb/movies/OIL/OIL_2/VTS_01_3.VOB, size: 1073739776
file 4: /mnt/usb/movies/OIL/OIL_2/VTS_01_4.VOB, size: 574662656
file: /mnt/usb/movies/OIL/OIL_2/VTS_01_5.VOB not found.
found 4 files
Done
Building index with 13359 sync points
Filling audio header
Audio index loaded, probing...
Probing track:0, pid: 0 pes:0
Syncing on 16384
Sync found at offset 0
Syncing on 16384
Sync found at offset 0
DMX audio initialized (205191168 bytes)
With 13359 sync point
Mpeg index file successfully read
The video codec has some extradata (36 bytes)
0000 : ...³-.@#.î£...µ 00 00 01 b3 2d 02 40 23 0e ee a3 80 00 00 01 b5
0010 : ..........µ#... 14 82 00 01 00 00 00 00 00 00 01 b5 23 05 05 05
0020 : .B.. 0b 42 12 00
Deleting post proc
Initializing postproc
Deleting post proc
updating post proc
Enabled type:3 strength:3
[Editor] Duration in seconds: 6412, in samples: 307783680
Decoder FCC: MPEG (4745504D)
Searching decoder (720 x 576, extradataSize:36)...
using Mpeg1/2 codec (libmpeg2)
[lavc] Build: 3352580
[lavc] Enabling MT decoder with 2 threads
[lavc] Decoder init: CODEC_ID_MPEG2VIDEO video decoder initialized!
checking for B-Frames...
scanning 125 frames
* # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * # * #
* # * # * # * # * # * # * # * # * #
Mmm this appear to have b-frame...
And the index is ok
Frames re-ordered, B-frame friendly now
End of B-frame check
Editor :Audio streamer initialized
Audio codec: AC3
No accelerated IMDCT transform found
[RDR] Resizing to 720 x 576
[lavc] No accelerated colorspace conversion found
** conf updated **
One frame : 40, err=0 ms
.. Offset ...0 ms
[Bridge] Going to time 0
Syncing on 8192
Sync found at offset 0
A52 sync found at 0 + 0
[Bridge] Starting with time 0, shift 0
[Bridge] Ending with time 0, sample 0
[Bridge] Going to time 0
Syncing on 8192
Sync found at offset 0
A52 sync found at 0 + 0
1 audio frame = 3840 bytes
Error setting format.
Error setting format.
No accel used for rendering
[Bridge] Destroying bridge
[lavc] Killing decoding threads
[lavc] Destroyed
Deleting post proc
Cleaning up
Waiting for Spidermonkey to finish...
Cleaning up Spidermonkey.
[SDL] Quitting...
End of cleanup
Images stat:
___________
Max memory consumed (MB) : 7897
Current memory consumed (MB) : 0
Max image used : 13
Cur image used : 0
Global mem stat
______________
Memory consumed: 3 (MB)
Goodbye... |
_________________ ~x86
p5k-se
Intel Core 2 Duo
Nvidia GT200
http://www.zanbytes.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|