PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Convert .OGG to .MPEG or .SWF
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Convert .OGG to .MPEG or .SWF

Réponse
 
LinkBack Outils de la discussion
Vieux 13/11/2007, 04h50   #1
Alejandro Aguila Sáinz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Convert .OGG to .MPEG or .SWF

Hi, I'm trying to convert a .OGG formated video that I've created using
gtk-recordmydesktop , the only way I found in google was using ffmpeg, but
it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
this:

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al..
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
--enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
--disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease) (Debian
4.1.2-12)
[theora @ 0xb7e36b48]Theora bitstream version 30201
[theora @ 0xb7e36b48]544 bits left in packet 81
[theora @ 0xb7e36b48]7 bits left in packet 82
Input #0, ogg, from 'gigared.ogg':
Duration: 00:01:58.8, start: 2.133333, bitrate: 495 kb/s
Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
Output #0, mpeg, to 'gigared.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s,
15.00fps(c)
Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[mpeg1video @ 0xb7e36b48]MPEG1/2 does not support 15/1 fps
Error while opening codec for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

If someone can me will be great, thanks!

--
Alejandro Aguila Sáinz <alekz@alekz.com.mx>
PGP KEY: 14D45A26
Fingerprint: 9670 F4A3 0568 42AF DF1A 2429 C1D3 D6A6 14D4 5A26

  Réponse avec citation
Vieux 13/11/2007, 05h10   #2
Carl Fink
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

On Mon, Nov 12, 2007 at 10:45:54PM -0600, Alejandro Aguila S?inz wrote:
> Hi, I'm trying to convert a .OGG formated video that I've created using
> gtk-recordmydesktop , the only way I found in google was using ffmpeg, but
> it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> this:


FFmpeg is notorious for mysterious and confusingly documented options.

Try "ffmpeg -i your.ogg -target ntsc-dvd your.mpg".
--
Carl Fink nitpicking@nitpicking.com

Read my blog at nitpickingblog.blogspot.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 05h30   #3
Alejandro Aguila Sáinz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

Hi Carl, I've got this:

ffmpeg -i gigared.ogg -target ntsc-dvd gigared.mpg
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al..
configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
--enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
--disable-debug --enable-shared --prefix=/usr
libavutil version: 1d.49.3.0
libavcodec version: 1d.51.38.0
libavformat version: 1d.51.10.0
built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease) (Debian
4.1.2-12)
[theora @ 0xb7e91b48]Theora bitstream version 30201
[theora @ 0xb7e91b48]544 bits left in packet 81
[theora @ 0xb7e91b48]7 bits left in packet 82
Input #0, ogg, from 'gigared.ogg':
Duration: 00:01:58.8, start: 2.133333, bitrate: 495 kb/s
Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
Output #0, dvd, to 'gigared.mpg':
Stream #0.0: Video: 0x0000, yuv420p, 720x480, q=2-31, 6000 kb/s, 29.97fps(c)
Stream #0.1: Audio: ac3, 48000 Hz, mono, 448 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Unsupported codec for output stream #0.0

Any idea?

On 11/12/07, Carl Fink <carl@finknetwork.com> wrote:
>
> On Mon, Nov 12, 2007 at 10:45:54PM -0600, Alejandro Aguila S?inz wrote:
> > Hi, I'm trying to convert a .OGG formated video that I've created using
> > gtk-recordmydesktop , the only way I found in google was using ffmpeg,

> but
> > it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> > this:

>
> FFmpeg is notorious for mysterious and confusingly documented options.
>
> Try "ffmpeg -i your.ogg -target ntsc-dvd your.mpg".
> --
> Carl Fink nitpicking@nitpicking.com
>
> Read my blog at nitpickingblog.blogspot.com. Reviews! Observations!
> Stupid mistakes you can correct!
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>



--
Alejandro Aguila Sáinz <alekz@alekz.com.mx>
PGP KEY: 14D45A26
Fingerprint: 9670 F4A3 0568 42AF DF1A 2429 C1D3 D6A6 14D4 5A26

  Réponse avec citation
Vieux 13/11/2007, 13h10   #4
Carl Fink
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

On Mon, Nov 12, 2007 at 11:27:13PM -0600, Alejandro Aguila S?inz wrote:

> Hi Carl, I've got this:


[snip]

> Unsupported codec for output stream #0.0


I can't make it work either. FFmpeg will convert anything ELSE, but
apparently the September build for Debian can't handle Ogg Vorbis, which is
ironic.
--
Carl Fink nitpicking@nitpicking.com

