android
Prev Previous Post   Next Post Next
  #1  
Old 11-29-2010, 09:02 PM
meetooman's Avatar
meetooman meetooman is offline
Member
 
Join Date: Oct 2009
Posts: 488
Default Video encoding for the Samsung YP-P3 on Linux

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
  • Avidemux 2.5.4
  • ffmpeg SVN-r25702
  • Handbrake 0.9.4+r3549
  • Mencoder dev-SVN-r31930
Audio (aac)
  • Faac 1.28
  • neroAacEnc 1.5.3.0
Video (H.264)
  • x264 0.107.x
Multiplexer
  • MP4Box (from GPAC 0.4.5)

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   |
+-----------+--------+--------+-----------+-----+-------+
Remarks
  1. As Mencoder has trouble creating H.264/AVC valid mp4 files; MP4Box and the external audio encoders were also used to help for AVC/mp4 file. MPEG4/XVID videos entirely made by Mencoder are fine.
  2. ffmpeg provides some libx264 presets. But its baseline one was not good for the P3. So I relied on manual libx264 options.
  3. I didn't manage to get a single H.264+AVI file that the Samsung P3 could play.
  4. I've also failed trying to get any playable H.264/AVC video file from Avidemux (whatever the mp4 or avi container).
Reply With Quote

Advertisement [Remove Advertisement]

 

Tags
encoding, linux, p3, samsung, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 03:11 PM.