Re: Using vlc to Transcode mpeg2 File to mp4
jddwrites: > I tried to answer from my android phone, but I don't see my message, > forgive me if this is a duplicate (I'm now at home) > > > the best mp4 converter is handbrake and it have GUI and CLI First, thanks to all who responded. I did receive a reply from jdd . It was addressed to me but did not appear to CC to the list which is probably why you didn't see it. After doing some more digging, I did find out about handbreak, both the GUI and CLI versions and have installed them. I also ran across a script that somebody wrote which uses handbrakecli to do precisely what I needed to do. By late last night, the sleep monster got to me and it is now a new day. Unless something totally unexpected happens, handbreakcli will be the tool of choice. Thanks to all. Martin
Re: Using vlc to Transcode mpeg2 File to mp4
Le 10/02/2016 14:32, Martin McCormick a écrit : Unless something totally unexpected happens, handbreakcli will be the tool of choice. this script is the one I use, and it's able to produce html5/mp4 good quality video, readable approximately with every browser (not always with firefox) #!/bin/bash # echo usage: movtomp4-html5.sh *.MOV mkdir html5 for a ; do b=`echo "$a" | cut -d'.' -f1` ; #(on only one line:) HandBrakeCLI -i "$a" -t 1 --angle 1 -c 1 -o "html5/$b.mp4" -f mp4 -O -w 960 --crop 0:0:0:0 --loose-anamorphic --modulus 2 -e x264 -q 22 -r 30 --pfr -a 1 -E av_aac -6 dpl2 -R Auto -B 160 -D 0 --gain 0 --audio-fallback ac3 --encoder-level="3.1" --encoder-profile=high --verbose=1 done exit
Re: Using vlc to Transcode mpeg2 File to mp4
Le 09/02/2016 23:34, Martin McCormick a écrit : I have been pounding my head against this wall for a couple of days. I tried to answer from my android phone, but I don't see my message, forgive me if this is a duplicate (I'm now at home) the best mp4 converter is handbrake and it have GUI and CLI jdd
Re: Using vlc to Transcode mpeg2 File to mp4
Why not try: http://mailman.videolan.org/listinfo/vlc On Tue, 9 Feb 2016, Martin McCormick wrote: Date: Tue, 9 Feb 2016 17:34:14 From: Martin McCormickTo: debian-user@lists.debian.org Subject: Using vlc to Transcode mpeg2 File to mp4 Resent-Date: Wed, 10 Feb 2016 01:07:53 + (UTC) Resent-From: debian-user@lists.debian.org I have been pounding my head against this wall for a couple of days. The mpeg2 streams come from a HDHomerun_prime box which produces DLNA streams. I am trying to convert them using vlc to mp4 files to play on an AppleTV and I just haven't got anything to work yet except that my shell script does run but the file it produces is garbage and neither vlc nor mplayer will play it so I am still doing something wrong. There is a vlc forum but I have not been successful in registering to post. Here is what the script looks like right now. In vlc, the demux module does have some flags one can set or unset but the muxer looks to me like it really doesn't need much attention. If anybody has an example, I would greatly appreciate the information. Many thanks in advance. Here is the script that almost works: #!/bin/sh vlc --play-and-exit -I dummy \ --sout "#transcode{avcodec=ts}:std{access=file,mux=mux_mp4,dst=testfile.mp4}" ~/streamwork/ktul.ts ktul.ts is a stream I recorded from a cable channel we receive. vlc plays the .ts file. Martin McCormick --
Re: Using vlc to Transcode mpeg2 File to mp4
On Tue, Feb 09, 2016 at 04:34:14PM -0600, Martin McCormick wrote: > I have been pounding my head against this wall for a > couple of days. The mpeg2 streams come from a HDHomerun_prime box > which produces DLNA streams. I am trying to convert them using > vlc to mp4 files to play on an AppleTV and I just haven't got > anything to work yet except that my shell script does run but the > file it produces is garbage and neither vlc nor mplayer will play > it so I am still doing something wrong. Or you could try avconv or ffmpeg and do it on the command line. e.g. avconv -i inputfile output.mp4 The .mp4 suffix is sufficient to tell it you want mp4. -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X