Read my blog at nitpickingblog.blogspot.com. Reviews! Observations!
Stupid mistakes you can correct!


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 16h50   #5
Stefano Sabatini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

On date Monday 2007-11-12 22:45:54 -0600, Alejandro Aguila Sáinz wrote:
> Hi, I'm trying to convert a .OGG formated video that I've created using
> gtk-recordmydesktop , the only way I found in google was using ffmpeg, but
> it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> this:
>
> FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
> configuration: --enable-gpl --enable-pp --enable-swscaler
> --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
> --enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
> --disable-debug --enable-shared --prefix=/usr
> libavutil version: 1d.49.3.0
> libavcodec version: 1d.51.38.0
> libavformat version: 1d.51.10.0
> built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease) (Debian
> 4.1.2-12)
> [theora @ 0xb7e36b48]Theora bitstream version 30201
> [theora @ 0xb7e36b48]544 bits left in packet 81
> [theora @ 0xb7e36b48]7 bits left in packet 82
> Input #0, ogg, from 'gigared.ogg':
> Duration: 00:01:58.8, start: 2.133333, bitrate: 495 kb/s
> Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
> Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
> Output #0, mpeg, to 'gigared.mpg':
> Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s,
> 15.00fps(c)
> Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
> Stream mapping:
> Stream #0.0 -> #0.0
> Stream #0.1 -> #0.1
> [mpeg1video @ 0xb7e36b48]MPEG1/2 does not support 15/1 fps
> Error while opening codec for output stream #0.0 - maybe incorrect
> parameters such as bit_rate, rate, width or height


It's using the same framerate input, -r 15 isn't supported by the
Mpeg-1:video standard. Try with -r 24, 25, 29.7 or 30 or 60 instead.

> If someone can me will be great, thanks!


HTH, regards.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 13/11/2007, 18h20   #6
Alejandro Aguila Sáinz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

That worked! Thank you so much Stefano and everyone!

On 11/13/07, Stefano Sabatini <stefano.sabatini-lala@poste.it> wrote:
>
> On date Monday 2007-11-12 22:45:54 -0600, Alejandro Aguila Sáinz wrote:
> > Hi, I'm trying to convert a .OGG formated video that I've created using
> > gtk-recordmydesktop , the only way I found in google was using ffmpeg,

> but
> > it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> > this:
> >
> > FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et

> al.
> > configuration: --enable-gpl --enable-pp --enable-swscaler
> > --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
> > --enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
> > --disable-debug --enable-shared --prefix=/usr
> > libavutil version: 1d.49.3.0
> > libavcodec version: 1d.51.38.0
> > libavformat version: 1d.51.10.0
> > built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease)

> (Debian
> > 4.1.2-12)
> > [theora @ 0xb7e36b48]Theora bitstream version 30201
> > [theora @ 0xb7e36b48]544 bits left in packet 81
> > [theora @ 0xb7e36b48]7 bits left in packet 82
> > Input #0, ogg, from 'gigared.ogg':
> > Duration: 00:01:58.8, start: 2.133333, bitrate: 495 kb/s
> > Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
> > Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
> > Output #0, mpeg, to 'gigared.mpg':
> > Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s,
> > 15.00fps(c)
> > Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> > [mpeg1video @ 0xb7e36b48]MPEG1/2 does not support 15/1 fps
> > Error while opening codec for output stream #0.0 - maybe incorrect
> > parameters such as bit_rate, rate, width or height

>
> It's using the same framerate input, -r 15 isn't supported by the
> Mpeg-1:video standard. Try with -r 24, 25, 29.7 or 30 or 60 instead.
>
> > If someone can me will be great, thanks!

