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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th April 2012, 02:38   #21  |  Link
moonwander
Registered User
 
Join Date: Apr 2012
Posts: 7
Thank you for your reply.

I uploaded a 2 seconds test video, it's already around 10MB:
http://members.shaw.ca/fs1/elph300hs.MOV
moonwander is offline   Reply With Quote
Old 24th April 2012, 02:50   #22  |  Link
moonwander
Registered User
 
Join Date: Apr 2012
Posts: 7
command line log:

ffmpeg.exe -y -i elph300hs.MOV -async 1 -vcodec copy -acodec libvo_aacenc -ac 2 -ab 192000 elph300hs.mp4
ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 9 2012 20:29:24 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 46.100 / 51. 46.100
libavcodec 54. 14.101 / 54. 14.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 67.101 / 2. 67.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'elph300hs.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-04-24 01:30:11
Duration: 00:00:02.29, start: 0.000000, bitrate: 35886 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1920x1080, 34008 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
Metadata:
creation_time : 2012-04-24 01:30:11
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2012-04-24 01:30:11
strptime() unavailable on this system, cannot convert the date string.
Output #0, mp4, to 'elph300hs.mp4':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-04-24 01:30:11
encoder : Lavf54.3.100
Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuvj420p, 1920x1080, q=2-31, 34008 kb/s, 23.98 fps, 24k tbn, 24k tbc
Metadata:
creation_time : 2012-04-24 01:30:11
Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2 channels, s16, 192 kb/s
Metadata:
creation_time : 2012-04-24 01:30:11
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (pcm_s16le -> libvo_aacenc)
Press [q] to stop, [?] for help
frame= 55 fps=0.0 q=-1.0 Lsize= 9580kB time=00:00:02.25 bitrate=34844.2kbits/s
video:9523kB audio:54kB global headers:0kB muxing overhead 0.025042%
moonwander is offline   Reply With Quote
Old 24th April 2012, 02:59   #23  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
I tried the latest 32-bit static build at http://ffmpeg.zeranoe.com/builds/
No problems playing your sample with VLC and MPlayer after the conversion.

Which player did you try?
nm is offline   Reply With Quote
Old 24th April 2012, 03:03   #24  |  Link
moonwander
Registered User
 
Join Date: Apr 2012
Posts: 7
Quote:
Originally Posted by nm View Post
I tried the latest 32-bit static build at http://ffmpeg.zeranoe.com/builds/
No problems playing your sample with VLC and MPlayer after the conversion.

Which player did you try?
You are fast!!

It plays on PC, original or converted. Problem is playing with Sony Bluray player, I think it's similar to OP's problem, he was playing with PS3.

The Bluray player can play video shot by Sony Nex-5N or Nikon AW-100, just can't handle the videos from Canon.
moonwander is offline   Reply With Quote
Old 24th April 2012, 03:38   #25  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by moonwander View Post
It plays on PC, original or converted. Problem is playing with Sony Bluray player, I think it's similar to OP's problem, he was playing with PS3.
This is also something you could've mentioned right in the beginning...

As Audionut mentioned earlier in this thread, the H.264 streams in these Canon files are Level 5.0, which is probably why Sony's players don't like them. You could try cheating the player by changing the level flag to 4.1 with roozhou's modified ffmpeg. It's not guaranteed to work though.

Re-encoding is the way to go for better compatibility.

Last edited by nm; 24th April 2012 at 05:27.
nm is offline   Reply With Quote
Old 24th April 2012, 05:07   #26  |  Link
moonwander
Registered User
 
Join Date: Apr 2012
Posts: 7
Thank you nm!

Re-encoding is too time consuming.

I tried to trick the level with -vbsf h264_changesps=level=30, ffmpeg complains...


ffmpeg.exe -y -i elph300hs.MOV -async 1 -vcodec copy -acodec libvo_aacenc -ac 2 -ab 192000 -vbsf h264_changesps=level=30 elph300hs_41.mp4
ffmpeg version N-39664-g6bfb304 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 9 2012 20:29:24 with gcc 4.6.3
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 46.100 / 51. 46.100
libavcodec 54. 14.101 / 54. 14.101
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 67.101 / 2. 67.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'elph300hs.MOV':
Metadata:
major_brand : qt
minor_version : 537331968
compatible_brands: qt CAEP
creation_time : 2012-04-24 01:30:11
Duration: 00:00:02.29, start: 0.000000, bitrate: 35886 kb/s
Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuvj420p, 1920x1080, 34008 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
Metadata:
creation_time : 2012-04-24 01:30:11
Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s16, 1536 kb/s
Metadata:
creation_time : 2012-04-24 01:30:11
Unknown bitstream filter h264_changesps=level=30
moonwander is offline   Reply With Quote
Old 24th April 2012, 05:25   #27  |  Link
moonwander
Registered User
 
Join Date: Apr 2012
Posts: 7
ignore my previous post. The trick worked!

Have to download the hacked version of ffmpeg, then use it against the output of previous ffmpeg. It's still much faster than re-encoding! Thanks a lot!!!
moonwander is offline   Reply With Quote
Reply

Tags
canon, ps3, remux

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 +1. The time now is 11:41.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.