Hello
My Sony camcorder uses Fat32 as its filesystem, so records files as 2GB MPEG files* that I need to join prior to editing.
I've tried the following tools for Windows, which all have issues:
- ffmpeg : When played in VLC, no sound and lots of video streams:
(see attachment for an illustration)Code:c:\>ffmpeg -i "concat:file1.mpg|file2.mpg" -c copy full.mpeg- Mpg2Cut2: Usually works, but sometimes, the joined file won't open right in Corel VideoStudioPro
- AviDemux: Because it's much slower than Mpg2Cut2, tool of last resort but it worked when a file joined with Mpg2Cut2 wouldn't open in Corel
What do you guys use?
Thank you.
* eg. "Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s, Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 9100 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc"
+ Reply to Thread
Results 1 to 12 of 12
-
Last edited by yetanotherlogin; 31st Jan 2015 at 11:47.
-
-
The concat protocol of ffmpeg concatenates the files themselves. Try the concat demuxer which joins the streams.
Like this:
Code:ffmpeg -f concat -i mylist.txt -c copy output
Code:# this is a comment file '/path/to/file1' file '/path/to/file2' file '/path/to/file3'
"The greatest trick the Devil ever pulled was convincing the world he didn't exist." -
Thanks, but does this work for Windows?
AviDemux takes 30mn while Mpg2Cut2 takes 10mn. -
Give ProjectX a go - ugly interface but is very good. MPEGStreamclip might do it as well.
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
"ProjectX is a demultiplexing, editing and repairing tool for MPEG2, TS, DigitalTV Transport streams. Requires Java."
I hate Java
"MPEG Streamclip is a powerful free video converter, player, editor for Mac and Windows. […] Requires Quicktime MPEG2 Decoder or Quicktime Alternative 1.81."
I hate QuickTime
Hard to believe something as basic as joining two MPEG files is so hard-core. -
You can download a version of ProjectX that is a standard Windows executable without the need to have java installed as a free standing application on your computer.
http://www.watchersnet.de/Downloads/tabid/53/rrcid/2/rrscid/8/rreid/345/rrpid/0/rrepp/...0/Default.aspx
You can use it to append files and demux if you need to otherwise select To PS or TS. Simple and quite quick.
PS I agree with you about java and Quicktime but perhaps I'm a tad more pragmaticSONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
Or a portable version of projectx, https://www.videohelp.com/tools/ProjectX#download (under More downloads )
And I added watchersnet ProjectX versions.Last edited by Baldrick; 28th Jan 2015 at 02:36.
-
If you are using mpeg2 : copy /b file1.mpg+file2.mpg output.mpg
I've used that for 15 years+ with no problems (in a .bat file for simplicity).
Failing that virtualDubMod every time.
As mentioned above this just cats the files but it should work with mpeg2 if your reader handles
files in a standard manner. If it doesnt I'd look for different software to avoid issues down the line.
For years handbrake was creating non standard mkv files - I dont know if thats fixed now but
it does mean the net is full of files people who moved on may have "odd" problems with
in future. -
Thanks. Much as I hate Java-based applications, I gave ProjectX a try, but couldn't figure out how to join a few MPEG files.
Since there's no documentation on their site, I went ahead without knowing what I'm doing:- Added files in empty grid at bottom
- Selected all files
- Right-clicked on the selected files, chose "new Output as", and gave a name for the joined file, not knowing if ProjectX would save it in the same directory as the other files
- In the left hand-side of the main windows, clicked on "Quick Start": The app went to work, saying "Demuxing…"
After a few minutes, I'm left with two new files: An ac3 file (audio stream, I guess) and an m2v file (video stream?). Sigh.
Moved on to try the "copy /b" trick above: Seems to work, although I'd like it if Windows/DOS would show some progress bar to be positive it's not stuck.
Thank you. -
Go to File and select ADD then select 1st file and then press Ctrl and select 2nd file
At the bottom of the page there are 3 tabs FileTable - CutControl - FilterControl
Select CutControl and you will see the 2 files on the time line (this is where you can edit if you wish) with a small white bar where one file ends and the 2nd starts.
Next go to Prepare NOT Quickstart
Select at the top To TS if you don't want to Demux a TS file or select M2P for making or joining existing mpeg files
or 1:1 Binary copy
Press the Green triangle on it's side Process
In your example M2P would be the better option - depending on your file player you may have to change the suffix from M2P to MPG
Voila!Last edited by netmask56; 31st Jan 2015 at 21:13. Reason: elaboration
SONY 75" Full array 200Hz LED TV, Yamaha A1070 amp, Zidoo UHD3000, BeyonWiz PVR V2 (Enigma2 clone), Chromecast, Windows 11 Professional, QNAP NAS TS851 -
Thanks. I'll give it a try the next time Corel VS has trouble importing a joined MPEG file.