Segmentation fault in converting 3gp to mp2
Hi all, I am converting a video from 3gpp to mpeg format. The following blog talks about this: http://julian.coccia.com/blog/index.php?p=66&more=1 But, in the following command: ffmpeg -i testnew3.3gp -acodec mp2 -ar 22050 -f wav audiodump.mp2 ...gives a segmentation fault. I installed ffmpeg from ffmpeg-0.4.9-pre1.tar.gz available at http://ffmpeg.sourceforge.net/index.php. Following is the gdb session: *Script started on Fri 01 Sep 2006 01:22:09 AM CDT ]0;foobar at localhost:~/3gp2mpeg[foobar at localhost 3gp2mpeg]$ gdb ffmpeg GNU gdb Red Hat Linux (6.0post-0.20040223.19rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) set arg -i testnew3.3gp -acodec mp2 -ar 22050 -f wav audiodump.mp2 (gdb) run Starting program: /usr/local/bin/ffmpeg -i testnew3.3gp -acodec mp2 -ar 22050 -f wav audiodump.mp2 (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Aug 11 2006 00:33:02, gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7) Input #0, mov,mp4,m4a,3gp, from 'testnew3.3gp': Duration: 00:02:40.9, bitrate: 79 kb/s Stream #0.0: Video: h263, 176x144, 14.82 fps Stream #0.1: Audio: amr_nb, 8000 Hz, mono Output #0, wav, to 'audiodump.mp2': Stream #0.0: Audio: mp2, 22050 Hz, mono, 64 kb/s Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop encoding size= 154kB time=19.7 bitrate= 64.0kbits/s size= 307kB time=39.2 bitrate= 64.0kbits/s size= 456kB time=58.4 bitrate= 64.0kbits/s size= 608kB time=77.8 bitrate= 64.0kbits/s size= 763kB time=97.6 bitrate= 64.0kbits/s size= 915kB time=117.1 bitrate= 64.0kbits/s size= 1067kB time=136.6 bitrate= 64.0kbits/s size= 1220kB time=156.2 bitrate= 64.0kbits/s Program received signal SIGSEGV, Segmentation fault. 0x081dbd40 in av_i2int () (gdb) backtrace #0 0x081dbd40 in av_i2int () #1 0x080a0253 in avcodec_decode_audio () #2 0x0805bb24 in parse_arg_file () #3 0x080576a3 in parse_arg_file () #4 0x0805641a in main () (gdb) quit The program is running. Exit anyway? (y or n) y ]0;foobar at localhost:~/3gp2mpeg*
Santosh Puranshettiwar skrev:
Hi all,
I am converting a video from 3gpp to mpeg format. The following blog talks about this: http://julian.coccia.com/blog/index.php?p=66&more=1
But, in the following command:
ffmpeg -i testnew3.3gp -acodec mp2 -ar 22050 -f wav audiodump.mp2
...gives a segmentation fault.
I installed ffmpeg from ffmpeg-0.4.9-pre1.tar.gz available at http://ffmpeg.sourceforge.net/index.php.
Use the svn version of ffmpeg. MvH Benjamin Larsson
Dear experts, I am currently using ffmpeg to convert a set of picture files into a mpg file. That set contains a sequence view of a original image. So the output mpeg file becomes a small video to watch that original image from left to right, or from top to bottom, .etc... You can see, there are two steps here. First step, I used a FreeImagePlus library to apply some effects on the original image to generate the intermediate files. Second step, I used ffmpeg to transcode them into a mpeg output file. (All the steps are programmatically) The problem is about time cost. For example, to make a 1-minute video, it needs 60 * 24 (frames/sec) = 1440 jpeg input files. Ffmpeg transcodes these files into mpeg very quick(~10 secs). But my library which generates these intermediate files on first step costs time too much (3-4 minutes). My question is, is it possible to make effect on one image in ffmpeg without using FreeImagePlus library like my current design? It also means that I would like to reduce time cost problem by removing the first step and letting ffmpeg make the effect on the original image. For example, the original images has size 640*480. Can ffmpeg crop it at [(0,0) : (200:480)] to produce the first frame, and after that, ffmpeg crop it at [(1,0) : (201:480)] to produce the second frame for the output? So on ... If possible, could you please give my some directions to digest ffmpeg source code? Sorry first if my explanation is not so good. And many thanks for your reading, Regards, P. --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
Can anybody provide me information about "How to create .jpg from a movie file" Regards Chirag
chirag parikh wrote:
Can anybody provide me information about "How to create .jpg from a movie file"
Regards Chirag
You should never ask a new question as reply-to in an existing thread. Please repost as a new thread. -- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Lai Le Phi <lailephi <at> yahoo.com> writes:
Dear experts,
I am currently using ffmpeg to convert a set of picture files into a mpg
view of a original image. So the output mpeg file becomes a small video to watch that original image from left to right, or from top to bottom, .etc...
You can see, there are two steps here. First step, I used a FreeImagePlus
original image to generate the intermediate files. Second step, I used ffmpeg to transcode them into a mpeg output file. (All the steps are programmatically)
The problem is about time cost. For example, to make a 1-minute video, it needs 60 * 24 (frames/sec) = 1440 jpeg input files. Ffmpeg transcodes these files into mpeg very quick(~10 secs). But my library which generates these intermediate files on first step costs time too much (3-4 minutes).
My question is, is it possible to make effect on one image in ffmpeg without using FreeImagePlus library like my current design? It also means that I would like to reduce time cost
step and letting ffmpeg make the effect on the original image.
For example, the original images has size 640*480. Can ffmpeg crop it at [(0,0) : (200:480)] to produce the first frame, and after that, ffmpeg crop it at [(1,0) : (201:480)] to produce
output? So on ...
If possible, could you please give my some directions to digest ffmpeg
file. That set contains a sequence library to apply some effects on the problem by removing the first the second frame for the source code?
Sorry first if my explanation is not so good. And many thanks for your
reading,
Regards, P.
--------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
im also working on this, i have found http://electron.mit.edu/~gsteele/ffmpeg/ and i tried but still needs to work more :D please email me too if you have any more informations w/ regards to this
participants (6)
-
banan@student.ltu.se -
ckp21082@gmail.com -
lailephi@yahoo.com -
luy@stratpoint.com -
mbardiaux@mediaxim.be -
santosh@wirkle.com