Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#1 | Link |
Registered User
Join Date: Dec 2008
Posts: 6
|
Cannot find codec matching selected -vo and video format 0x10000002
Hello there guru's
![]() I need some help with mplayer, I'm a windows user in process of migration to ubuntu 10.04. Go slow on me ![]() Here is a command I'm trying Code:
mplayer ./source.mpg -af resample=48000:0:0,volnorm=1:0.25 -ao pcm:file=./source.mpg_temp.wav -vc dummy -vo null Here is the error I'm getting in the log file just after the above is executed and my output is without sound. Code:
Cannot find codec matching selected -vo and video format 0x10000002. |
![]() |
![]() |
![]() |
#2 | Link | ||
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,642
|
Quote:
Try this instead: Quote:
|
||
![]() |
![]() |
![]() |
#3 | Link | |
Registered User
Join Date: Dec 2008
Posts: 6
|
Ok i changed to
Code:
mplayer ./source.mpg -af resample=48000:0:0,volnorm=1:0.25 -ao pcm:fast:file=./source.mpg_temp.wav -vc null -vo null Code:
************************************************ **** Your system is too SLOW to play this! **** ************************************************ Possible reasons, problems, workarounds: - Most common: broken/buggy _audio_ driver - Try -ao sdl or use the OSS emulation of ALSA. - Experiment with different values for -autosync, 30 is a good start. - Slow video output - Try a different -vo driver (-vo help for a list) or try -framedrop! - Slow CPU - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all. - Broken file - Try various combinations of -nobps -ni -forceidx -mc 0. - Slow media (NFS/SMB mounts, DVD, VCD etc) - Try -cache 8192. - Are you using -cache to play a non-interleaved AVI file? - Try -nocache. Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html. Code:
root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Extreme CPU Q9300 @ 2.53GHz stepping : 10 cpu MHz : 1600.000 cache size : 6144 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 Quote:
Any other recommendations ? |
|
![]() |
![]() |
![]() |
#4 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,642
|
Quote:
The question is, did it produce an audio file or not? Can you hear the audio with this command: Code:
mplayer ./source.mpg -af resample=48000:0:0,volnorm=1:0.25 -vc null -vo null |
|
![]() |
![]() |
![]() |
#5 | Link | ||
Registered User
Join Date: Dec 2008
Posts: 6
|
Quote:
Here are the next commands being executed. Code:
neroAacEnc -br 48000 -he -if ./source.mpg_temp.wav -of ./source.mpg_temp.mp4 MP4Box -add source.mpg_temp.264#video:fps=25.000 source.mpg.m4v MP4Box -add source.mpg_temp.mp4#audio source.mpg.m4v MP4Box -inter 500 -itags album=na:artist=na:comment=na:created=na:name=na -lang Hindi source.mpg.m4v Quote:
Code:
junaid@ubuntu:~/Desktop/conversion/new$ mplayer ./source.mpg -af resample=48000:0:0,volnorm=1:0.25 -vc null -vo null MPlayer SVN-r32011-4.4.3 (C) 2000-2010 MPlayer Team Playing ./source.mpg. MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 6000.0 kbps (750.0 kbyte/s) ========================================================================== Forced video codec: null Opening video decoder: [null] Null video decoder Movie-Aspect is undefined - no prescaling applied. VO: [null] 720x576 => 720x576 Planar YV12 Selected video codec: [null] vfm: null (NULL codec (no decoding!)) ========================================================================== ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... A: 12.6 V: 12.6 A-V: 0.005 ct: -0.267 311/311 0% 0% 0.7% 0 0 MPlayer interrupted by signal 2 in module: sleep_timer A: 12.6 V: 12.6 A-V: 0.004 ct: -0.267 312/312 0% 0% 0.7% 0 0 Exiting... (Quit) |
||
![]() |
![]() |
![]() |
#6 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,642
|
Quote:
I couldn't reproduce the issue though; both audio and video played back fine when using your commands. Let's take one step at a time: 1. Can you hear audio when playing back the source.mpg_temp.mp4 file produced by neroAacEnc? If not, the problem is there. 2. If the AAC MP4 file is fine but the resulting M4V isn't, what does MPlayer print to the terminal when you try playing the M4V file? |
|
![]() |
![]() |
![]() |
#7 | Link | ||
Registered User
Join Date: Dec 2008
Posts: 6
|
Quote:
Quote:
Last edited by ltd82; 24th August 2010 at 20:05. |
||
![]() |
![]() |
![]() |
#8 | Link | |
Registered User
Join Date: Dec 2008
Posts: 6
|
Quote:
Code:
mplayer source.mpg.m4v MPlayer SVN-r32011-4.4.3 (C) 2000-2010 MPlayer Team Playing source.mpg.m4v. libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 VIDEO: [H264] 576x432 24bpp 25.000 fps 593.0 kbps (72.4 kbyte/s) Clip info: major_brand: M4V minor_version: 0 compatible_brands: isomavc1M4V mp42 album: na artist: na comment: na date: na title: na ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== Audio: no sound Starting playback... Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [vdpau] 576x432 => 576x432 Planar YV12 V: 19.0 0/ 0 8% 5% 0.0% 0 0 Exiting... (Quit) Code:
MP4Box -add source.mpg_temp.264#video:fps=25.000 source.mpg.m4v MP4Box -add source.mpg_temp.mp4#audio source.mpg.m4v Code:
Setting up iTunes/iPod file... Forcing AVC/H264 SAR to 1:1... Saving to source.mpg.m4v: 0.500 secs Interleaving *** buffer overflow detected ***: MP4Box terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0xbbd390] /lib/tls/i686/cmov/libc.so.6(+0xe12ca)[0xbbc2ca] /usr/local/lib/libgpac.so(chpl_New+0x42)[0xe0ec62] /usr/local/lib/libgpac.so(+0x1dcd5d)[0xe27d5d] /usr/local/lib/libgpac.so(udta_Read+0x4a)[0xe129ba] /usr/local/lib/libgpac.so(+0x1dce99)[0xe27e99] /usr/local/lib/libgpac.so(gf_isom_read_box_list+0x27)[0xe28317] /usr/local/lib/libgpac.so(moov_Read+0x20)[0xe09e90] /usr/local/lib/libgpac.so(+0x1dce99)[0xe27e99] /usr/local/lib/libgpac.so(gf_isom_parse_root_box+0x3a)[0xe2841a] /usr/local/lib/libgpac.so(gf_isom_parse_movie_boxes+0x7d)[0xe2f31d] /usr/local/lib/libgpac.so(gf_isom_open_file+0xd1)[0xe2f691] /usr/local/lib/libgpac.so(gf_media_import+0xb33)[0xeb77b3] MP4Box[0x8061fa7] MP4Box[0x804f477] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xaf1bd6] MP4Box[0x804d261] |
|
![]() |
![]() |
![]() |
#9 | Link | |
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,642
|
Quote:
You could try to build gpac yourself. There are some instructions here: http://ubuntuforums.org/showthread.php?t=1215281 Or mux with ffmpeg: Code:
ffmpeg -i input.264 -i input.mp4 -vcodec copy -acodec copy output.mp4 Last edited by nm; 25th August 2010 at 11:00. |
|
![]() |
![]() |
![]() |
Tags |
mplayer, ubuntu |
Thread Tools | Search this Thread |
Display Modes | |
|
|