Can Play m4v Video, but cannot hear audio Ubuntu 8.10

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby kkevin6154 » Fri Feb 06, 2009 5:55 am

Any help would be greatly appreciated. I'm very new to linux. Tried this software out on my macbook pro and it worked flawlessly. Thanks. Ubuntu 8.10 AMD Athlon 64 X2 2.5Ghz 8gb RAM.

java.io.IOException: Cannot run program "ffmpeg": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:474)
at java.lang.Runtime.exec(Runtime.java:610)
at java.lang.Runtime.exec(Runtime.java:483)
at net.pms.PMS.checkProcessExistence(PMS.java:202)
at net.pms.PMS.init(PMS.java:304)
at net.pms.PMS.get(PMS.java:867)
at net.pms.PMS.main(PMS.java:927)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:467)
... 6 more
[main] 23:48:40.527 Cannot launch FFmpeg / Check the presence of /home/kevin/Desktop/test3/pms-linux-1.03/ffmpeg ...: Cannot run program "ffmpeg": java.io.IOException: error=2, No such file or directory
kkevin6154
 
Posts: 4
Joined: Fri Feb 06, 2009 5:51 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby vmlinuz » Fri Feb 06, 2009 8:34 am

You shoud install ffmpeg.
Code: Select all
sudo apt-get install ffmpeg


or try use svn ffmpeg repository to compil and install last one.
CPU Intel Q9550 & RAM 4GB Lan : <100Mb/s wired> Router <100Mb/s> <CPL 200Mb/s @ 160Mb/s >=< 100Mb/s> PS3
old config til Feb 22th : Athlon x64 4200+ oc@2.6Gh RAM 4Gb
vmlinuz
 
Posts: 35
Joined: Mon Jan 19, 2009 10:25 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby kkevin6154 » Fri Feb 06, 2009 3:23 pm

vmlinuz wrote:You shoud install ffmpeg.
Code: Select all
sudo apt-get install ffmpeg


or try use svn ffmpeg repository to compil and install last one.



Ok. So I no longer get that error in PS3 media server, but still have no audio. Only video. Should I still try svn? All the videos I have were converted to ffmpeg and AC3 passthru. Any thoughts? These videos all worked great on my mac using PS3 media server.
kkevin6154
 
Posts: 4
Joined: Fri Feb 06, 2009 5:51 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby vmlinuz » Fri Feb 06, 2009 3:46 pm

Did you install mencoder and mplayer, or just use tsmuxer ?
CPU Intel Q9550 & RAM 4GB Lan : <100Mb/s wired> Router <100Mb/s> <CPL 200Mb/s @ 160Mb/s >=< 100Mb/s> PS3
old config til Feb 22th : Athlon x64 4200+ oc@2.6Gh RAM 4Gb
vmlinuz
 
Posts: 35
Joined: Mon Jan 19, 2009 10:25 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby kkevin6154 » Fri Feb 06, 2009 3:57 pm

vmlinuz wrote:Did you install mencoder and mplayer, or just use tsmuxer ?



Not sure. (a lot of late nights) I'll double check that on monday. Out of town the rest of the weekend. Thanks again for your help. I'll reply again monday evening.
kkevin6154
 
Posts: 4
Joined: Fri Feb 06, 2009 5:51 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby the_stalli0n » Mon Feb 09, 2009 12:41 am

Hey everyone -- I'm also having problems with streaming video using Ubuntu. My system specs are: Dell PC w/ 2.4ghz dual core, running Ubuntu 8.10, using hardwired ethernet connection through a linksys router for both the PS3 and the PC.

FFMpeg, VLC and Mplayer are all installed, and don't seem to have had any real problems in the past. Also, I HAVE been able to play some of the streaming audio stations (dont remember which ones), but I dont know if that matter or not.


Here's some of the debug.log:

