doesn`t record in any supplied format

Bug #803103 reported by Eugene Roskin on 2011-06-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Tibesti Screencaster
Undecided
Unassigned

Bug Description

ubuntu 11.04 x64
Tibesti 1.2.8
I has tried most of presets, but after recording video duration for expample 1 min., and then pushing Stop Recording, Tibesti show Please Wait!! Finalizing Recording but nothing happens, it doesn`t stops and don`t create a output video file.

Andrew Sellers (ackondro) wrote :

Thanks for telling me you're having a problem. I was able to do a quick check on my 11.04 system, which didn't turn up anything noticeable unfortunately.

Since that's the case, I need you to try a few things so I can know what's messing up. If you aren't using Unity or Classic Gnome, it would be useful to know what you're using (there's a bug in the underlying library I use that conflicts with Gnome Shell's Mutter interface, it may be showing up elsewhere). Also, in the Options window, could you try turning off the audio capturing (2 checkboxes, one for mic, one for audio out), that way we can see if the problem lies in the audio capture. Finally, could you open a Terminal, then run "tibesti" in the terminal (without the quotation marks) I log information and sometimes errors there, so something might show up that doesn't otherwise.

Eugene Roskin (lowrider) wrote :

I`m Unity user.

Output in terminal with mic and audio out capture on:

2
webmmux name=mux ! filesink name=vidsave location=/home/silen/Видео/tmpH0QuIk ximagesrc name=videopipe display-name=:0.0 screen-num=0 use-damage=false show-pointer=false startx=89 starty=120 endx=485 endy=421 ! video/x-raw-rgb,framerate=20/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=400,height=304,framerate=20/1 ! vp8enc speed=2 ! queue ! mux. adder name=inter ! audioconvert ! vorbisenc ! mux. pulsesrc device=.monitor name=audiopipe ! audioresample ! audioconvert ! inter. pulsesrc device= name=micpipe ! audioresample ! audioconvert ! inter.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 170, in record_toggle
    self.stop_recording()
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 47, in stop_recording
    self.pipeline.stop_pipeline()
  File "/usr/lib/pymodules/python2.7/tibesti/Pipeline.py", line 90, in stop_pipeline
    self.mic_pipe.set_state(gst.STATE_NULL)
AttributeError: 'NoneType' object has no attribute 'set_state'

Output in terminal with mic and audio out capture switched off:

ximagesrc name=videopipe display-name=:0.0 screen-num=0 use-damage=false show-pointer=false startx=89 starty=121 endx=485 endy=420 ! video/x-raw-rgb,framerate=20/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=400,height=304,framerate=20/1 ! xvidenc ! queue ! matroskamux ! filesink name=vidsave location=/home/selen/Видео/tmp6GQemB

And saving works fine w/o audio out and mic recording.

Same problem, and same traceback.

On Ubuntu 11.04 64bits, with Gnome Clasic

$ tibesti
2
oggmux name=mux ! filesink name=vidsave location=/tmp/tmp6Vlqgs ximagesrc name=videopipe display-name=:0 screen-num=0 use-damage=false startx=0 starty=0 endx=1360 endy=768 ! video/x-raw-rgb,framerate=15/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1360,height=784,framerate=15/1 ! theoraenc quality=36 ! queue ! mux. adder name=inter ! audioconvert ! vorbisenc ! mux. pulsesrc device=.monitor name=audiopipe ! audioresample ! audioconvert ! inter. pulsesrc device= name=micpipe ! audioresample ! audioconvert ! inter.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 170, in record_toggle
    self.stop_recording()
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 47, in stop_recording
    self.pipeline.stop_pipeline()
  File "/usr/lib/pymodules/python2.7/tibesti/Pipeline.py", line 90, in stop_pipeline
    self.mic_pipe.set_state(gst.STATE_NULL)
AttributeError: 'NoneType' object has no attribute 'set_state'
^CTraceback (most recent call last):
  File "/usr/bin/tibesti", line 215, in <module>
    gtk.main()

Changed in tibesti:
status: New → Confirmed

I'll need the output from the command "pactl list", what it does is list
your sound properties. Tibesti needs this info in order to know what to
record, but it isn't coming through at all. There may have been some cahnge
that broke it, if so I'll need to know the new format.
On Jul 18, 2011 12:11 PM, "Mario César Señoranis" <email address hidden>
wrote:

Indeed, I was trying to the debug the Pipeline file, the mic_pipe is not being initialized

The dump of pactl is attached

Andrew Sellers (ackondro) wrote :

Well there's the problem, pactl is giving partial Spanish, and tibesti only
knows the English names. I didn't expect to run into this. It won't be hard
to fix, give me a day or two.
On Jul 18, 2011 1:11 PM, "Mario César Señoranis" <email address hidden>
wrote:

Thanks @Andrew, If you point me the code where this affecting, I will be glad to take a look and fix that.

Andrew Sellers (ackondro) wrote :

