| Author |
Message |
jackieflorida

Joined: 28 May 2008 Posts: 122 Location: MIAMI
|
Posted: Tue 22 Dec 2009, 23:59 Post subject:
3g2 video files in Gxine displays good video but no sound. |
|
My cellphone and digital camera both record videos in 3g2 format. I would like to play them directly in Puppy 4.x. Gxine displays good video but no sound. In Windows, Quicktime works for this.
Since this is a common video format, I am hoping that someone has figured out how to play them with sound in Puppy. It's a drag to convert say a 40mb 3g2 file online to a wmv or wav file. I would just like to play it directly as in the phone or camera.
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Wed 23 Dec 2009, 01:29 Post subject:
|
|
You need the uncommon AMR audio codec. Use this version of MPlayer-1.0rc2
http://www.murga-linux.com/puppy/viewtopic.php?t=26511
|
|
Back to top
|
|
 |
jackieflorida

Joined: 28 May 2008 Posts: 122 Location: MIAMI
|
Posted: Mon 28 Dec 2009, 19:21 Post subject:
|
|
Thanks tempestuous.
This version of mplayer with library files works very nicely, both video and audio.
I set Run Action in the Shell Command Line as: mplayer "$@"
Now all of my 3g2 and 3gp files open with a mouse click in mplayer.
In Windows, as mentioned above, Quicktime plays these and .mov files that I have from another digicam.
I did find Quicktime4Linux here:
http://linux.softpedia.com/get/Programming/Libraries/Quicktime-for-Linux-257.shtml
I'm wondering if this could be made into a PET and/or an SFS? I would like to try it in Puppy, but I don't know well enough how to make it.
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Tue 29 Dec 2009, 22:12 Post subject:
|
|
Do you have a URL of a small 3g2 file that I can download and play with?
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
jackieflorida

Joined: 28 May 2008 Posts: 122 Location: MIAMI
|
Posted: Wed 30 Dec 2009, 12:51 Post subject:
|
|
Re BarryK request:
I have uploaded three .3g2 and one .mov videos as samples:
3g2 videos taken on an LG DARE cell phone at 640X480 and 8khz
1. motorcycle.3g2: 681K 5sec motorcycle sound
2. PrinceRings.3g2: 5923K 40sec dog voice sound
3. WaltzAcrossTX.3g2: 34M 3min49sec Kentuckers Blue Grass Band sound
MOV video taken on a Panasonic Lumix digicam at 320X240 and 8khz
4. movieSet.MOV: 2522 K 15sec general background noise
Folder here: http://www.myotherdrive.com/dyn/ls/575.321209.30122009.90590.6a65dy/PuppyLinux3g2Samples
When run in Gxine the properties are shown on the main screen, but at this point for me there is no sound for the 3g2's but good video. I would prefer to add the codec for the sound but at this point I don't know how to do that.
For me, Mplayer locks up when run from the Menu, but works fine via Console. That is why I used the shell command in the Set Run Action above. The sound is only 8khz so the music quality is not good but kind of OK for voice and general sounds.
The 3g2 and 3gp formats are common on cell phones and both play in Mplayer from Console.
The .MOV files are typically run via Quicktime in Windows. Rendering in Gxine is halting video but good sound. In Mplayer both video and sound is good. I would also like to be able to configure Gxine for the proper playing of this type of video too.
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Wed 30 Dec 2009, 14:34 Post subject:
|
|
the 3gp's have sound and vision in vlc 0.8.6c
mike
|
|
Back to top
|
|
 |
jackieflorida

