Pb seeking after encoding
Hello, I used to convert my records using : mencoder input.m2ts -oac mp3lame -lameopts cbr=128 -ovc copy -o output I can seek in input file but today something has changed and I can't seek in my output file. I get the error message below. What can I change in my convert options to solve this ? Thanks Chocotof -------------------------------------------------------------------------------------------------------------- Error message -------------------------------------------------------------------------------------------------------------- Playing output libavformat version 53.21.1 (external) Mismatching header version 53.19.0 AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [] 720x576 24bpp 25.000 fps 780.5 kbps (95.3 kbyte/s) Clip info: Software: MEncoder svn r34540 (Ubuntu), built with gcc-4.6 Load subtitles in ./ Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vdpau] Error when calling vdp_device_create_x11: 1 [VO_XV] It seems there is no Xvideo support for your video card available. [VO_XV] Run 'xvinfo' to verify its Xv support and read [VO_XV] DOCS/HTML/en/video.html#xv! [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers. [VO_XV] Try -vo x11. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000) Selected audio codec: [ffmp3float] afm: ffmpeg (FFmpeg MPEG layer-3 audio) ========================================================================== AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 [h264 @ 0xb64057c0]mmco: unref short failure Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. VO: [x11] 720x576 => 1048x576 Planar YV12 [zoom] [swscaler @ 0xb6bb6a20]using unscaled yuv420p -> bgra special converter A: 0.2 V: 0.0 A-V: 0.203 ct: 0.000 2/ 2 ??% ??% ??,?% 0 0 [h264 @ 0xb64057c0]mmco: unref short failure [h264 @ 0xb64057c0]mmco: unref short failure A: 0.8 V: 100.8 A-V:-100.045 ct: -0.100 2521/2521 ??% ??% ??,?% 0 0 --------------------------------------------------------------------------------------------------------------------------------- mplayer -identify input.m2ts gives : --------------------------------------------------------------------------------------------------------------------------------- Playing video. fopen Vobsub file failed: No such file or directory libavformat version 53.21.1 (external) Mismatching header version 53.19.0 TS file format detected. PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) VIDEO H264(pid=3040) AUDIO MPA(pid=3047) SUB Teletext(pid=3048) PROGRAM N. 4068 ID_VIDEO_ID=3040 ID_AUDIO_ID=3047 ID_AID_3047_LANG=qad ID_SUBTITLE_ID=3048 ID_SID_3048_LANG=fra ID_AUDIO_ID=3041 ID_AID_3041_LANG=fra ID_AUDIO_ID=3042 ID_AID_3042_LANG=eng PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) FPS seems to be: 25.000000 Load subtitles in ./ ID_FILENAME=video ID_DEMUXER=mpegts ID_VIDEO_FORMAT=0x10000005 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=80 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=0 ID_AUDIO_NCH=0 ID_START_TIME=46188.28 ID_LENGTH=0.00 ID_SEEKABLE=1 ID_CHAPTERS=0 Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [vdpau] Error when calling vdp_device_create_x11: 1 [VO_XV] It seems there is no Xvideo support for your video card available. [VO_XV] Run 'xvinfo' to verify its Xv support and read [VO_XV] DOCS/HTML/en/video.html#xv! [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers. [VO_XV] Try -vo x11. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 ========================================================================== Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, floatle, 128.0 kbit/4.17% (ratio: 16000->384000) ID_AUDIO_BITRATE=128000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio) ========================================================================== AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample) ID_AUDIO_CODEC=ffmp2float Starting playback... Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.82:1 - prescaling to correct movie aspect. ID_VIDEO_ASPECT=1.8182 VO: [x11] 720x576 => 1048x576 Planar YV12 [zoom] [swscaler @ 0xb6be8a20]using unscaled yuv420p -> bgra special converter A:46188.5 V:46189.3 A-V: -0.765 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C) A:46188.8 V:46189.8 A-V: -0.962 ct: -0.028 13/ 13 ??% ??% ??,?% 10 0 PROGRAM_ID=4068 (0xFE4), PMT_PID: 140(0x8C)
Christophe Cauwet <c.cauwet <at> free.fr> writes:
I used to convert my records using :
mencoder input.m2ts -oac mp3lame -lameopts cbr=128 -ovc copy -o output
Unrelated to your report: Please note that MEncoder is not an actively maintained application for several years and that your command line looks as if what you want works fine with FFmpeg (which is an actively maintained application).
Software: MEncoder svn r34540 (Ubuntu), built with gcc-4.6
Afaict, this is an intentionally broken version of MEncoder that we cannot support here, please recompile (or use ffmpeg from https://ffmpeg.org/ ). Carl Eugen
participants (2)
-
Carl Eugen Hoyos -
Christophe Cauwet