Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  why no audio?
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: why no audio?  (Read 11108 times)

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: why no audio?
« Reply #15 on: January 09, 2007, 04:39:17 PM »
Quote from: fishlover900 on January 09, 2007, 01:53:56 PM
wheres the one not on wiki?

I can't make any sense out of this at all.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline mipodr

  • Member
  • *
  • Posts: 34
  • Ipod w/o rckbx s lik a guy w/ nutin clever to say.
Re: why no audio?
« Reply #16 on: January 09, 2007, 08:55:12 PM »
I think fishlover means to say the "attached one." VLC-transcode.txt file that you asked him to change to .bat . Which is "the one" not on the wiki.

Although I might be totally wrong...
Logged

Offline fishlover900

  • Member
  • *
  • Posts: 14
Re: why no audio?
« Reply #17 on: January 10, 2007, 04:36:49 AM »
ive changed the extention but when i drag a file on it a cmd open then closes straight after. Nothing happens to the video
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: why no audio?
« Reply #18 on: January 10, 2007, 02:33:42 PM »
The batch file doesn't work for me, I get this error:

access_output_file error: cannot open `' (No such file or directory)
stream_out_standard error: no suitable sout access module for `file/ps://(null)'
stream_out_transcode error: cannot create chain
main error: stream chain failed for `transcode{vcodec=mp2v,vb=600,width=176,height=128,acodec=mp3,ab=128,samplerate=44100}:std{access-video=file,mux=ps,c:\temp\1.mpg}'
main error: cannot start stream output instance, aborting

I've resetted my VLC settings, and I still get this error. If I do it manually, it works ???
Logged

Offline fishlover900

  • Member
  • *
  • Posts: 14
Re: why no audio?
« Reply #19 on: January 11, 2007, 04:24:34 AM »
what do you mean manually, what you writing and where. I dont mind doing it manally if it just works! ;)
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: why no audio?
« Reply #20 on: January 11, 2007, 09:48:45 AM »
I mean when I don't use the batch file, but set all the streaming options myself!
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: why no audio?
« Reply #21 on: January 11, 2007, 10:08:00 AM »
OK I fixed it, you need this in your batch file:

"c:\programs\vlc.exe" %1  --sout=#transcode{vcodec=mp2v,vb=600,width=176,height=128,acodec=mp3,ab=128,samplerate=44100}:std{access-video=file,mux=ps,url=%1.mpg}

You'll need to adjust the path to your VLC, the height and the width!
Logged

Offline fishlover900

  • Member
  • *
  • Posts: 14
Re: why no audio?
« Reply #22 on: January 11, 2007, 10:10:16 AM »
what options do you use, is there any chance of a step by step guide as when ive tried to do it manually the video comes out all jerky
Logged

Offline AndrewTheArt

  • Member
  • *
  • Posts: 8
Re: why no audio?
« Reply #23 on: January 14, 2007, 03:57:30 PM »
OK, as I understand it... The m2v format will NOT accept audio, therefore making the batch script on the mpgplayer useless for converting to a video+audio file. Therefore, a different container is necessary to house the audio+ vudeo

My NOT WORKING modded script contains...

Code: [Select]
@echo off

set WIDTH=320
set HEIGHT=240
 
"C:\Program Files\VideoLAN\VLC\vlc.exe" %1 --sout=#transcode{vcodec=mp2v,vb=600,width=%WIDTH%,height=%HEIGHT%,acodec=mp3,ab=128,samplerate=44100}:std{access-video=file,mux=ps,url=%1.mpg}

... as suggested by user "gnu" above.
However, this simply outputs an audio file, no video.  :(
« Last Edit: January 14, 2007, 04:01:13 PM by AndrewTheArt »
Logged

Offline AndrewTheArt

  • Member
  • *
  • Posts: 8
Re: why no audio?
« Reply #24 on: January 14, 2007, 04:41:38 PM »
SUCCESS!!!! Using gnu's awesome program (http://forums.rockbox.org/index.php?topic=8150), I was able to find the correct settings to go from mp4 to vid+audio mpg.

Code: [Select]
@echo off

"C:\Progra~1\VideoLAN\VLC\vlc.exe" %1 --sout=#transcode{vcodec=mp2v,vb=320,height=240,fps=25,acodec=mp3,ab=180,samplerate=44100}:std{access-video=file,mux=ps,url=%1.mpg}

Simply type that in a batch file to go from .mp4 to .mpg. This particular code is optimized for an iPod video.
« Last Edit: January 14, 2007, 04:46:02 PM by AndrewTheArt »
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: why no audio?
« Reply #25 on: January 15, 2007, 10:19:15 AM »
How many fps do you get when you play the video on your ipod?
Logged

Offline AndrewTheArt

  • Member
  • *
  • Posts: 8
Re: why no audio?
« Reply #26 on: January 15, 2007, 11:59:19 AM »
Horrible amount. I selected "Show FPS" but the slow FPS were screwing up the display of the number. My GUESS though is like 10-15 or less, probably much much less.
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: why no audio?
« Reply #27 on: January 16, 2007, 01:11:41 PM »
Have you got a nano? I've one and I have ~9-10 fps...
Logged

Offline AndrewTheArt

  • Member
  • *
  • Posts: 8
Re: why no audio?
« Reply #28 on: January 16, 2007, 08:51:46 PM »
I'm using an iPod video (but as you very well know, in terms of video power, essentially it's like a Nano, because the ipods video coprocessor is not used by RockBox currently).

So I don't even know if there would be a different in FPS, unless the Video had some RAM advantage.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: why no audio?
« Reply #29 on: January 16, 2007, 08:56:28 PM »
FPS is actually mostly determined by video size. So clearly a fullscreen video for the 320x240 screen of the iPod Video is going to be a LOT slower than the 176x132 (really 176x128 is what the video will be) screen on the Nano.

Plus it depends on whether you're using the coprocessor patch or not.
Logged

  • Print
Pages: 1 [2] 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  why no audio?
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.441 seconds with 17 queries.