Living and Loving the Acer Aspire One 522ZDNet UK (blog)By JA Watson , 24 February, 2012 09:20 Various thoughts and adventures, including but not limited to Linux, assorted bits of hardware new and old, and occasionally Windows XP/Vista/7. What an odd situation this is. For the past week or so, ...
Thanks… That fixed my sync problem. However I tried converting to a fly file, and now the video is just a bunch of pretty colors. I am no expert at this, and wondered if you knew why?
But thanks again, I can live with the ogv file for now.
Something is pretty messed up.
I suggest you have a chat with the guys in the IRC channel #ffmpeg.
They will be able to help you out.
Or you can log a bug at http://ffmpeg.org/bugreports.html
Specially for people having problems to record audio or sound with a GNOME based GNU/Linux distro:
gtk-recordMyDesktop (records video + audio) and gnome-sound-recorder (records audio) can record both the system and the microphone sound. To choose the sound to be recorded open gnome-volume-control (from ALT+F2 for example), click on Hardware, then on Profile and there choose the corresponding option, depending on what will be recorded ..:
+ sound of the system: a) Analog Stereo Output; or b) Digital Stereo Duplex (IEC958)
+ sound from the microphone: a) Analog Stereo Duplex; or b) Digital Stereo (IEC958) Output + Analog Stereo Input
In gnome-volume-control, it may be necessary to choose “Off”, close it, open it again, choose the desired option and close it again.
Some of the other options may work sometimes, but they may record sometimes the system sound and sometimes the mic sound. And other options may record audio but could not permit to listen to the recorded sound. So it’s better not to use those options.
NB: system sound is the sound of what one can hear from the speaker. It can be a .ogg or .mp3, … song played by Totem, or a Flash music video of a web site, …
In Ubuntu I’ve tried xvidcap and gtk-recordMyDesktop. I’ve been able with both of them to record video and audio from the system or the microphone.
But gtk-recordMyDesktop has 2 problems:
a) When you click on stop it takes a lot of time to encode the video (in xvidcap you have it in the moment you stop the recording).
b) It uses a lot of space in a folder called more or less /tmp/rMD-session-xxxx. Sometimes is deleted after the encoding but sometimes not (keeps on growing) and you have to delete it before your linux partition gets full.
January 25, 2010 at 9:18 pm
Thanks… That fixed my sync problem. However I tried converting to a fly file, and now the video is just a bunch of pretty colors. I am no expert at this, and wondered if you knew why?
But thanks again, I can live with the ogv file for now.
January 26, 2010 at 1:45 am
How did you convert your OGV into an FLV?
January 26, 2010 at 1:49 am
With this Line:
ffmpeg -i FILE.ogv -acodec libfaac -ab 96k -vcodec libx264 -vpre hq -crf 35 -threads 0 FILE.flv
January 26, 2010 at 2:02 am
I ran it again, and noticed I did get something strange.
This showed up…
Input #0, ogg, from ‘out-8.ogv’:
Duration: 00:03:08.06, start: 0.000000, bitrate: 1148 kb/s
Stream #0.0: Invalid Codec type -1
Stream #0.1: Video: theora, yuv420p, 1680×1040, PAR 1:1 DAR 21:13, 15 tbr, 15 tbn, 15 tbc
Stream #0.2: Audio: vorbis, 48000 Hz, mono, s16, 239 kb/s
I don’t know why it says I have an invalid codec type -1….
January 26, 2010 at 2:05 am
here is the entire output…
$ ffmpeg -i out-8.ogv -acodec libfaac -ab 96k -vcodec libx264 -vpre hq -crf 35 -threads 0 outtest-8.flv
FFmpeg version 0.5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: –prefix=/usr –enable-shared –libdir=/usr/lib –shlibdir=/usr/lib –incdir=/usr/include –enable-postproc –enable-gpl –enable-pthreads –enable-libtheora –enable-libvorbis –enable-x11grab –disable-debug –enable-swscale –enable-libmp3lame –enable-libfaad –enable-libfaac –enable-libx264 –enable-libxvid –enable-nonfree –enable-libamr_nb –enable-libamr_wb
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Jun 2 2009 20:09:15, gcc: 4.1.1 20060724 (prerelease) (4.1.1-4pclos2007)
Input #0, ogg, from ‘out-8.ogv’:
Duration: 00:03:08.06, start: 0.000000, bitrate: 1148 kb/s
Stream #0.0: Invalid Codec type -1
Stream #0.1: Video: theora, yuv420p, 1680×1040, PAR 1:1 DAR 21:13, 15 tbr, 15 tbn, 15 tbc
Stream #0.2: Audio: vorbis, 48000 Hz, mono, s16, 239 kb/s
Output #0, flv, to ‘outtest-8.flv’:
Stream #0.0: Video: libx264, yuv420p, 1680×1040 [PAR 1:1 DAR 21:13], q=10-51, 200 kb/s, 90k tbn, 15 tbc
Stream #0.1: Audio: libfaac, 48000 Hz, mono, s16, 96 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.2 -> #0.1
[libx264 @ 0x817c0c0]using SAR=1/1
[libx264 @ 0x817c0c0]using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
Press [q] to stop encoding
Segmentation fault7 q=23.0 size= 1266kB time=23.33 bitrate= 444.3kbits/s
January 26, 2010 at 11:13 am
Something is pretty messed up.
I suggest you have a chat with the guys in the IRC channel #ffmpeg.
They will be able to help you out.
Or you can log a bug at http://ffmpeg.org/bugreports.html
January 26, 2010 at 3:10 pm
Thanks. I did find this command:
mencoder -ovc lavc -ofps 30 -oac mp3lame -af volnorm=1:0.5 your_file.ogv -o your_file.flv
It seems to work fine although it only reduces my file size by about half.
Anyway, it looks like it is my FFmpeg, anything I use with it is messed up.
Thanks
March 21, 2011 at 6:03 pm
Specially for people having problems to record audio or sound with a GNOME based GNU/Linux distro:
gtk-recordMyDesktop (records video + audio) and gnome-sound-recorder (records audio) can record both the system and the microphone sound. To choose the sound to be recorded open gnome-volume-control (from ALT+F2 for example), click on Hardware, then on Profile and there choose the corresponding option, depending on what will be recorded ..:
+ sound of the system: a) Analog Stereo Output; or b) Digital Stereo Duplex (IEC958)
+ sound from the microphone: a) Analog Stereo Duplex; or b) Digital Stereo (IEC958) Output + Analog Stereo Input
In gnome-volume-control, it may be necessary to choose “Off”, close it, open it again, choose the desired option and close it again.
Some of the other options may work sometimes, but they may record sometimes the system sound and sometimes the mic sound. And other options may record audio but could not permit to listen to the recorded sound. So it’s better not to use those options.
NB: system sound is the sound of what one can hear from the speaker. It can be a .ogg or .mp3, … song played by Totem, or a Flash music video of a web site, …
March 30, 2011 at 6:37 pm
In Ubuntu I’ve tried xvidcap and gtk-recordMyDesktop. I’ve been able with both of them to record video and audio from the system or the microphone.
But gtk-recordMyDesktop has 2 problems:
a) When you click on stop it takes a lot of time to encode the video (in xvidcap you have it in the moment you stop the recording).
b) It uses a lot of space in a folder called more or less /tmp/rMD-session-xxxx. Sometimes is deleted after the encoding but sometimes not (keeps on growing) and you have to delete it before your linux partition gets full.
In Ubuntu, to be able to record the sound with xvidcap you just need to follow a few steps:
http://ubuntuforums.org/showthread.php?t=1714139