You are not logged in.
Hi!
I am using archlinux and for watching movies I use mplayer.
When I record movies with my mobile they are in the format .3gp.
Sometimes I record or recive through mms smaller movie clips in a series.
I want to join them together to one .3gp file with the same quality and all.
I have been looking for a good help for doing this on the web but so far haven't found anything.
If anyone can help me how to join multiple .3gp files into one .3gp file I would be glad...
Last edited by XeroXer (2007-05-28 18:59:57)
Offline
mencoder should do that ..
`mencoder -ovc copy -oac copy -o out.vid in1.vid in2.vid in3.vid`
Offline
got an error saying that I should use -oac pcm for the sound.
tried that and the sound merged great but not the video.
it got a lot messed up and when I try to fastforward in the movie it ends the mplayer.
so it worked partly...
with -oac copy
MEncoder 1.0rc1-4.1.2 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M processor 1.40GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
98 audio & 216 video codecs
WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help.
success: format: 0 data: 0x0 - 0x4898d
ISO: File Type Major Brand: 3GPP Profile 5
Quicktime/MOV file format detected.
VIDEO: [s263] 176x144 24bpp inf fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:7 fourcc:0x33363273 size:176x144 fps: inf ftime:=0.0000
videocodec: framecopy (176x144 24bpp fourcc=33363273)
Audio format 0x726d6173 is incompatible with '-oac copy', please try '-oac pcm' instead or use '-fafmttag' to override it.
Exiting...
RESULT:
The suggestion I got ended up with a movie with great sound but bad picture. The movie can not be skipped in sections because then mplayer just quits.
Last edited by XeroXer (2007-05-28 13:59:01)
Offline
Install GPAC from AUR. Then use MP4Box to concatenate. From the GPAC website (http://gpac.sourceforge.net/):
-cat a_file : concatenates a_file to input file (samples are added to existing tracks rather than added
to new tracks). The usage is the same as -add, you may use non IsoMedia input files (for example, AVIs
or MPEGs) and concatenates them directly into a new IsoMedia file. This process will remove all MPEG-4
systems tracks from the final file and make it compliant to ISMA or 3GP just like the -add process. You
can instruct MP4Box not to remove MPEG-4 systems tracks by specifying -keepsys.
Offline
skottish: That site and everything just made it very blurry in my head.
I am quite new to linux and if you could just tell me very fast how to do the install and everything I would be very greatful...
Offline
Sorry if you got this far:
Go here: http://aur.archlinux.org/packages.php . Type gpac in the search bar. Find the PKGBUILD link, and download it. From the command line and in the directory where you downloaded the PKGBUILD, run makepkg. It will download and build GPAC. Then as root, run pacman -U gpac-0.4.2-1.pkg.tar.gz
Assuming you have 2 video files, one called "one.3gp" and the other "two.3gp":
MP4Box -cat one.3gp -cat two.3gp -new new_file.3gp
This will only work on files that have identical specifications, which you said yours does. Otherwise you'll end up with a file that will only let you view the first part.
Offline
skottish:
You are my savior. No more 20 or so movies in a row.
It combined perfect with both sound and video. Works great...
Offline
I've never actually used the software to combine 3gp files before! I'm really glad it worked. And by the way, those files should play in Quicktime. So if you want to send the to someone who uses a lesser OS...
Offline
Thank you skottish for the hint, and to you XeroXer for asking.
I stumbled on this thread by coincidence, and I'm glad I did. You have no idea how much this helped me.
Thank you so much, both of you.
Offline