>
> HTH, regards.
> --
> Stefano Sabatini
> Linux user number 337176 (see http://counter.li.org)
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>



--
Alejandro Aguila Sáinz <alekz@alekz.com.mx>
PGP KEY: 14D45A26
Fingerprint: 9670 F4A3 0568 42AF DF1A 2429 C1D3 D6A6 14D4 5A26

  Réponse avec citation
Vieux 13/11/2007, 21h40   #7
Alejandro Aguila Sáinz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

That worked for .mpg but any idea to convert to .avi or .swf? Thanks!

On 11/13/07, Stefano Sabatini <stefano.sabatini-lala@poste.it> wrote:
>
> On date Monday 2007-11-12 22:45:54 -0600, Alejandro Aguila Sáinz wrote:
> > Hi, I'm trying to convert a .OGG formated video that I've created using
> > gtk-recordmydesktop , the only way I found in google was using ffmpeg,

> but
> > it not working, when I put ' ffmpeg -i myvideo.ogg myvideo.mpeg ' I got
> > this:
> >
> > FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et

> al.
> > configuration: --enable-gpl --enable-pp --enable-swscaler
> > --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
> > --enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394
> > --disable-debug --enable-shared --prefix=/usr
> > libavutil version: 1d.49.3.0
> > libavcodec version: 1d.51.38.0
> > libavformat version: 1d.51.10.0
> > built on Jun 23 2007 14:31:53, gcc: 4.1.3 20070601 (prerelease)

> (Debian
> > 4.1.2-12)
> > [theora @ 0xb7e36b48]Theora bitstream version 30201
> > [theora @ 0xb7e36b48]544 bits left in packet 81
> > [theora @ 0xb7e36b48]7 bits left in packet 82
> > Input #0, ogg, from 'gigared.ogg':
> > Duration: 00:01:58.8, start: 2.133333, bitrate: 495 kb/s
> > Stream #0.0: Video: theora, yuv420p, 1024x768, 15.00 fps(r)
> > Stream #0.1: Audio: vorbis, 22050 Hz, mono, 89 kb/s
> > Output #0, mpeg, to 'gigared.mpg':
> > Stream #0.0: Video: mpeg1video, yuv420p, 1024x768, q=2-31, 200 kb/s,
> > 15.00fps(c)
> > Stream #0.1: Audio: mp2, 22050 Hz, mono, 64 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> > [mpeg1video @ 0xb7e36b48]MPEG1/2 does not support 15/1 fps
> > Error while opening codec for output stream #0.0 - maybe incorrect
> > parameters such as bit_rate, rate, width or height

>
> It's using the same framerate input, -r 15 isn't supported by the
> Mpeg-1:video standard. Try with -r 24, 25, 29.7 or 30 or 60 instead.
>
> > If someone can me will be great, thanks!

>
> HTH, regards.
> --
> Stefano Sabatini
> Linux user number 337176 (see http://counter.li.org)
>
>
>
>



--
Alejandro Aguila Sáinz <alekz@alekz.com.mx>
PGP KEY: 14D45A26
Fingerprint: 9670 F4A3 0568 42AF DF1A 2429 C1D3 D6A6 14D4 5A26

  Réponse avec citation
Vieux 14/11/2007, 10h00   #8
Stefano Sabatini
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

On date Tuesday 2007-11-13 15:32:19 -0600, Alejandro Aguila Sáinz wrote:
> That worked for .mpg but any idea to convert to .avi or .swf? Thanks!

[...]

Please don't top post.

First you have to understand that Mpeg really means many different
things, it may refer both to some standard that defines many
multimedia *containers formats* (Mpeg-1, Mpeg-2:PS, Mpeg-2:TS,
Mpeg-4:14) or many *media stream formats* (Mpeg-1:video, Mpeg-2:video,
Mpeg-4:2, Mpeg-4:10 aka AVC aka H264).

Avi is a *container*, so you can put into it many different media
streams, but not necessarily all (in this rgards the Ogg file format
is far more restrictive).

ffmpeg is clever enough to figure out which multimedia formats to use
when you only specify the extension of the output file (e.g. .avi ->
use as container avi+mpeg1:video+MP2, .mpg-> use as container Mpeg
1+mpeg1:video + MP2) but you can specify the codec to use and the
corresponding format to issue using the -acodec and -vcodec options
(have a look at ffmpeg -formats).

Example:

ffmpeg -i <input> -vcodec mpeg4 -acodec libmp3lame output.avi

For other examples (for example to get a FLV/SWF file) look at the
FFmpeg documentation FAQ.

HTH, regards.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 19/11/2007, 14h40   #9
Michelle Konzack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Convert .OGG to .MPEG or .SWF

Am 2007-11-13 15:32:19, schrieb Alejandro Aguila Sáinz:
> That worked for .mpg but any idea to convert to .avi or .swf? Thanks!


AVI is a container and can contain mpeg or mp4. :-)

Thanks, Greetings and nice Day
Michelle Konzack


--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSN LinuxMichi
0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFHPhLOC0FPBMSS+BIRAvfIAKC95MkwIsjruwkN0obNoM GPPLMSgQCgh/oX
fgIXnyunUlbzXIilORqdmSg=
=gadA
-----END PGP SIGNATURE-----

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h59.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,19665 seconds with 17 queries