wave recorded on ubuntu does not work on windows xp

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

wave recorded on ubuntu does not work on windows xp

tommyk
In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:

autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink

When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player can not play the file".
The same file can be played on Ubuntu and on Windows 7 without any problem.

I assume that Win XP does not support compression mode used by my gstreamer pipeline.
Is it possible to have the file playable on all three operating systems, what would be a correct pipeline for that ?
Reply | Threaded
Open this post in threaded view
|

wave recorded on ubuntu does not work on windows xp

tommyk
In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:

autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink

When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player cannot play the file".
The same file can be played on Ubuntu and on Windows 7 without any problem.

I assume that Win XP does not support compression mode used by my gstreamer pipeline.
Is it possible to have the file playable on all three operating systems, what would be a correct pipeline for that ?

Thanks
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wave recorded on ubuntu does not work on windows xp

Stefan Sauer
On 06/17/11 08:56, Kus, Tomasz wrote:
> In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:
>
> autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink
>
> When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player cannot play the file".
> The same file can be played on Ubuntu and on Windows 7 without any problem.
>
> I assume that Win XP does not support compression mode used by my gstreamer pipeline.

this file is not compressed actually. It is hard to say for what reasons
windows media player on XP rejects the file. You could try to collect
some files that actually play there and use some avi-format dump to
check the headers (chunks) of files that play and don't play.

Stefan

> Is it possible to have the file playable on all three operating systems, what would be a correct pipeline for that ?
>
> Thanks
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wave recorded on ubuntu does not work on windows xp

David Schleef-2
On Fri, Jun 17, 2011 at 11:34:08AM +0200, Stefan Kost wrote:

> On 06/17/11 08:56, Kus, Tomasz wrote:
> >In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:
> >
> >autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink
> >
> >When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player cannot play the file".
> >The same file can be played on Ubuntu and on Windows 7 without any problem.
> >
> >I assume that Win XP does not support compression mode used by my gstreamer pipeline.
>

Use the -e option in gst-launch.



David

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wave recorded on ubuntu does not work on windows xp

Farkas Levente
On 06/17/2011 10:28 PM, David Schleef wrote:

> On Fri, Jun 17, 2011 at 11:34:08AM +0200, Stefan Kost wrote:
>> On 06/17/11 08:56, Kus, Tomasz wrote:
>>> In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:
>>>
>>> autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink
>>>
>>> When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player cannot play the file".
>>> The same file can be played on Ubuntu and on Windows 7 without any problem.
>>>
>>> I assume that Win XP does not support compression mode used by my gstreamer pipeline.
>>
>
> Use the -e option in gst-launch.

on windows it's do not send eof:-(

--
  Levente                               "Si vis pacem para bellum!"
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: wave recorded on ubuntu does not work on windows xp

Stefan Sauer
On 06/17/11 22:44, Farkas Levente wrote:

> On 06/17/2011 10:28 PM, David Schleef wrote:
>> On Fri, Jun 17, 2011 at 11:34:08AM +0200, Stefan Kost wrote:
>>> On 06/17/11 08:56, Kus, Tomasz wrote:
>>>> In my application running on Ubuntu 10.04 I am recording wav files using  following pipeline:
>>>>
>>>> autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=1,depth=16 ! wavenc ! filesink
>>>>
>>>> When I try to play recorded file on Windows XP SP3, Windows Media Player starts playback and then displays error message "Windows Media Player cannot play the file".
>>>> The same file can be played on Ubuntu and on Windows 7 without any problem.
>>>>
>>>> I assume that Win XP does not support compression mode used by my gstreamer pipeline.
>> Use the -e option in gst-launch.
> on windows it's do not send eof:-(
>
There is no Ctrl-C handler? Any idea how to add one to gst-launch for win32? There seems to be some info in:

http://www.cplusplus.com/forum/beginner/1501/

Stefan

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel