|
#1
|
||||
|
||||
|
I've been exploring video encoding for my Samsung P3. There are many threads about the ways to get valid video files, but I think I can add this time a feedback from a Linux user.
I have used 8 encoding tools: Audio+video
I need the standalone audio encoders to create the audio tracks for the command-line x264 encoder which is a video only tool. MP4Box is used to join the audio and video tracks to create a final mp4 movie file. Working encoding combinations I have tried to comply to the MPEG4-SP and AVC supported profiles limits, to stay under the native display resolution (WQVGA), around 500Kbps video rate and 128Kbps CBR audio rate. Here are my working solutions list in a table format: Code:
+-----------+--------+--------+-----------+-----+-------+ | encoder | vcodec | acodec | container | ext | plays | +-----------+--------+--------+-----------+-----+-------+ | avidemux | MPEG4 | MP3 | AVI | AVI | Yes | | avidemux | XVID | AAC | AVI | AVI | Yes | | avidemux | XVID | MP3 | AVI | AVI | Yes | | ffmpeg | MPEG4 | AAC | MP4 | MP4 | Yes | | ffmpeg | MPEG4 | MP3 | AVI | AVI | Yes | | ffmpeg | X264 | AAC | MP4 | MP4 | Yes | | ffmpeg | XVID | AAC | MP4 | MP4 | Yes | | ffmpeg | XVID | MP3 | AVI | AVI | Yes | | handbrake | MPEG4 | AAC | MP4 | M4V | Yes | | handbrake | X264 | AAC | MP4 | M4V | Yes | | mencoder | MPEG4 | AAC | MP4 | MP4 | Yes | | mencoder | MPEG4 | MP3 | AVI | AVI | Yes | | mencoder | X264 | AAC | MP4 | MP4 | Yes | | mencoder | XVID | MP3 | AVI | AVI | Yes | | x264 | X264 | AAC | MP4 | MP4 | Yes | +-----------+--------+--------+-----------+-----+-------+
|
|
|
|||
|
|
|
#2
|
||||
|
||||
|
nice, thanks for the work!
I must admit that I always cheat and use the iPod Touch preset in Handbrake :P
__________________
The difference between genius and stupidity is that genius has its limits. - Albert Einstein check out my P3 group here! Thanks for making my P3 group the largest non-contest group on ABi!
|
|
#3
|
|||
|
|||
|
Sounds great, since I haven't been able to produce anything that works with neither x264 directly nor with ffmpeg (where the presets should actually be exactly the same as in x264) (just been using dumb Handbrake like most other people around here I assume...).
Could you please post at least your parameters if not your whole commandlines that worked?
|
|
#4
|
||||
|
||||
|
Welcome to abi tobiasmerlin,
Do you use a Samsung P3 only or some other portable video players too? I've set up a web page on my web site where you just fill a form and click to get a complete command-line. Please try it. It's a work in progress and I intend to add more options and encoders. |
|
#5
|
|||
|
|||
|
The only hardware player I have is the Samsung P3. For my atom netbook I just use the fastdecode tuning
![]() Since I know the options and what they do my interest is not so much in automatically generated commandlines, although your script seems to work quite nicely , but more in what specifically is needed for the P3. Because when I just use Baseline 3 profile and vbv limiters in x264 as suggested in numerous sources the P3 doesnt play it...Edit: One comment on your website: Why does it say NeroAac behind the aac option when it produces no NeroAacEnc commandline but just uses the aac encoder in ffmpeg (which is said to be even worse than faac)? Seems misleading. I would expect something like this: ffmpeg -i video audio.wav NeroAacEnc -if=audio.wav -of=audio.mp4 ffmpeg -i video -i audio.mp4 -map 0:0 -map 1:0 -acodec copy Last edited by tobiasmerlin; 12-14-2010 at 02:18 AM. |
|
#6
|
||||
|
||||
|
Quote:
encoder (ffmpeg/mencoder)
Or maybe I should change the label by script when the encoder is selected. Mencoder has a mp4 muxer issue, that gives a pretext to show the way to do audio and video separately. But ffmpeg alone can produce a complete file. So my idea was to show the simple way with ffmpeg and a more complex with mencoder providing 2 audio options for each encoder. 4 combinations with 2 buttons. It's difficult to balance simplicity and completion. Adding too much buttons and options would kill the purpose of this tool. Thank you for the feedback, it is always important to know how people read the UI you create. |
|
#7
|
||||
|
||||
|
Quote:
A complete command-line could be for a 4:3 mpg video to encode in avc+aac->mp4 at a 300kbps video bitrate and 128kbps audio bitrate: Quote:
|
![]() |
| Tags |
| encoding, linux, p3, samsung, video |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 09:44 AM.












, but more in what specifically is needed for the P3. Because when I just use Baseline 3 profile and vbv limiters in x264 as suggested in numerous sources the P3 doesnt play it...

Linear Mode
