Quantcast FFmpeg: Commandline Remuxer? - digitalFAQ.com Forums [Archives]
  #1  
09-19-2003, 03:06 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
I've done some encodings on ffmpeg which I want to burn as a non stadard vcd...
the problem is, that I dont want to demux and remux all my (>15) files manually...

Is there a tool which can be controlled by commandline (win or linux) and which is capable of demuxing and remuxing my mpegs?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
09-19-2003, 06:04 PM
el_mozo el_mozo is offline
Free Member
 
Join Date: Sep 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Get mpgtx, to demux the files. And transcode for the tcmplex command for multiplexing.

To demux a file, do "mpgtx -d file.mpg" and it will demultiplex the mpeg file and create the files chunk-0.m1v and chunk-0.mp2

To multiplex, do "tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o outputfile.mpg

So I would do a bash command line like this (to multiplex all mpg files in the same folder):
Code:
for FILE in `ls *mpg` ; do rm chunk* ; mpgtx -d $FILE ; tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o New-$FILE ; done
Cheers
Reply With Quote
  #3  
09-20-2003, 03:28 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
nice

Now I just have to figure out how apt-get works and I am happy... guess I'll post in the Linux section or do a google search
Reply With Quote
  #4  
09-20-2003, 09:09 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Razorblade2000

Now I just have to figure out how apt-get works and I am happy... guess I'll post in the Linux section or do a google search
http://www.debian.org/doc/manuals/ap.../index.en.html

-kwag
Reply With Quote
  #5  
09-20-2003, 12:27 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
thx 4 the link... already got that from google
My only problem is, that I need a sources.list with loooooooots of entries...
or i do it the oldfashioned cvs->compile->run way
Reply With Quote
  #6  
09-26-2003, 01:53 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Hello:

Once again I have a question, only because I do not want to ruin what I so far have in Linux. Question:
Is
Quote:
# apt-get install {name of japie's file}
the proper command to install japie's file? I will read more about apt-get
but it never hurts to ask.

Thanks

Totonho03
Reply With Quote
  #7  
09-26-2003, 02:18 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Update:

When running the apt-get on root, I receive the following:
Quote:
oot@ttyp1[knoppix]# apt-get install ffmpeg-0.4.7.tar.gz
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
root@ttyp1[knoppix]#
Thanks

Otto
Reply With Quote
  #8  
09-26-2003, 03:03 PM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
apt-get only connects to servers into the apt-get list file (don't know which one it was...) and searches for a matching filename (which you probably wont find for ffmpeg)

another solution could be to become superuser... (type "su")

*camejustbackfrompragueandiamtoodrunktowritemore*
Reply With Quote
  #9  
09-26-2003, 04:43 PM
totonho03 totonho03 is offline
Free Member
 
Join Date: Apr 2003
Location: Fallston, MD. USA
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you razorblade.
I am glad that you had a good time in Prague. Perhaps I should follow your steps
Quote:
camejustbackfrompragueandiamtoodrunktowritemore*
and skiping Prague, have some, no not some, lots of Pisco sours and a couple of beers- Pilsen Callao-, the best beer in my hometown (Well there is only one beer in the town I was born. )

Have a good rest

Otto
Reply With Quote
  #10  
09-27-2003, 01:41 PM
japie japie is offline
Free Member
 
Join Date: Jul 2003
Posts: 106
Thanks: 0
Thanked 0 Times in 0 Posts
aptget "myfile" isn't gonna work
My file is nearly a shellscript wich makes use of other programs.
You need mplayer and the mjpegtoolspackage, so aptget mplayer would be more apropiate, but most likely mplayer is already installed, you only need the mjpegtoolspackage.
Download the mkxvcd-version.tar.gz into your homedir, open a shell and do tar -xvzf mkxvcd-version.tar.gz and you end up with a directory with that name containing the script (and some other files to read). So do cd mkxvcd-version, make yourself superuser with su and copy the script to a logical place like /usr/bin or /usr/local/bin with cp mkxvcd.sh /usr/bin
Then you can go back to normal user with exit and cd back to your homedir.
Now start the script with mkxvcd.sh path/to/youfile.avi and with a bit of luck you end up with a kvcd mpeg.
__________________
Groetjes Japie
Reply With Quote
  #11  
10-02-2003, 11:09 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
how should I mux:
1 m1v MPEG1 video file
2 mp2 audio files
--> 1 Pseudo Svcd thing

I did this using bbmpeg... (used the SVCD Profile)
Reply With Quote
  #12  
02-07-2004, 07:48 PM
vhelp vhelp is offline
Free Member
 
Join Date: Jan 2003
Posts: 1,009
Thanks: 0
Thanked 0 Times in 0 Posts
hay guys,

Sorry for waiking up an old post.. but, where can I get tcmplex for
windows. I got mplex (command-line) working fine, but in el_mozo's
response back w/ instructions, he/she mentioned the following:

Quote:
Get mpgtx, to demux the files. And transcode for the tcmplex command for multiplexing.

To demux a file, do "mpgtx -d file.mpg" and it will demultiplex the mpeg file and create the files chunk-0.m1v and chunk-0.mp2

To multiplex, do "tcmplex -i chunk-0.m1v -p chunk-0.mp2 -o outputfile.mpg

So I would do a bash command line like this (to multiplex all mpg files in the same folder):
..so I can Multiplex back !!

Thanks for any help,
vhelp
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG: Do ffvfw and mencoder/ffmpeg give the same results? Razorblade2000 Video Encoding and Conversion 4 02-06-2004 04:23 PM
FFMPEG: FFMPEG status on MPEG-2 encoding bilu Video Encoding and Conversion 3 01-31-2004 06:18 AM
FFMPEG: Ffmpeg and inter/intra matrices vidar Video Encoding and Conversion 4 10-31-2003 08:48 PM
FFMPEG: Encoding Audio: toolame,mp2enc or ffmpeg Razorblade2000 Video Encoding and Conversion 0 10-18-2003 03:04 PM
FFMPEG: Letterboxing with ffmpeg (aspect ratio) el_mozo Video Encoding and Conversion 16 10-14-2003 03:53 PM

Thread Tools



 
All times are GMT -5. The time now is 05:04 AM  —  vBulletin © Jelsoft Enterprises Ltd