Joined: 28 May 2008 Posts: 122 Location: MIAMI
|
Posted: Wed 30 Dec 2009, 15:11 Post subject:
|
|
Using:
VLC media player 0.8.6h Janus (wxWidgets interface)
(c) 1996-2008 - the VideoLAN Team
Compiled by root@localhost.unknown.
Compiler: gcc version 4.2.2.
Based on SVN revision: exported.
I get good video but no sound for .3g2.
I get both good video and sound for .mov.
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4349 Location: merriam, kansas
|
Posted: Wed 30 Dec 2009, 15:47 Post subject:
|
|
In my 4.3.1 install on laptop I have Mplayer 1rc2-puppy412
installed.
Plays the 3g2 and mov. files (sound and video) very well.
http://dotpups.de/puppy4/dotpups/Multimedia/
Have a mplayer icon on desktop and just drag file from
root to icon.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Wed 30 Dec 2009, 17:26 Post subject:
|
|
vlc 0.8.6f uses the shared avcodec like xine...0.8.6c it is compiled statically ...IIRC mplayer is too....so the common factor seems to be the included libavcodec...perhaps it was compiled without 3gp support to save space?
mike
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Wed 30 Dec 2009, 20:58 Post subject:
|
|
Testing in Quirky, which has xine, and ffmpeg compiled recently in T2, I get video and sound for movieSet.MOV, but for the .3g2 files I get video but no sound.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Wed 30 Dec 2009, 21:06 Post subject:
|
|
The reason my MPlayer package plays 3gp audio is that I compiled it against a separate library: libamr. This library is proprietary.
There's now an opensource decoder for the AMR codec, available since June 2009 -
http://sourceforge.net/projects/opencore-amr/
I'm not sure if MPlayer/Xine/VLC can be compiled against this new library.
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Wed 30 Dec 2009, 21:24 Post subject:
|
|
From the media info...and I don't have the external libamr either and -vvv gave me no clues either..
mikr
| Description |
|
| Filesize |
30.92 KB |
| Viewed |
1274 Time(s) |

|
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6855 Location: Perth, Western Australia
|
Posted: Thu 31 Dec 2009, 02:06 Post subject:
|
|
| tempestuous wrote: | The reason my MPlayer package plays 3gp audio is that I compiled it against a separate library: libamr. This library is proprietary.
There's now an opensource decoder for the AMR codec, available since June 2009 -
http://sourceforge.net/projects/opencore-amr/
I'm not sure if MPlayer/Xine/VLC can be compiled against this new library. |
ffmpeg from svn now uses the open-source amr codec. The file is 'opencore-amr-0.1.2.tar.gz'. I am just about to do a recompile of ffmpeg in Quirky, with the latest of everything.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4944 Location: Australia
|
Posted: Thu 31 Dec 2009, 06:18 Post subject:
|
|
| BarryK wrote: | | I am just about to do a recompile of ffmpeg in Quirky, with the latest of everything. |
If you have not done so already, for comprehensive encoder/decoder support I suggest these extra libraries to compile against:
LAME
http://lame.sourceforge.net/
FAAD2 & FAAC
http://www.audiocoding.com/downloads.html
Xvid
http://www.xvid.org/Downloads.43.0.html
x264
http://www.videolan.org/developers/x264.html
And enable the newly available RealVideo 3.0 support.
|
|
Back to top
|
|
 |
mikeb

Joined: 23 Nov 2006 Posts: 4378
|
Posted: Thu 31 Dec 2009, 10:08 Post subject:
|
|
| Quote: | LAME
http://lame.sourceforge.net/
FAAD2 & FAAC
http://www.audiocoding.com/downloads.html
Xvid
http://www.xvid.org/Downloads.43.0.html
x264
http://www.videolan.org/developers/x264.html
And enable the newly available RealVideo 3.0 support. |
hmm only thing is many other programs use these shared libraries so bundling them in avcodec may be self defeating.
If real video was included would that be available to any player that already uses avcodec since players simply look for decoding ability from its available codecs using the 4cc reference.?..if so how would that work with a player compiled for a particular version of avcodec...eg could the current one used by puppy have this codec added and still work with the current gxine.
regards
mike
ps my vlc was from slack.eu about 2/3 years ago...perhaps they included a beta of the opensource amr codec.
|
|
Back to top
|
|
 |
|