Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 25 Oct 2014, 14:43
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
3g2 video files in Gxine displays good video but no sound.
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Author Message
jackieflorida


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: 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
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: 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
View user's profile Send_private_message 
jackieflorida


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: 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
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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/news/
Back to top
View user's profile Send_private_message Visit_website 
jackieflorida


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: 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
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: Wed 30 Dec 2009, 14:34    Post_subject:  

the 3gp's have sound and vision in vlc 0.8.6c
mike
Back to top
View user's profile Send_private_message 
jackieflorida


Joined: 28 May 2008
Posts: 122
Location: MIAMI

PostPosted: 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
View user's profile Send_private_message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: 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.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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/news/
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: 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
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
vid.png
 Description   
 Filesize   30.92 KB
 Viewed   1431 Time(s)

vid.png

Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: 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/news/
Back to top
View user's profile Send_private_message Visit_website 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: 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
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8367

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 2 Posts_count   Goto page: 1, 2 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0763s ][ Queries: 12 (0.0039s) ][ GZIP on ]