They will be in the AudioPipeline.py file in the tibesti folder. There's
speaker_source and microphone_source methods that do some commands.getoutput
trickery to pull out the correct "Sink" and "Source". Figure out the Spanish
analogues and that should be it.
On Jul 18, 2011 3:11 PM, "Mario César Señoranis" <email address hidden>
wrote:
> Thanks @Andrew, If you point me the code where this affecting, I will be
> glad to take a look and fix that.
>
> --
> You received this bug notification because you are the registrant for
> Tibesti Screencaster.
> https://bugs.launchpad.net/bugs/803103
>
> Title:
> doesn`t record in any supplied format
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/tibesti/+bug/803103/+subscriptions

Andrew Sellers (ackondro) wrote :

There is a version at http://ubuntuone.com/p/15JI/ that hopefully fixes this
issue. The version number is off, but it should be up to date with
everything. If it works I'll push out an official version in a few days.
On Jul 18, 2011 3:20 PM, <email address hidden> wrote:

Same result.

Can you send me the diff to give it a look to, it will be more easy for my to debug it.

$ tibesti
2
oggmux name=mux ! filesink name=vidsave location=/tmp/tmpIE8AN9 ximagesrc name=videopipe display-name=:0 screen-num=0 use-damage=false startx=0 starty=0 endx=1360 endy=768 ! video/x-raw-rgb,framerate=15/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1360,height=784,framerate=15/1 ! theoraenc quality=36 ! queue ! mux. adder name=inter ! audioconvert ! vorbisenc ! mux. pulsesrc device=.monitor name=audiopipe ! audioresample ! audioconvert ! inter. pulsesrc device= name=micpipe ! audioresample ! audioconvert ! inter.
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 170, in record_toggle
    self.stop_recording()
  File "/usr/lib/pymodules/python2.7/tibesti/PipelineController.py", line 47, in stop_recording
    self.pipeline.stop_pipeline()
  File "/usr/lib/pymodules/python2.7/tibesti/Pipeline.py", line 90, in stop_pipeline
    self.mic_pipe.set_state(gst.STATE_NULL)
AttributeError: 'NoneType' object has no attribute 'set_state'

@Andre I made a diff on the source code, and see no changes.

    $ diff /usr/share/pyshared/tibesti .
    $

Maybe you upload the wrong .de

@Andrew Look a this, could be a more robust fix

    mariocesar@tango:~$ LANG=C pactl stat
    Currently in use: 243 blocks containing 426.7 KiB bytes total.
    Allocated during whole lifetime: 197381 blocks containing 400.9 MiB bytes total.
    Sample cache size: 0 B
    User name: mariocesar
    Host Name: tango
    Server Name: pulseaudio
    Server Version: 0.9.22-24-g67d18
    Default Sample Specification: s16le 2ch 44100Hz
    Default Channel Map: front-left,front-right
    Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
    Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
    Cookie: 12036701
    mariocesar@tango:~$ pactl stat
    Actualmente en uso: 243 bloques conteniendo 427,4 KiB bytes en total.
    Ubicados durante a lo largo del tiempo: 198293 bloques conteniendo 402,7 MiB bytes en total.
    Tamaño del cache de muestra: 0 B
    Nombre de usuario: mariocesar
    Nombre del equipo: tango
    Nombre del servidor: pulseaudio
    Versión del servidor: 0.9.22-24-g67d18
    Especificación de muestra por defecto: s16le 2ch 44100Hz
    Mapa de canal por defecto: front-left,front-right
    Sumidero por defecto: alsa_output.pci-0000_00_1b.0.analog-stereo
    Fuente por defecto: alsa_input.pci-0000_00_1b.0.analog-stereo
    Cookie: 12036701

You can redefine a enviroment variable at the start of any command LANG=C, this will affect just that command.

Success!

I attach a patch with the change, I made a video and it's working perfectly

$ tibesti
2
oggmux name=mux ! filesink name=vidsave location=/tmp/tmpSu6min ximagesrc name=videopipe display-name=:0 screen-num=0 use-damage=false startx=0 starty=0 endx=1360 endy=768 ! video/x-raw-rgb,framerate=15/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1360,height=784,framerate=15/1 ! theoraenc quality=36 ! queue ! mux. adder name=inter ! audioconvert ! vorbisenc ! mux. pulsesrc device=alsa_output.pci-0000_00_1b.0.analog-stereo.monitor name=audiopipe ! audioresample ! audioconvert ! inter. pulsesrc device=alsa_input.pci-0000_00_1b.0.analog-stereo name=micpipe ! audioresample ! audioconvert ! inter.

Andrew Sellers (ackondro) wrote :

I'll fix that this evening, I should have thought about that. That's the
right way to do it.
On Jul 19, 2011 9:51 AM, "Mario César Señoranis" <email address hidden>
wrote:
> @Andrew Look a this, could be a more robust fix
>
> mariocesar@tango:~$ LANG=C pactl stat
> Currently in use: 243 blocks containing 426.7 KiB bytes total.
> Allocated during whole lifetime: 197381 blocks containing 400.9 MiB bytes
total.
> Sample cache size: 0 B
> User name: mariocesar
> Host Name: tango
> Server Name: pulseaudio
> Server Version: 0.9.22-24-g67d18
> Default Sample Specification: s16le 2ch 44100Hz
> Default Channel Map: front-left,front-right
> Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
> Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
> Cookie: 12036701
> mariocesar@tango:~$ pactl stat
> Actualmente en uso: 243 bloques conteniendo 427,4 KiB bytes en total.
> Ubicados durante a lo largo del tiempo: 198293 bloques conteniendo 402,7
MiB bytes en total.
> Tamaño del cache de muestra: 0 B
> Nombre de usuario: mariocesar
> Nombre del equipo: tango
> Nombre del servidor: pulseaudio
> Versión del servidor: 0.9.22-24-g67d18
> Especificación de muestra por defecto: s16le 2ch 44100Hz
> Mapa de canal por defecto: front-left,front-right
> Sumidero por defecto: alsa_output.pci-0000_00_1b.0.analog-stereo
> Fuente por defecto: alsa_input.pci-0000_00_1b.0.analog-stereo
> Cookie: 12036701
>
> You can redefine a enviroment variable at the start of any command
> LANG=C, this will affect just that command.
>
> --
> You received this bug notification because you are the registrant for
> Tibesti Screencaster.
> https://bugs.launchpad.net/bugs/803103
>
> Title:
> doesn`t record in any supplied format
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/tibesti/+bug/803103/+subscriptions

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments