how to use mod_mp4
has anyone used mod_mp4 to play a video. if i use play_mp4 it says invalid application play_mp4. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
***Disclaimer: I've never used this module... I think the module isn't loaded. Check if /usr/local/freeswitch/mod/mod_mp4* is in installed. Also make sure it's loaded in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml. If so, then check the trace in /usr/local/freeswitch/log/ to see why it didn't load. If it's not installed, then install it: 1. Edit modules.conf and add applications/mod_mp4 to it. 2. make 3. make install 4. Edit conf/autoload_configs/modules.conf.xml and add this line: <load module="mod_mp4"/> On Fri, May 27, 2011 at 4:47 AM, pooja <pooja27taneja@gmail.com> wrote:
has anyone used mod_mp4 to play a video. if i use play_mp4 it says invalid application play_mp4.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I did as you said. now it doesnt say invalid application play_mp4. but instead gives an error : [ERR] mod_mp4.cpp:505 snookerpup_fhnom3b7.mp4:Missing audio/video track. but the mp4 file is there in the location. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
That's all the help I can give. I have no experience using mod_mp4. On May 27, 2011, at 14:28, pooja <pooja27taneja@gmail.com> wrote:
I did as you said. now it doesnt say invalid application play_mp4. but instead gives an error : [ERR] mod_mp4.cpp:505 snookerpup_fhnom3b7.mp4:Missing audio/video track.
but the mp4 file is there in the location.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
okk.. can anyone else please help..?? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
Try playing your mp4 in a player. There seems to be something wrong with it... or try another one -- follow the error message :-) On Tue, May 31, 2011 at 2:23 PM, pooja <pooja27taneja@gmail.com> wrote:
okk.. can anyone else please help..??
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sidharth Kshatriya www.sidk.info
2011/5/31 Sidharth Kshatriya <sid.kshatriya@gmail.com>:
Try playing your mp4 in a player. There seems to be something wrong with it... or try another one -- follow the error message :-)
Hello, I'm expecting that problem too. Tried a lot of videos, but all of them can't be played successfully... Player plays these files as expected. Can anyone share a "normal" test file? :)
Chris Rienzo wrote:
If it's not installed, then install it: 1. Edit modules.conf and add applications/mod_mp4 to it. I took a look at the build/modules.conf.in file on my local FS git repository (43a5af7df6089a258e7c2a143c2982ec0f8accbb) and did not find any mention of mod_mp4. As such, the compilation generated the module.conf file which has no mention of mod_mp4 in it. Does that mean one needs to manually edit and add applications/mod_mp4 to the build/modules.conf.in file in order to compile mod_mp4?
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
bootstrap.sh will generate modules.conf from modules.conf.in At that point it contains the default modules to be built. You can then customise the modules.conf file to add your own module choices or remove some of the default ones. -Steve On 31 May 2011 12:27, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Chris Rienzo wrote:
If it's not installed, then install it: 1. Edit modules.conf and add applications/mod_mp4 to it. I took a look at the build/modules.conf.in file on my local FS git repository (43a5af7df6089a258e7c2a143c2982ec0f8accbb) and did not find any mention of mod_mp4. As such, the compilation generated the module.conf file which has no mention of mod_mp4 in it. Does that mean one needs to manually edit and add applications/mod_mp4 to the build/modules.conf.in file in order to compile mod_mp4?
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
bootstrap.sh will generate modules.conf from modules.conf.in
I just don't see bootstrap.sh will create modules.conf from build/modules.conf.in to contain applications/mod_mp4 if build/modules.conf.in doesn't have applications/mod_mp4 in it. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
Steven, Do you know what library package is needed to compile applications/mod_mp4? ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
I only heard of the module today, but let's take a look... src/mod/applications/mod_mp4/Makefile contains: LOCAL_LDFLAGS=-lmp4v2 So it's trying to use the mp4v2 library, probably packaged as libmp4v2-dev or libmp4v2-devel, or something similar It's website is http://resare.com/libmp4v2/ if your distribution doesn't have a package. -Steve On 31 May 2011 17:20, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven,
Do you know what library package is needed to compile applications/mod_mp4?
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
I only heard of the module today, but let's take a look...
src/mod/applications/mod_mp4/Makefile contains: LOCAL_LDFLAGS=-lmp4v2
So it's trying to use the mp4v2 library, probably packaged as libmp4v2-dev or libmp4v2-devel, or something similar
It's website is http://resare.com/libmp4v2/ if your distribution doesn't have a package.
Steve, thank you. Apparently, the development of libmp4v2 stopped @ v1.6.1 back in 2007. Hopefully, the new http://code.google.com/p/mp4v2 mp4v2 will work just fine. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
Should do, it's the same library. :) Much better website you found there - I just pulled the first one I saw out of Google. -Steve On 1 June 2011 12:17, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven Ayre wrote:
I only heard of the module today, but let's take a look...
src/mod/applications/mod_mp4/Makefile contains: LOCAL_LDFLAGS=-lmp4v2
So it's trying to use the mp4v2 library, probably packaged as
libmp4v2-dev
or libmp4v2-devel, or something similar
It's website is http://resare.com/libmp4v2/ if your distribution doesn't have a package. Steve, thank you.
Apparently, the development of libmp4v2 stopped @ v1.6.1 back in 2007. Hopefully, the new http://code.google.com/p/mp4v2 mp4v2 will work just fine.
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
Should do, it's the same library. :)
I would think so. However, upon a closer look on both http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2 MP4v2 and http://libmp4.svn.sourceforge.net/viewvc/libmp4/trunk/libmp4/ libmp4 source, it appears MP4v2 uses some different header file names to produce libmp4v2.so library while libmp4 produces libmp4_static.a library. Perhaps, those who compiled mod_mp4 on a Linux machine already has libmp4 patched to produce libmp4v2.so library. ----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
Uh, where did you get that 2nd link from? That looks like it might be an older version of the library, libmp4 rather than libmp4v2. libmp4v2 is the dependancy for mod_mp4, not libmp4 -Steve On 2 June 2011 15:39, mazilo <Nabble@slickdeals.endjunk.com> wrote:
Steven Ayre wrote:
Should do, it's the same library. :)
I would think so. However, upon a closer look on both http://mp4v2.googlecode.com/files/mp4v2-1.9.1.tar.bz2 MP4v2 and http://libmp4.svn.sourceforge.net/viewvc/libmp4/trunk/libmp4/ libmp4 source, it appears MP4v2 uses some different header file names to produce libmp4v2.so library while libmp4 produces libmp4_static.a library. Perhaps, those who compiled mod_mp4 on a Linux machine already has libmp4 patched to produce libmp4v2.so library.
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Steven Ayre wrote:
Uh, where did you get that 2nd link from? From a Google search for libmp4.
That looks like it might be an older version of the library, libmp4 rather
than libmp4v2. Indeed. Thanks for clarifying this.
----- FreeSWITCH hosted on a Seagate DockStar with OpenWRT and ONLY consumes 3 Watts of electricity. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/how-to-use-mod-mp4-tp6410226p6... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (7)
-
Alexey E. Kashaev
-
Chris Rienzo
-
Christopher Rienzo
-
mazilo
-
pooja
-
Sidharth Kshatriya
-
Steven Ayre