[luv-main] joining video files

I have downloaded a 4 part video that had been split into parts for down loading and I wish to put back into a single file. Any one have any sugestions for a decent utilty for this. I minor point is it plays the files at the wrong aspect ratio the correct being 4x3. The files are a fairly rare german film of the history of the Schnellboots (literaly fast boats, the german ww2 torpedo boats).. The following is part of the status from mplayer.......... ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== Lindsay

Video files are often just chopped into pieces without any specific regard for the video file format, which makes it very easy to reconstruct the original using cat. Typically such files are named after the original, with a trailing numerical extension. Eg: cat file.avi.1 file.avi.2 file.avi.3 [...] > file.avi You may also come across files which have been broken into separate independently playable files. I don't usually bother to reconstruct these, I just use a player which can play the files in sequence without too much of a pause. flv is passable, though it overlays the file name at the transition. You could join such files properly using video editing software, and various command line tools, which I haven't looked into recently enough to have suggestions. Be aware though that many such approaches involve decomposing the video and decompressing it, with loss of quality. To avoid that, the joining tool needs to be quite specific to the kind of compression used, including both the wrapper format, and the particular codec involved. If just concatenating the files back together isn't the answer, you should say what happens when you try to play the second file, and for an ideal result you may do better to ask in a video specific forum. Andrew On Oct 21, 2011 6:07 PM, "Lindsay Sprinter" <zlinw@mcmedia.com.au> wrote:
I have downloaded a 4 part video that had been split into parts for down loading and I wish to put back into a single file. Any one have any sugestions for a decent utilty for this.
I minor point is it plays the files at the wrong aspect ratio the correct being 4x3.
The files are a fairly rare german film of the history of the Schnellboots (literaly fast boats, the german ww2 torpedo boats)..
The following is part of the status from mplayer..........
========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ==========================================================================
Lindsay _______________________________________________ luv-main mailing list luv-main@lists.luv.asn.au http://lists.luv.asn.au/listinfo/luv-main

On Fri, 21 Oct 2011 17:23:45 +1000 (EST) Lindsay Sprinter <zlinw@mcmedia.com.au> wrote:
I have downloaded a 4 part video that had been split into parts for down loading and I wish to put back into a single file. Any one have any sugestions for a decent utilty for this.
I minor point is it plays the files at the wrong aspect ratio the correct being 4x3.
Hi Lindsay cat works well but if you want to resize then avidemux will do both resize and join. Cheers Nic

On Fri, Oct 21, 2011 at 05:23:45PM +1000, Lindsay Sprinter wrote:
I have downloaded a 4 part video that had been split into parts for down loading and I wish to put back into a single file. Any one have any sugestions for a decent utilty for this.
I minor point is it plays the files at the wrong aspect ratio the correct being 4x3.
The files are a fairly rare german film of the history of the Schnellboots (literaly fast boats, the german ww2 torpedo boats)..
I have done this with mencoder: mencoder -oac copy -ovc copy -o [whole] [part1] [part2] ... [partn] Sam ------------- (Sam Varghese)

On Fri, 21 Oct 2011, Lindsay Sprinter wrote:
I have downloaded a 4 part video that had been split into parts for down loading and I wish to put back into a single file. Any one have any sugestions for a decent utilty for this.
I minor point is it plays the files at the wrong aspect ratio the correct being 4x3.
Lindsay _______________________________________________ luv-main mailing list luv-main@lists.luv.asn.au http://lists.luv.asn.au/listinfo/luv-main
Thanks for all the replies, they were very helpfull once I had figured out what was being talked about as I knew nothing about such things. After much mucking around these are the commands that succeeded. A major problem being the original files just caused both avidemux and mencoder to crash. I had no idea the format of the orignal files, the file command reported them as flash video. ffmpeg -sameq -aspect 1.333 -i Schnell_3.flv Schnell_3.avi Converts from what ever to avi format maintaining orignal quality and changing aspect ratio to 3x4. mencoder -oac copy -ovc copy -o German_schnelboot.avi Schnell_1.avi Schnell_2.avi Schnell_3.avi Schnell_4.avi Join the four files into a single file. Very happy with the result, just get a faint click on the audio track at the joins. Close examination shows no deterioration in video quality, __very__ good. Lindsay
participants (4)
-
Andrew McN
-
Lindsay Sprinter
-
Nic Baxter
-
Sam Varghese