-------------------------------------------------------------------------------------------------------------------------------------------
[Thread-368] DEBUG 18:32:50.347 Opened handler on socket Socket[addr=/10.0.0.103,port=50989,localport=5001]
[Thread-368] DEBUG 18:32:50.347 Received on socket: GET /get/0$2$8$0$8/TEDTalks+%3A+Earth%27s+mass+extinctions+-+Peter+Ward+%282008%29 HTTP/1.1
[Thread-368] DEBUG 18:32:50.347 Received on socket: Host: 10.0.0.101:5001
[Thread-368] DEBUG 18:32:50.347 Received on socket: User-Agent: PLAYSTATION 3
[Thread-368] DEBUG 18:32:50.357 Received on socket: Connection: Keep-Alive
[Thread-368] DEBUG 18:32:50.357 Received on socket: Accept-Encoding: identity
[Thread-368] DEBUG 18:32:50.357 Received on socket: transferMode.dlna.org: Streaming
[Thread-368] DEBUG 18:32:50.357 Received on socket: Range: bytes=0-
[Thread-368] INFO 18:32:50.357 HTTP: get/0$2$8$0$8/TEDTalks+%3A+Earth%27s+mass+extinctions+-+Peter+Ward+%282008%29 / 0-100000000000
[Thread-368] DEBUG 18:32:50.357 Wrote on socket: HTTP/1.1 206 Partial Content
[Thread-368] DEBUG 18:32:50.357 Searching for objectId: 0$2$8$0$8 with children option: false
[Thread-368] DEBUG 18:32:50.358 Asked stream chunk [0-100000000000] timeseek: -1.0 of TEDTalks : Earth's mass extinctions - Peter Ward (2008) and player VideoLan Video Streaming
[Thread-368] TRACE 18:32:50.358 Starting transcode/remux of TEDTalks : Earth's mass extinctions - Peter Ward (2008)
[mkfifo] INFO 18:32:50.358 Starting mkfifo --mode=777 /tmp/javaps3media/VLC1234135970358
[vlc] INFO 18:32:50.509 Starting vlc -I dummy http://video.ted.com/talks/podcast/PeterWard_2008.mp4 --sout #transcode{vcodec=mp2v,vb=4096,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="/tmp/javaps3media/VLC1234135970358"}}
[vlc] INFO 18:32:50.513 Reading pipe: /tmp/javaps3media/VLC1234135970358
[vlc] DEBUG 18:32:50.514 Opening file /tmp/javaps3media/VLC1234135970358 for reading...
[vlc] INFO 18:32:50.859 Attaching thread: vlc
[Timer-4] DEBUG 18:32:50.859 Buffered Space: 0 bytes
[Thread-371] DEBUG 18:32:50.859 VLC media player 0.8.6e Janus
[Thread-371] DEBUG 18:32:50.859 [00000290] dummy interface: using the dummy interface module...
[Thread-371] DEBUG 18:32:51.529 [00000344] ffmpeg encoder error: cannot find encoder MPEG Audio layer 1/2/3
[Thread-371] DEBUG 18:32:51.529 [00000302] stream_out_transcode private error: cannot find encoder ((null))
[Thread-371] DEBUG 18:32:51.529 [00000302] stream_out_transcode private error: cannot create audio chain
[Thread-371] DEBUG 18:32:51.529 [00000318] main packetizer error: cannot create packetizer output (mp4a)
[Timer-4] DEBUG 18:32:51.859 Buffered Space: 385024 bytes
[Timer-4] DEBUG 18:32:52.859 Buffered Space: 2368988 bytes
[Timer-4] DEBUG 18:32:53.859 Buffered Space: 3877688 bytes
-------------------------------------------------------------------------------------------------------------------------------------------

So, it looks like i've got some problems with FFMpeg and/or VLC, or something. From what I can gather, I dont think that FFMpeg was compiled with all of the appropriate options installed. Does anyone know how I can fix it? I'm sure that I just installed it from a .Deb or via apt-get, but I could configure/make it myself. Does anyone know what options to use with configure?

...BTW, someone somewhere was trying to play videos from the TED Talks; I used the following line in my web.conf and it worked great for me, except for the audio not working:

#
videofeed.Web,TED=http://www.ted.com/talks/rss
#
the_stalli0n
 
Posts: 31
Joined: Thu Feb 05, 2009 8:35 am

Re: Can Play m4v Video, but cannot hear audio Ubuntu 8.10

Postby kkevin6154 » Mon Feb 09, 2009 4:01 am

vmlinuz wrote:Did you install mencoder and mplayer, or just use tsmuxer ?


Ok, So I have mplayer installed. It's saying I'm still missing an audio codec. The only player that plays the audio is VLC, and unfortunately that doesn't help me in regards to the PS3 media server software. As far as I can tell, I have all three of the things mentioned above installed.
kkevin6154
 
Posts: 4
Joined: Fri Feb 06, 2009 5:51 am


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 6 guests