3g2 video files in Gxine displays good video but no sound.
- jackieflorida
- Posts: 118
- Joined: Wed 28 May 2008, 17:16
- Location: MIAMI
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.
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.
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
You need the uncommon AMR audio codec. Use this version of MPlayer-1.0rc2
http://www.murga-linux.com/puppy/viewtopic.php?t=26511
http://www.murga-linux.com/puppy/viewtopic.php?t=26511
- jackieflorida
- Posts: 118
- Joined: Wed 28 May 2008, 17:16
- Location: MIAMI
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/Programm ... -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.
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/Programm ... -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.
- jackieflorida
- Posts: 118
- Joined: Wed 28 May 2008, 17:16
- Location: MIAMI
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. ... 3g2Samples
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.
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. ... 3g2Samples
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.
- jackieflorida
- Posts: 118
- Joined: Wed 28 May 2008, 17:16
- Location: MIAMI
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.
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.
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.
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
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
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.
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.
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
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.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.
[url]https://bkhome.org/news/[/url]
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
If you have not done so already, for comprehensive encoder/decoder support I suggest these extra libraries to compile against:BarryK wrote:I am just about to do a recompile of ffmpeg in Quirky, with the latest of everything.
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.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.
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.
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
Just a quick note to let you know, Dpup484beta1 released today(in about 30 minutes) has latest FFmpeg with 3g2 and 3gp, as well as xvid, x264, lame and all the GPL codecs. FFPlay in Dpup, can handle just about anything thrown at it.
Cheers
Cheers
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
- gposil
- Posts: 1300
- Joined: Mon 06 Apr 2009, 10:00
- Location: Stanthorpe (The Granite Belt), QLD, Australia
- Contact:
Hello Barry,
Yes, I tested with the files pointed to by jackieflorida and they play perfectly in Dpup. The difference maybe that Dpup uses FFplay for most movie formats..Dpup doesn't have Gxine or libxine libs...
BTW...as an aside, ffplay also plays just about all known audio format files, with a nice screen visualization as standard...
Yes, I tested with the files pointed to by jackieflorida and they play perfectly in Dpup. The difference maybe that Dpup uses FFplay for most movie formats..Dpup doesn't have Gxine or libxine libs...
BTW...as an aside, ffplay also plays just about all known audio format files, with a nice screen visualization as standard...
[img]http://gposil.netne.net/images/tlp80.gif[/img] [url=http://www.dpup.org][b]Dpup Home[/b][/url]
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
I understood that Xine used its own internal libraries (xine-lib) based on ffmpeg? I wasn't aware that Xine could access the ffmpeg libraries exterally?BarryK wrote:I still get video without sound for the 3g2 files (playing with Gxine).
But as a test of ffmpeg's ability to play AMR-encoded audio content, it's somewhat indirect to attempt to playback via Xine.
A more direct test would be with the ffmpeg application, itself.
First I would see if ffmpeg can identify the content of the jackieflorida's .3g2 test file
Code: Select all
ffmpeg -i motorcycle.3g2
Code: Select all
ffmpeg -i motorcycle.3g2 -acodec pcm_u16 -f wav my-decompress-test.wav
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
I have video but no sound on 2.14X, I ran gxine from the terminal and this is the output
#gxine --verbose
engine: > executing 'play ();'...
engine: < result: false
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
xine: found demuxer plugin: Apple Quicktime (MOV) and MPEG-4 demux plugin
ffmpeg_video_dec: direct rendering enabled
ffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow.
ffmpeg_audio_dec: couldn't find ffmpeg decoder for buf type 0x33F0000
audio_decoder: no plugin available to handle 'AMR narrow band'
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
demux_dts: unsupported DTS stream type, or not a DTS stream
xine: found demuxer plugin: Elementary MPEG stream demux plugin
so it looks like ffmpeg needs to be compiled with AMR
ttuuxxx
#gxine --verbose
engine: > executing 'play ();'...
engine: < result: false
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
xine: found demuxer plugin: Apple Quicktime (MOV) and MPEG-4 demux plugin
ffmpeg_video_dec: direct rendering enabled
ffmpeg_audio_dec: increasing buffer to 98304 to avoid overflow.
ffmpeg_audio_dec: couldn't find ffmpeg decoder for buf type 0x33F0000
audio_decoder: no plugin available to handle 'AMR narrow band'
xine: found input plugin : file input plugin
ebml: invalid EBML ID size (0x0) at position 1
ebml: invalid master element
demux_dts: unsupported DTS stream type, or not a DTS stream
xine: found demuxer plugin: Elementary MPEG stream demux plugin
so it looks like ffmpeg needs to be compiled with AMR
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)